* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Times New Roman', Times, serif;
    background-color: black;
    color: white;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 58px;
    position: sticky;
    background-color: black;
    border-bottom: 2px solid grey;
}

.nav_logo {
    padding-left: 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 22px;
}

.nav_logo span {
    color: rgb(125, 125, 125);
}

.nav_link {
    padding-right: 15px;
}

.nav_link ul {
    display: flex;
}

.nav_link ul li {
    padding: 13px 30px 13px 0;
    font-size: 20px;
    list-style: none;
}

.nav_link ul li a {
    text-decoration: none;
    color: white;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
}

.nav_link ul li a:hover {
    color: rgb(133, 188, 188);
    text-decoration: underline;
    font-size: 22px;
}

.start {
    display: flex;
    justify-content: space-between;
    height: 750px;
    align-items: center;
    border-bottom: 2px solid grey;
}

.intro {
    height: 750px;
    width: 60%;
    padding-right: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    letter-spacing: 1px;
}

.intro h3 span {
    color: rgb(148, 146, 146);
}

.intro p {
    font-size: 22px;
    padding: 2px 20px 0 0;
}

.intro h3 {
    padding: 0 20px 2px 0;
    font-size: 40px;
}

.btn {
    padding-top: 10px;
}

.btn button {
    background-color: rgb(58, 57, 57);
    color: rgb(255, 255, 255);
    border: none;
    font-size: 15px;
    box-shadow: 0 0 10px rgba(62, 145, 168, 0.8);
    cursor: pointer;
    font-weight: bolder;
    outline: none;
    padding: 3px 8px;
    text-align: center;
    height: 44px;
    border-radius: 8px;
    border: 3px solid rgb(91, 89, 89);
}

.btn button:hover {
    box-shadow: 0 0 18px rgba(88, 135, 172, 0.8);
    background-color: rgb(28, 26, 26);
    color: rgb(103, 108, 106);
    font-size: 15px;
    transition: 0.6s;
}


.intro h3 span {
    font-size: 34px;
}

.image {
    width: 40%;
    height: 750px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image img {
    border-radius: 50%;
    height: 290px;
    width: 290px;
    border: 3px solid rgba(111, 140, 148, 0.2);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(88, 135, 172, 0.8);
}



.about-section {
    padding-top: 22px;
    gap: 10px;
    height: auto;
    border-bottom: 2px solid grey;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 25px;
}

.about-section h2 {
    font-size: 32px;
    padding: 0 24px;
    color: rgb(148, 146, 146);
    letter-spacing: 1px;
}

.about-section li {
    padding: 8px 0;
    margin: 5px 34px;
    font-size: 22px;
}

.skill-section {
    padding-top: 18px;
    padding-bottom: 18px;
}

.section {
    display: flex;
    justify-content: space-between;
    height: 450px;
    padding-bottom: 25px;
    border-bottom: 2px solid grey;
}

.skill-section h2 {
    padding-left: 24px;
    font-size: 32px;
    padding-bottom: 15px;
    color: rgb(148, 146, 146);
    letter-spacing: 1px;
}

.section h3 {
    padding-top: 10px;
    justify-content: center;
    display: flex;
    font-size: 25px;
    letter-spacing: 1px;
}

.technical-skill {
    width: 50%;
    margin-top: 10px;
    margin: 10px 20px;
    border: 2px solid grey;
    border-radius: 6px;
    box-shadow: 0 0 0 2px rgba(62, 145, 168, 0.6);
}

.technical-skill:hover {
    box-shadow: 0 0 18px rgba(62, 145, 168, 0.6);
    transform: scale(1.04);
    transition: 0.5s;
}

.soft-skill {
    width: 50%;
    margin: 20px;
    box-shadow: 0 0 0 2px rgba(62, 145, 168, 0.6);
    margin-top: 10px;
    border: 2px solid grey;
    border-radius: 6px;
}

.soft-skill:hover {
    box-shadow: 0 0 18px rgba(62, 145, 168, 0.6);
    transform: scale(1.04);
    transition: 0.5s;
}

.section li {
    text-decoration: none;
    list-style: none;
    margin: 14px;
    font-size: 18px;
    cursor: pointer;
    padding: 6px 15px;
    border-radius: 6px;
    border: 1px solid grey;
    box-shadow: 0 0 0 2px rgba(62, 145, 168, 0.2);
}

.section li:hover {
    box-shadow: 0 0 15px rgba(62, 145, 168, 0.6);
}

.certificate {
    border-bottom: 2px solid grey;
    padding-bottom: 25px;
}

.certificate h2 {
    font-size: 32px;
    color: rgb(148, 146, 146);
    padding-left: 24px;
    letter-spacing: 1px;
}

.section1 {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    flex-direction: row;
}

.section2 {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    flex-direction: row;
}

.box {
    border: 2px solid grey;
    padding: 15px;
    border-radius: 12px;
    width: 250px;
    height: auto;
    box-shadow: 0 0 13px rgba(88, 135, 172, 0.4);
    transition: transition 0.8s, box-shadow 0.8s;
}

.box:hover{
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(88, 135, 172, 0.8);
}

.box img {
    cursor: pointer;
    display: block;
    margin: 0 auto;
    justify-content: center;
    border-radius: 5px;
    border: 1px solid rgb(105, 103, 103);
    width: 210px;
    height: auto;
    align-items: center;
    box-shadow: 0 0 13px rgba(88, 135, 172, 0.4);
}

.box img:hover {
    width: 220px;
    height: auto;
    box-shadow: 0 0 18px rgba(62, 145, 168, 0.6);
    transform: scale(1);
    transition: 0.8s;
}


.box p {
    padding: 14px;
    text-align: center;
    font-size: 18px
}

.contact-section {
    padding-top: 20px;
    letter-spacing: 1px;
    padding-bottom: 25px;
    border-bottom: 2px solid grey;
}

.contact-section h2 {
    padding-left: 24px;
    font-size: 34px;
    color: rgb(148, 146, 146);
}

section {
    align-items: center;
    justify-content: center;
    padding-top: 20px;
}


section h3 {
    font-size: 28px;
    text-align: center;
    padding-top: 20px;
}

section p {
    font-size: 20px;
    text-align: center;
    padding-top: 10px;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    flex-direction: row;
    gap: 40px;
    padding-bottom: 20px;
}

.social-links img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgb(53, 53, 53);
}

