*,
*::after,
*::before {
    margin: 0;
    box-sizing: border-box;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    accent-color: green;
    scroll-behavior: smooth;
}

*::selection {
    background: rgba(0, 128, 0, 0.368);
}

body {
    width: 100vw;
}


/* header */

header {
    height: calc(100vh + 80px);
    background-image: url("img/panda.png");
    background-size: cover;
}

header nav {
    width: 100%;
    display: flex;
    justify-content: right;
    padding: 20px;
    gap: 40px;
}

header nav a {
    text-decoration: none;
    color: white;
    font-size: 20px;
}

header .name {
    color: white;
    width: 100%;
    text-align: center;
    margin-top: 35vh;
    font-size: 66px;
}

header .socials {
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 20px;
    bottom: 20px;
    gap: 10px;
    z-index: 100;
}

header .socials a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: black;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 0 10px black;
}

header .socials a img {
    width: 30px;
}


/* main */

main {
    min-height: 100vh;
}

main section {
    display: flex;
    position: relative;
    justify-content: space-evenly;
    gap: min(120px, 5vw);
    padding: 80px min(120px, 5vw);
    flex-wrap: nowrap;
}

main section::before {
    position: absolute;
    content: '';
    background-color: #aaa;
    height: 1px;
    width: 80%;
    left: 10%;
    top: 10px;
}


/* main section>div:first-child {
    padding: 80px 40px 80px 80px;
}

main section>div:last-child {
    padding: 80px 80px 80px 40px;
} */

main section .data {
    /* flex: 1; */
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
}

main section .title {
    position: relative;
    font-size: 38px;
}

main section .data .title:after {
    content: '';
    background: green;
    opacity: 0.4;
    position: absolute;
    bottom: -5px;
    width: 120px;
    height: 20px;
    left: -10px;
}

main section .subtitle {
    position: relative;
    font-size: 26px;
    color: green;
    /* padding: 0 60px; */
}

main section .info {
    line-height: 28px;
    /* padding: 0 60px; */
    font-size: 22px;
    font-weight: 300;
}

main section .image {
    /* flex: 1; */
    display: flex;
    justify-content: center;
}

main section .image img {
    height: min(400px, 80vw);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
}

main #about {
    margin-top: -60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 min(80px, 10vw);
    margin-bottom: 40px;
    gap: 0;
    scroll-margin-top: 20px;
}

main #about::before {
    display: none;
}

main #about .title {
    color: white;
    padding-bottom: 20px;
}

main #about .subtitle {
    color: green;
    text-align: center;
}

main #about .info {
    margin-top: 20px;
    max-width: 1200px;
    /* text-align: justify; */
    line-height: 34px;
}

main #resume {
    padding: 40px;
    background-color: black;
    justify-content: center;
}

main #resume::before {
    display: none;
}

main #resume a {
    color: white;
    text-decoration: none;
    border: 1px solid green;
    padding: 10px 20px;
    border-radius: 4px;
    box-shadow: 0 0 20px green;
    font-size: 22px;
}

main #contact .data {
    width: 100%;
}

main #contact::before {
    display: none;
}

main #contact form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

main #contact form input,
main #contact form textarea {
    font-size: 22px;
    font-weight: 300;
    width: 100%;
    border-radius: 4px;
    border: 1px solid black;
    padding: 10px 20px;
    color: black;
}

main #contact form textarea {
    height: 200px;
}

main #contact form input[type=submit] {
    max-width: 200px;
    color: white;
    background-color: black;
    border: none;
    cursor: pointer;
}

@media (max-width: 1000px) {
    main section {
        flex-wrap: wrap;
    }
    main section .image {
        order: 1;
    }
    main section .data {
        order: 2;
    }
}


/* footer */

footer {
    background: black;
    color: white;
    padding: 40px 80px;
    text-align: center;
}

footer img {
    width: 16px;
}

footer span a {
    text-decoration: none;
    color: inherit;
    position: relative;
}

footer span a:hover::before {
    content: '';
    background: white;
    position: absolute;
    bottom: -10%;
    left: 0;
    width: 100%;
    height: 1px;
}