@import url('https://fonts.googleapis.com/css2?family=Comforter+Brush&&family=Source+Serif+4:ital@1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bellota+Text&display=swap');

*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Bellota Text', cursive;
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

body {
    margin: 0;
    padding: 0;
    background-color: #d5d4e4;
    color: rgba(0, 0, 0, 0.7);
}

a {
    text-decoration: none;
    color: rgba(0, 0, 0, 0.7);
}

ul {
    list-style: none;
}

li {
    line-height: 1.7;
}

.divider-horizontal {
    width: 80%;
    height: 1px;
    margin: 5px 0;
    background: rgba(128, 128, 128, 0.55);
}

.divider-vertical {
    width: 1px;
    height: 50%;
    margin: 0 5px;
    background: rgba(128, 128, 128, 0.55);
}

main {
    width: 100%;
    margin: 0 auto;
    padding-top: 60px;
    background-image: url('/assets/images/bgr.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

/* header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1040;
    box-shadow: 0 6px 10px -3px rgba(120, 120, 120, 0.35);
    overflow: hidden;
    text-align: center;
    background-color: #d5d4e4;
}

.nav-link {
    margin: 0 15px;
    padding: 7px 25px;
    font-size: 20px;
    font-weight: bold;
}

.nav-link:hover,
.nav-link.active {
    background: #bab8d5;
    transition: 0.5s ease-out;
}

nav {
    max-width: 1360px;
    width: 95%;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 45px;
}

#logo {
    height: 60px;
    padding-left: 20px;
    font-family: 'Comforter Brush', cursive;
    text-align: center;
    font-size: 50px;
    color: gray;
    cursor: pointer;
}

.langs-container {
    margin: 0 25px;
    display: flex;
    height: 20px;
    justify-content: center;
    align-items: center;
}

.langs-container span {
    font-size: 15px;
    user-select: none;
    cursor: pointer;
    font-weight: bold;
}

.langs-container .divider-vertical {
    margin: 0 15px;
}
/* end of header */
/* mobile menu header */
#mobile-menu {
    overflow: hidden;
    top: 41px;
    right: 0px;
    width: 100%;
    display: none;
    margin: 0;
    padding: 0;
    opacity: 0;
    transition: all 0.5s linear;
    background: #686870;
    z-index: 1000;
    color: white;
}

#mobile-menu.open {
    position: fixed;
    display: block;
    opacity: 1;
    transition: all 0.5s linear;
}

#mobile-menu li {
    margin: 0;
    padding: 5px 10px;
    list-style: none;
    text-align: right;
    transition: all 0.3s ease-in;
}

#mobile-menu li .nav-link-mobile {
    margin: 0;
    padding: 0;
    color: white;
    letter-spacing: 1px;
    font-size: 15px;
    font-weight: bold;
}

#mobile-menu li:not(:last-child):hover {
    background: #d5d4e4;
    color: black;
}

#mobile-menu li:last-child {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 40px;
    font-size: 13px;
}

#mobile-menu li:last-child .divider-vertical {
    margin: 0 15px;
}

#mobile-menu li:last-child span {
    cursor: pointer;
    user-select: none;
}

#mobile {
    display: none;
    width: 30px;
    height: 25px;
    transform: rotate(0deg);
    transition: transform 0.5s ease-in-out;
    cursor: pointer;
}

#mobile span {
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: 4px;
    background: gray;
    border-radius: 9px;
    opacity: 1;
    transform: rotate(0deg);
    transition: transform 0.25s ease-in-out;
}

#mobile span:nth-child(1) {
    top: 0;
}

#mobile span:nth-child(2),
#mobile span:nth-child(3) {
    top: 10px;
}

#mobile span:nth-child(4) {
    top: 20px;
}

#mobile.open span:nth-child(1),
#mobile.open span:nth-child(4) {
    width: 0;
}

#mobile.open span:nth-child(2) {
    top: 10px;
    transform: rotate(45deg);
}

#mobile.open span:nth-child(3) {
    transform: rotate(-45deg);
}
/* end of mobile header */

.section {
    text-align: center;
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

.section-label {
    text-align: center;
    width: 100%;
    font-size: 25px;
    color: #8e6c89;
    text-transform: uppercase;
}

#videos {
    padding-bottom: 100px;
}

/* about section */
.bio-container {
    margin: 55px auto 10px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.30);
    box-shadow: 0 0 5px 1px rgba(120, 120, 120, 0.35);
    border-radius: 8px;
}

.short-bio-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.short-bio-container {
    margin: 0 10px;
    width: 47%;
}

#short-bio-name {
    text-align: left;
    font-family: 'Comforter Brush', cursive;
    font-size: 65px;
    font-weight: 100;
    color: gray;
}

.short-info-ul {
    text-align: left;
    font-size: 15px;
    margin: 10px 0;
    list-style-type: disc;
    list-style-position: inside;
}

/* accomplishments */
.info-btn {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease-in;
    cursor: pointer;
}

.info-btn:hover,
.info-btn.active {
    transform: scale(1.08);
}

.info-btn.active > span {
    text-decoration: underline;
}

.info-btn div {
    display: flex;
    align-items: center;
    margin: 10px;
}

.info-btn > span {
    margin: 0 10px;
}

.info-btn span i {
    font-size: 22px;
    vertical-align: middle;
}

.info-btn i {
    font-size: 50px;
}

.info-label {
    font-size: 20px;
    margin: 0 15px;
}

.accomplishments-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: gray;
}

