@import url('https://fonts.googleapis.com/css2?family=Forum&family=Maven+Pro&family=Work+Sans&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

header.nav-container {
    width: 100vw;
    height: 57px;
    margin-inline: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-block: 1rem;
    z-index: 999;
    background-color: rgb(96, 55, 27);
    color: white;
}

header.nav-container .name-profile p {
    font-family: 'Work Sans', sans-serif;
    font-size: 20px;
    line-height: 2rem;
}

header.nav-container .nav-list ul {
    padding-left: 0;
    display: flex;
    justify-content: center;
    gap: 2rem 5rem;
}

header.nav-container .nav-list li {
    list-style-type: none;
}

header.nav-container .nav-list li a {
    text-decoration: none;
    font-family: 'Forum', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: white;
    transition: all .4s ease;
}

header.nav-container .nav-list li:hover a {
    color: rgb(176, 151, 133);
}

main #about {
    display: flex;
    flex-direction: row;
    padding-top: 50px;
    margin-bottom: 50px;
    background-color: white;
}

main #about .about-content {
    padding: 0px 0px 0px 50px;
    text-align: justify;
    padding-right: 50px;
}

main #about .about-content h1 {
    font-family: 'Work Sans', sans-serif;
    font-size: 50px;
    margin: 0;
}

main #about .about-content p {
    font-family: 'Forum', sans-serif;
    line-height: 1.6em;
    font-size: 18px;
}

main #about aside {
    margin-right: 50px;
}

main #about aside .card {
    padding: 0px 50px 0px 50px;
    box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    background-color: rgb(242,237,233);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

main #about aside .card .my-photo {
    max-height: 260px;
    object-fit: cover;
}

main #about aside .card .my-name {
    width: 300px;
}

main #about aside .card .my-name h1 {
    font-family: 'Work Sans', sans-serif;
    font-size: 27px;
    text-align: center;
}

main #about aside .card .line {
    border-top: solid rgb(96, 55, 27);
    width: 110px;
}

main #about aside .card .position {
    width: auto;
}

main #about aside .card .position p {
    text-align: center;
    margin-bottom: 40px;
}

main #about aside .card .position span {
    font-family: 'Maven Pro', sans-serif;
    letter-spacing: 0.25em;
    font-size: large;
}

aside .card .social-media {
    position: absolute;
    top: 100%;
    width: 100%;
    background-color: white;
    box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 0px 0px 5px 5px;
    border-top: none;
}

aside .card .social-media ul {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 0;
}

aside .card .social-media ul li {
    list-style-type: none;
}

aside .card .social-media ul li a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 25px;
}

.brown-light {
    background-color: rgb(242,237,233);
    display: flex;
    flex-direction: row;
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 60px;
    padding-right: 40px;
}

.brown-light .content {
    display: flex;
    flex-direction: column;
    width: 50%;
    gap: 0;
}

.brown-light h1 {
    font-family: 'Work Sans', sans-serif;
    color: rgb(96, 55, 27);
    font-size: 50px;
    width: 50%;
    margin: 0;
    margin-top: 10px;
}

.brown-light .content .head {
    font-family: 'Work Sans', sans-serif;
    font-size: 24px;
    color: rgb(96, 55, 27);
}

.brown-light .content .text {
    font-family: 'Forum', sans-serif;
    color: rgb(96, 55, 27);
    font-size: 20px;
    line-height: 1.5em;
    text-align: left;
}

#certifications {
    display: flex;
    flex-direction: row;
    padding-top: 50px;
    padding-bottom: 38px;
    padding-left: 60px;
    padding-right: 20px;
    background-color: white;
}

#certifications h1 {
    font-family: 'Work Sans', sans-serif;
    font-size: 50px;
    width: 45%;
    margin: 0;
}

#certifications .certif-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

#certifications .certif-content section {
    display: flex;
    flex-direction: row;
    width: 100%;
}

#certifications .certif-content section .text {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

#certifications .certif-content section .text .certif-name {
    font-family: 'Work Sans', sans-serif;
    font-size: 24px;
    margin: 0;
    padding: 0;
}

#certifications .certif-content section .text .certif-detail {
    font-family: 'Forum', sans-serif;
    font-size: 20px;
    padding: 0;
    margin: 0;
}

#certifications .certif-content section .other, .brown-light .content section .other {
    font-family: 'Work Sans', sans-serif;
    font-size: 24px;
    margin: 0;
    padding: 0;
    padding-left: 68px;
}

#projects .content .other {
    padding: 0;
}

.brown-light .content section .other {
    color: rgb(96, 55, 27);
    margin-left: 0;
    margin-top: 20px;
}

#certifications .certif-content section .other a, .brown-light .content section .other a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 25px;
}

#certifications .certif-content section .logo {
    margin-right: 20px;
}

#certifications .certif-content section .logo img {
    height: 48px;
    width: 48px;
}

#certifications .certif-content section .show {
    width: 100px;
    text-decoration: none;
    padding: 6px 20px;
    font-family: 'Work Sans', sans-serif;
    font-size: 18px;

    border: 3px solid black;
    color: black;
    border-radius: 1.6rem;
    cursor: pointer;
    transition: all .4s ease;

    display: flex;
    justify-content: center;
}