.social-links a img:hover {
    box-shadow: 0 0 15px rgba(62, 145, 168, 0.8);
    height: 55px;
    width: 55px;
    transition: 0.5s ease-in-out;
    transform: scale(1.15);
}

footer {
    padding: 10px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 3px;
}


/* ---------- MOBILE DEVICES ---------- */
@media (max-width: 480px) {

    .nav_logo {
        display: none;
    }

    .navbar {
        flex-direction: column;
        height: auto;
        padding: 8px 0;
    }

    .nav_link {
        width: 100%;
        display: flex;
        justify-content: center;
        padding-right: 0px;
    }

    .nav_link ul {
        flex-direction: row;
        /* Keep in row */
        justify-content: center;
        flex-wrap: nowrap;
        padding: 0;
        margin: 0;
    }

    .nav_link ul li {
        padding: 6px 8px;
        font-size: 14px;
    }

    .start {
        flex-direction: column;
        height: auto;
        text-align: center;
        padding: 20px;
    }

    .image,
    .intro {
        width: 100%;
        height: auto;
    }

    .intro {
        padding-right: 0;
        padding-top: 14px;
    }

    .image img {
        height: 140px;
        width: 140px;
    }

    .intro h3 {
        font-size: 20px;
        text-align: center;
    }

    .intro h3 span {
        font-size: 24px;
    }

    .intro p {
        font-size: 14px;
        padding: 0 10px;
    }

    .btn button {
        font-size: 13px;
        padding: 6px 12px;
    }

    .about-section li {
        font-size: 15px;
        padding: 5px 15px;
        margin: 5px 0;
    }

    .section {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }
    
    .about-section h2{
      font-size: 22px;
    }
    
    .skill-section h2{
      font-size: 22px;
    }

    .technical-skill,
    .soft-skill {
        width: 90%;
        margin: 10px auto;
    }

    .section li {
        font-size: 15px;
    }

    .section1,
    .section2 {
        flex-direction: column;
        align-items: center;
    }
    
    .certificate h2{
      font-size: 22px;
    }

    .box {
        width: 90%;
        margin-bottom: 20px;
    }

    .box img {
        width: 90%;
        height: auto;
        max-width: 200px;
    }

    .box p {
        font-size: 16px;
        padding: 10px;
    }

    .social-links {
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .contact-section h2{
      font-size: 22px;
    }
    
    .contact-section h3{
      font-size: 18px;
    }
    
    .contact-section p{
      font-size: 13px;
    }

    footer {
        font-size: 12px;
        padding: 15px;
    }
}

/* ---------- TABLET DEVICES ---------- */
@media (max-width: 1024px) and (min-width: 481px) {

    .nav_logo {
        display: none;
    }

    .navbar {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
    }

    .nav_link {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .nav_link ul {
        flex-direction: row;
        /* Keep in row */
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav_link ul li {
        padding: 10px;
    }

    .start {
        flex-direction: column;
        height: auto;
        text-align: center;
        padding: 30px;
    }

    .image,
    .intro {
        width: 100%;
        height: auto;
    }

    .image img {
        height: 180px;
        width: 180px;
    }

    .intro h3 {
        font-size: 24px;
    }

    .intro h3 span {
        font-size: 28px;
    }

    .intro p {
        font-size: 15px;
        padding: 0 20px;
    }

    .btn button {
        font-size: 14px;
        padding: 6px 14px;
    }

    .about-section li {
        font-size: 16px;
        padding: 6px 20px;
        margin: 5px 0;
    }

    .section {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .technical-skill,
    .soft-skill {
        width: 85%;
        margin: 10px auto;
    }

    .section li {
        font-size: 16px;
    }

    .section1,
    .section2 {
        flex-direction: column;
        align-items: center;
    }

    .box {
        width: 80%;
        margin-bottom: 20px;
    }

    .box img {
        width: 90%;
        height: auto;
        max-width: 220px;
    }

    .box p {
        font-size: 17px;
        padding: 12px;
    }

    .social-links {
        flex-direction: row !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    footer {
        font-size: 18px;
        padding: 20px;
    }
}