.panel {
    padding: 15px 25px;
    margin: 18px -20px -20px;
    display: none;
    background: rgba(255, 255, 255, 0.65);
    text-align: left;
    border-radius: 8px;
    overflow: hidden;
}
/* end of accomplishments */

.main-image-container {
    position: relative;
    width: 515px;
    height: 340px;
}

.main-image-container img {
    position: absolute;
    left: 50%;
    transform: translate(-52%, -14%) !important;
}

/* socials */
.socials-container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    color: gray;
}

.socials-container.mobile {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    display: none;
}

.socials-container span {
    margin: 10px 0;
}

.social-media-btn {
    display: flex;
    align-items: center;
    margin: 10px 0;
    cursor: pointer;
    transition: transform 0.3s ease-in;
    color: gray;
}

.social-media-btn:hover {
    transform: scale(1.08);
}

.social-media-btn img {
    margin-right: 15px;
    image-rendering: -webkit-optimize-contrast;

}
/* socials */

/* end of about section */

/* gallery section with grid */
.row {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

.column {
    flex: 25%;
    max-width: 25%;
    padding: 0 8px;
    text-align: center;
}

.column img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    vertical-align: middle;
    transition: transform 0.3s ease-in;
}

.column div {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 0 5px 1px rgba(120, 120, 120, 0.35);
}

.column div img:hover {
    transform: scale(1.055) !important;
    transition-delay: 0s !important;
    transition-duration: 0.3s !important;
}
/* end of gallery */

iframe {
    max-width: 560px;
    border-radius: 8px;
    margin: 8px;
    box-shadow: 0 0 5px 1px rgba(120, 120, 120, 0.35);
}

#back-to-top-button {
    position: fixed;
    bottom: 15px;
    right: 10px;
    width: 45px;
    height: 45px;
    background-image: url("../images/play.png");
    background-repeat: no-repeat;
    background-size: 45% 45%;
    background-position: center;
    transform: rotate(-90deg);
    transition: transform 0.25s, opacity 0.7s;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: none;
    opacity: 0;
    z-index: 10000;
    background-color: #b2b0cb;
    border: 1px solid black;
}

#back-to-top-button:hover {
    transform: rotate(-90deg) scale(1.1);
    box-shadow: 0 0 10px 0 rgba(41, 111, 180, 0.3);
}

#back-to-top-button.active {
    opacity: 1;
    pointer-events: all;
}

/* footer */
footer {
    background: #8e6c89;
    text-align: center;
    padding: 15px 5px;
    color: white;
}

.footer-links-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    margin: 10px;
    font-size: 15px;
}

.footer-links-container a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.footer-links-container a img {
    margin-right: 10px;
}

.footer-links-container .divider-vertical {
    height: 75%;
    margin: 0 20px;
    background: rgba(255, 255, 255, 0.60);
}
/* end of footer */

@media only screen and (max-width: 1360px) {
    #logo {
        padding-left: 0;
    }
}

@media only screen and (max-width: 1140px) {
    .main-image-container {
        width: 330px;
    }
}

@media only screen and (max-width: 1000px) {
    .nav-link {
        padding: 7px;
        margin: 0 5px;
    }

    .short-bio-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }

    .short-bio-container {
        width: auto;
    }

    .main-image-container {
        width: 100%;
        height: 370px;
    }

    #short-bio-name {
        text-align: center;
    }

    .socials-container.web {
        display: none;
    }

    .socials-container span {
        margin: 2px 0;
        font-size: 14px;
    }

    .socials-container.mobile {
        display: flex;
    }

    .socials-container.mobile.icons {
        height: 50px;
    }

    .socials-container.mobile.icons .divider-vertical {
        margin: 0 14px;
    }

    .social-media-btn img {
        margin-right: 10px;
    }

    .social-media-btn img {
        margin-right: 10px;
    }

    .footer-links-container a img {
        margin: 0 10px;
    }

    .footer-links-container a span {
        display: none;
    }
}

@media only screen and (max-width: 800px) {
    header a {
        font-size: 16px;
        padding: 0;
        margin: 0;
    }

    .nav-link {
        font-size: 16px;
    }

    .langs-container span {
        font-size: 13px;
    }

    #logo {
        font-size: 30px;
        height: auto;
    }

    .short-bio-container {
        margin: 0;
        overflow: hidden;
    }

    .info-btn i {
        font-size: 25px;
    }

    .info-label {
        font-size: 16px;
    }
}

@media only screen and (max-width: 600px) {
    .nav-menu,
    .langs-container {
        display: none;
    }

    #mobile {
        display: block;
    }

    main {
        padding-top: 41px;
    }

    .column {
        flex: 50%;
        max-width: 50%;
    }

    .short-bio-wrapper {
        margin: 0 -20px;
    }

    .main-image-container {
        margin-bottom: 0;
        overflow-x: clip;
    }

    .short-bio-container {
        margin: 0 10px;
    }
}

@media only screen and (max-width: 420px) {
    #short-bio-name {
        font-size: 55px;
    }

    .info-btn i {
        font-size: 17px;
    }

    .info-label {
        font-size: 14px;
    }

    .panel ul li {
        font-size: 14px;
    }
}

@media only screen and (max-width: 360px) {
    .column {
        flex: 100%;
        max-width: 100%;
    }

    .socials-container.mobile.icons .divider-vertical {
        display: none;
    }

    .social-media-btn {
        margin: 0 5px;
    }

    .social-media-btn img {
        margin-right: 5px;
    }

    .footer-links-container a img {
        margin: 0;
    }
}