#certifications .certif-content section .show:hover {
    background-color: rgb(242,237,233);
}

.brown-light .content section .show {
    width: 100px;
    text-decoration: none;
    padding: 6px 20px;
    font-family: 'Work Sans', sans-serif;
    font-size: 18px;

    border: 3px solid rgb(96, 55, 27);;
    color: rgb(96, 55, 27);;
    border-radius: 1.6rem;
    cursor: pointer;
    transition: all .4s ease;

    display: flex;
    justify-content: center;
}

.brown-light .content section .show:hover {
    background-color: rgb(255, 255, 255);
}

#projects {
    padding-bottom: 38px;
}

#projects .content {
    display: flex;
    flex-direction: column;
}

#contact {
    background-color: rgb(96, 55, 27);
    padding: 50px 40px 38px 60px;
    display: flex;
    flex-direction: row;
}

#contact .contact-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

#contact h1 {
    margin: 0;
    font-family: 'Work Sans', sans-serif;
    color: white;
    font-size: 50px;
    width: 50%;
}

#contact p span {
    margin: 0;
    font-family: 'Forum', sans-serif;
    font-size: 22px;
    color: white;
    line-height: 2em;
}

#contact .contact-content .social-media ul {
    display: flex;
    flex-flow: row;
    gap: 2rem;
    padding: 0;
}

#contact .contact-content .social-media ul li {
    list-style-type: none;
}

#contact .contact-content .social-media ul li a {
    text-decoration: none;
    color: white;
    font-size: 25px;
}

#contact .contact-content p.location {
    margin-top: 5px;
}

#contact .contact-content p.location span {
    margin: 0;
    font-family: 'Forum', sans-serif;
    color: white;
    font-size: 25px;
    line-height: 1.5em;
}

footer .bottom {
    display: flex;
    justify-content: center;
    height: auto;
    width: 100%;
    background-color: white;
}

footer .bottom p {
    font-family: 'Work Sans', sans-serif;
    color: rgb(96, 55, 27);
    font-size: 18px;
    margin: 14px 0px;
}

@media screen and (max-width: 1300px){
    header.nav-container {
        flex-direction: column;
        height: auto;
        padding: 25px;
        width: 100vw;
    }

    header.nav-container .name-profile p {
        text-align: center;
    }

    header.nav-container .nav-list ul {
        flex-wrap: wrap;
        column-gap: .5rem;
        display: flex;
        justify-content: center;
        gap: 2rem 3rem;
    }

    main {
        width: 100vw;
    }

    main div#about {
        flex-direction: column;
        margin-left: 30px;
        margin-right: 30px;
        gap: 0;
        padding-right: 0;
        padding-left: 0;
    }

    main #about aside {
        margin-right: 0;
    }

    main #about aside .card {
        box-shadow: none;
    }

    main #about aside .card .social-media {
        box-shadow: -0.5px 0.5px 0.5px rgba(0, 0, 0, 0.2);
    }

    main #about .about-content {
        padding: 0;
    }
    
    .brown-light {
        display: flex;
        flex-direction: column;
        margin: 78px 0px 0px 0px;
        padding: 30px;
    }

    .brown-light .content {
        width: 100%;
    }

    .brown-light h1 {
        font-size: 40px;
    }

    #certifications {
        display: flex;
        flex-direction: column;
        width: 100vw;
        padding-left: 30px;
        padding-right: 30px;
    }

    #certifications h1 {
        padding-bottom: 24px;
        width: min-content;
        font-size: 40px;
    }

    #contact {
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding-left: 30px;
        padding-right: 30px;
        padding-top: 30px;
    }

    #contact .contact-content {
        gap: 1em;
    }

    #contact .contact-content p {
        margin: 0;
    }

    #contact h1 {
        font-size: 40px;
    }

    footer .bottom p {
        font-size: 17px;
    }
}

@media screen and (max-width: 600px){
    header.nav-container {
        width: 100vw;
    }

    header.nav-container .name-profile p {
        margin: 20px 0px;
        margin-top: 0;
    }

    header.nav-container .nav-list ul {
        margin: 16px 0px;
        margin-bottom: 0;
    }

    main #about aside .card img {
        width: 130px;
    }

    main #about aside .card .my-name h1 {
        font-size: 16px;
    }

    main #about aside .card .line {
        width: 70px;
    }

    main #about aside .card .position span {
        font-size: 15px;
    }

    .brown-light h1 {
        font-size: 34px;
    }

    #certifications h1 {
        font-size: 34px;
    }

    #contact h1 {
        font-size: 34px;
    }

    #contact p span {
        font-size: 15px;
    }

    #contact .contact-content p.location span {
        font-size: 18px;
    }

    footer .bottom p {
        font-size: 15px;
    }
}

@media screen and (max-width: 300px) {
    header.nav-container {
        width: 100vw;
    }
    .brown-light {
        width: 100vw;
    }
    #contact {
        width: 100vw;
    }
    footer {
        width: 100vw;
    }
}