a {
    text-decoration: none;
}

header {
    position: absolute;
    width: 100%;
    font-weight: 500;
    justify-content: start !important;
    flex-direction: column;
    gap: 70px;
    background-color: transparent !important;
}

header > .brand {
    position: relative;
    left: 0;
}

header .brand h1 {
    color: #323232;
    font-size: 28px;
}

header:not(.no-bg) .brand h1 {
    font-size: 30px;
    color: white;
}

header > .fc {
    gap: 30px;
}

.container {
    height: 20vh;
    position: relative;
}

.container img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow-clip-margin: unset;
}

/*.container img:last-of-type {
    width: 275px;
    aspect-ratio: 1/1;
    object-fit: cover;
    overflow-clip-margin: unset;
    border-radius: 50%;
    position: absolute;
    bottom: -50px;
    border: 6px solid #fff;
}*/

.name {
    margin-top: 60px;
    font-size: 22px;
    flex-direction: column;
}

.name > span {
    margin-top: 10px;
    font-size: 17px;
    color: rgb(146, 146, 146);
}

.name > span:last-of-type {
    width: 75%;
    height: 2px;
    background: rgba(0, 0, 0, .2);
}

.bio {
    justify-content: space-around;
    margin: 30px;
    gap: 30px;
}

.bio > div > h2 {
    margin-top: 20px;
    margin-bottom: 20px;
}

.bio > div > p {
    font-size: 19px;
    text-align: justify;
    line-height: 26px;
    margin-top: 10px;
}

.bio > div:first-of-type {
    width: 800px;
    position: relative;
}

.bio > div:last-of-type img {
    width: 600px;
    margin-top: 50px;
    border-radius: 5px;
    box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.2);
}

.bio > div > p.more {
    display: none;
}

.bio > div.show-more > p.more {
    display: block;
}

.bio > div .show-more-overlay {
    width: 100%;
    height: 100px;background: rgb(255,255,255);
    background: linear-gradient(0deg, rgba(255,255,255,1) 25%, rgba(255,255,255,0.2) 100%);
    position: absolute;
    bottom: 0;
}

.bio > div .show-more-overlay > span {
    bottom: 0;
    height: 25px;
    position: absolute;
}

.videos {
    margin: 100px 0;
    gap: 90px;
    justify-content: space-evenly;
}

.videos a {
    display: block;
    font-weight: bold;
    font-size: 21px;
    margin-bottom: 20px;
    text-decoration: underline;
    text-underline-offset: 3px;
    position: relative;
}

.videos > a {
    width: 34vw;
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.videos > a img {
    width: 100%;
}

.videos .yt {
    position: absolute;
    width: 68px;
    height: 48px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.videos > a div {
    font-weight: 500;
    font-size: 22px;
    position: absolute;
    top: -36px;
    text-decoration: underline;
    white-space: nowrap;
}

.achievements {
    width: 80%;
    margin: 75px auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.achievements > div {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.achievements > div > div {
    background: rgb(233,233,233);
    box-shadow: 0 0 2px 0px rgba(0, 0, 0, .3);
    background: radial-gradient(circle, rgba(240, 240, 240,1) 0%, rgba(203,203,203,1) 100%);
    padding: 20px;
    border-radius: 8px;
    max-width: 420px;
    height: 140px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: box-shadow 300ms, background 300ms;
    cursor: default;
}

.achievements > div > div:hover {
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, .2);
}

.achievements > div:not(.show-misc) > div.misc {
    display: none;
}

.achievements .icon {
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.achievements .icon > div{
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.achievements h4 {
    font-weight: 500;
}

.achievements span {
    color: rgb(109, 109, 109);
}

.achievements .icon img {
    height: 100px;
}

.achievements .rg img {
    height: 90px;
}

.achievements .atm img {
    height: 80px;
}

.achievements .yl img {
    height: 64px;
}

.show-all {
    cursor: pointer;
    text-decoration: underline;
    height: 140px;
    font-size: 17px;
    color: #323232;
    transition: color 200ms;
}

.show-all:hover {
    color: #a8a8a8;
}

@media only screen and (max-width: 1400px) {
    .bio > div:first-of-type {
        width: 600px;
    }
    .bio > div:last-of-type img {
        width: 500px
    }
    .bio > div > h2 {
        font-size: 22px;
    }
    .bio > div > p {
        font-size: 17px;
    }
}

@media only screen and (max-width: 1200px) {
    .bio > div:first-of-type {
        width: 500px;
    }

    .bio > div:last-of-type img {
        width: 450px
    }

    .bio > div > p {
        font-size: 16px;
    }
}

@media only screen and (max-width: 1000px) {
    .bio > div:first-of-type {
        width: 100%;
    }

    .bio {
        flex-direction: column;
    }

    .videos {
        flex-direction: column;
    }
    
    .videos > div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .videos > a {
        width: 80vw;
    }

    .achievements {
        align-items: center;
    }

    .achievements > div {
        flex-direction: column;
    }

    .achievements > div > div {
        max-width: unset;
        width: 80vw;
    }

    .achievements .icon {
        justify-content: center;
    }
}

/*@media only screen and (max-width: 700px) {
    .bio > div:last-of-type img {
        width: 90%;
    }
}*/

@media only screen and (max-width: 600px) {
    .container {
        height: 40vh;
    }

    /*.container img:last-of-type {
        width: 200px;
    }*/

    .bio > div:last-of-type img {
        width: 80vw;
    }

    .name h1 {
        font-size: 30px;
        text-align: center;
    }

    .name > span {
        font-size: 16px;
        text-align: center;
        margin: 10px;
    }

    .bio {
        margin: 20px;
    }

    .videos > a > div {
        width: 100%;
        text-align: center;
        font-size: 18px;
    }

    .videos iframe {
        width: 95vw;
    }

    .achievements > div > div {
        width: 95vw;
        height: unset;
    }
}


@media only screen and (max-width: 450px) {
    .bio > div:last-of-type img {
        width: 90vw;
    }

    .videos > a {
        width: 90vw;
    }
}

@media only screen and (max-width: 350px) {
    .name h1 {
        font-size: 26px;
    }

    .name > span {
        font-size: 15px;
    }
}