@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "F500";
    src: url("F500.ttf");
}

html{
    color: rgb(240, 246, 240);
    font-family: Chakra Petch;
    height: 100%;
}

body{
    background-color: rgb(23, 24, 24);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

main{
    display: flex;
    flex-direction: row;
}

ul{
    list-style: none;
}

a, .dropdown-btn{
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease 0s;
}

a:not(.logo):hover{
    color: rgb(75,58,228);
    cursor: pointer;
}

a:not(.logo):active{
    color: rgb(198,225,0);
}

#resume-toggle{
    color: rgb(198,225,0);
}

.logo{
    font-size: 1.5em;
    background:linear-gradient(
        to right,
        rgb(240, 246, 240),
        rgb(240, 246, 240),
        rgb(75,58,228),
        rgb(75,58,228),
        rgb(240, 246, 240)
    );
    background-clip: text;
    color: transparent;
    background-size: 400% auto;
    animation: logoAnim 32s linear infinite;
}

@keyframes logoAnim{
    0%{
        background-position: 400% 50%;
    }

    100%{
        background-position: 0% 50%;
    }
}

#back-to-top{
    display: none;
    position: fixed;
    bottom: 30px;
    z-index: 99;
    margin-left: 1.5em;
    padding: 4px 6px;
    font-family: F500;
    background-color: rgba(23, 24, 24, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 5px;
}

nav{
    margin: 0.5em 0;
}

.left-links, header{
    font-family: F500;
}

.left-links{
    height: 100%;
    width: 11%;
    margin: 0.7em 0;
    padding-left: 2em;
    display: flex;
    flex-direction: column;
}

.left-links a{
    display: flex;
    flex-direction: column;
    padding: 0.7em 0;
    font-size: 120%;
}

.dropdown-container{
    display: none;
    padding-left: 1em;
}

section{
    display: none;
}

section.active{
    display: block;
}

.main-content{
    min-height: 100vh;
    width: 100%;
    padding: 0 2em;
    margin: 0.5em 0;
}

.landing-gif{
    max-width: 1280px;
    width: 100%;
    height: auto;
    display: block;
}

.desc-text{
    margin: 0.5em 0 1em 0;
    text-align: center;
    font-size: 150%;
}

.resume-text{
    font-size: 120%;
}

.gallery-container{
    margin: auto;
}

.gallery{
    columns: 3 250px;
    gap: 15px;
}

.landing-gallery{
    columns: 1 250px;
    gap: 15px;
    text-align: center;
}

.gallery-2col{
    columns: 2 250px;
    gap: 15px;
}

.gallery-2col-about{
    columns: 2 680px;
    gap: 15px;
}

.video-gallery{
    columns: 2 250px;
}

.gallery-2col .resume{
    margin-bottom: 10px;
    border-radius: 5px;
    width: 100%;
}

.gallery img, .landing-gallery img, .gallery-2col img, .gallery-2col-about img, .video-gallery .video-js{
    margin-bottom: 10px;
    border-radius: 5px;
    width: 100%;
}

.landing-gallery a{
    display: inline-block;
    max-width: 1280px;
    margin: 0 auto;
}

nav ul{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav li{
    height: 60px;
}

nav a{
    height: 100%;
    padding: 0 18px;
    display: flex;
    align-items: center;
    font-size: 89%;
}

nav .top-links li:first-child{
    margin-right: auto;
    padding-left: 10px;
}

nav .top-links li:nth-last-child(2){
    padding: 0 12px 0 0;
}


.video-js{
    width: 100%;
}

.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 200px;
    z-index: 999;
    background-color: rgba(23, 24, 24, 0.2);
    backdrop-filter: blur(10px);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar li{
    width: 100%;
    height: 7%;
}

.sidebar a{
    width: 100%;
}

.desc-text a{
    color: rgb(198,225,0);
}

/* .resume a{
    color: rgb(198,225,0);
} */

.menu-button{
    display: none;
}

footer{
    font-family: F500;
    margin: auto 0 0.1em 1.5em;
    padding: 6px;
}

.french-resume {
    display: none;
}

@media(max-width: 1660px){
    .hideOnMobile{
        display: none;
    }
    .menu-button{
        display: block;
    }
    .left-links{
        width: 100%;
        font-size: 85%;
        margin: 0.1em 0;
    }
    .left-links a{
        padding: 0.3em 0;
    }
    main{
        flex-direction: column;
    }
    .desc-text{
        margin-top: 0.1em;
        font-size: 100%;
    }
    footer{
        font-size: 80%;
    }
}

@media(max-width: 500px){
    .sidebar{
        width: 100%;
    }
}

#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

.parallax-container {
    position: fixed;
    inset: -8%;
    will-change: transform;
    pointer-events: none;
    z-index: -2;
}
  
.parallax-bcg {
    position: absolute;
    inset: 0;
    background-image: url("https://lhordcompany.wiki.gg/images/Site-background-dark.jpg");
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    opacity: 0.2;
}