@font-face {
    font-family: 'MyFont';
    src: url('fonts/Poppin-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'text';
    src: url('fonts/Coolvetica\ Rg\ Cond.otf') format('opentype');
}

.watermark {
    cursor: pointer;
    opacity: 10%;
    position: fixed;
    bottom: 10px;
    right: 10px;
    color: white;
    z-index: 10;
}

.watermark:hover {
    opacity: 80%;
}

.transition {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.15s;
}

body {
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin: 0 0;
}

a {
    color: white;
    text-decoration: none;
}

p {
    margin: 0;
}

.background {
    margin-top: -1rem;
    width: 100%;
    height: 100%;
    position: fixed;
    background-image: url("nighttime.png");
    background-size: cover;
    background-position: center;
    z-index: -1;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    background: rgb(5, 5, 15);
    z-index: -2;
}

main {
    padding-top: 0;
}

/*========================= Side board =========================*/

#info {
    position: fixed;
    left: 50%;
    top: 10%;
    text-align: center;
    width: 40%;

    color: white;
}

.logo {
    font-family: 'MyFont', sans-serif;
    font-size: 5rem;
}

.disc {
    font-family: 'text', sans-serif;
    margin: 1rem 0;
    font-size: 1.75rem;
    padding-bottom: 1em;
}

.video {
    /* 16:9 ratio */
    width: 96%; 
    height: 54%;
    color: black;
    background-color: black;
    border: 2px solid white;
    border-radius: 10px;
}

.videofake {
    /* 16:9 ratio */
    margin: 0 auto;
    width: 32vw; 
    height: 18vw;
    color: black;
    background-color: black;
    border: 2px solid white;
    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.videotext {
    font-size: 4rem;
    color: white;
    font-family: 'MyFont';
    src: url('fonts/Poppin-Regular.ttf') format('opentype');
}

.apply {
    cursor: pointer;
    font-family: 'MyFont', sans-serif;
    font-size: 3rem;
    margin-top: 1rem;
    text-shadow: 4px 4px 4px rgba(0, 0, 0, 1);
    animation: tick forwards 2.5s infinite ease-in-out;
}

.apply:hover {
    font-size: 3.5rem;
    color: #ffef94;
    text-shadow: 0 0 8px #ffd901;
    animation: tick forwards 1s infinite ease-in-out;
}

@keyframes tick {
    0% { transform: scale(1.0); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1.0); }
}

/*========================= people =========================*/

.people {
    flex-direction: column;
    margin-top: 1rem;
}

.person {
    padding: 1rem 0 1rem 0;
    width: 35%;
}

.box {
    position: relative;
    /* background-color: rgb(51, 51, 51); */
    background-color: rgb(30, 29, 46);
    height: 100px;
    border-top-right-radius: 9999px;
    border-bottom-right-radius: 9999px;
    z-index: 2;
    
    display: flex;
    align-items: center;
}

.boxshadow {
    position: relative;
    /* background-color: rgb(51, 51, 51); */
    background-color: rgb(30, 29, 46);
    height: 100px;
    border-top-right-radius: 9999px;
    border-bottom-right-radius: 9999px;
    margin-top: -100px;
    /* box-shadow: 4px 6px 0px rgb(26, 26, 26); */
    box-shadow: 4px 6px 0px rgb(12, 11, 24);
}

.namebox {
    position: relative;
    height: 100px;
    max-width: 60%;
    border-top-right-radius: 9999px;
    border-bottom-right-radius: 9999px;
    margin-top: -100px;
    z-index: 10;
    
    display: flex;
    align-items: center;

    padding-left: 2rem;
    color: white;
    font-family: 'MyFont', sans-serif;
    font-size: 2.5vw;
    text-align: center;
    text-shadow: 4px 4px 4px rgba(0, 0, 0, 1);
}

.links {
    position: relative;
    /* background-color: rgb(36, 36, 36); */
    background-color: rgb(19, 17, 36);
    border-top-right-radius: 9999px;
    border-bottom-right-radius: 9999px;
    width: 100%;
    height: 100px;
    margin-top: -100px;
    z-index: 1;
}

.person:hover {
    transform: scale(110%);
}

.person:hover .links {
    transform: translateX(150px);
}

.shinebox {
    overflow: hidden;
    height: 100px;
    /* width: 40rem; */
    margin-top: -100px;
    border-top-right-radius: 9999px;
    border-bottom-right-radius: 9999px;
}

.shine {
    position: relative;
    background-color: white;
    opacity: 100%;
    height: 100px;
    width: 10rem;
    transform: skewX(-20deg);
    transform-origin: left center;
    margin-left: -200px;
    z-index: 4;
}

.person:hover .shine {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.5s;
    margin-left: 110%;
}

.imgbox {
    overflow: hidden;
    position: relative;
    z-index: 3;
    height: 100px;
    margin-top: -100px;
    border-top-right-radius: 9999px;
    border-bottom-right-radius: 9999px;
}

.icon {
    display: block;
    /* opacity: 0%; used for animation*/
    opacity: 50%;
    height: 140%;
    /* margin-top: -40px; used for animation*/
    margin-top: -20px;

    margin-left: 70%;
    border-radius: 9999px;

    /* border: 4px solid rgb(12, 11, 24); */
    border: 4px solid white;

    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.3s;
}


.person:hover .icon {
    transition-delay: 0.15s;
    opacity: 100%;
    /* margin-top: -20px; */
}

.socials {
    height: 100%;
    width: 100%;
    position: relative;
    left: calc(50% - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube {
    border-radius: 50%;
    background-color: #FF0000;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 5px 0 5px;
    cursor: pointer;
}

.youtube:hover {
    background-color: #b30000;
    font-size: 3rem;
}

.youtube:active {
    background-color: #660000;
}

.twitch {
    border-radius: 50%;
    background-color: #9146FF;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 5px 0 5px;
    cursor: pointer;
}

.twitch:hover {
    background-color: #5c00e3;
    font-size: 3rem;
}

.twitch:active {
    background-color: #350082;
}

@media (max-width: 1000px) {
    
    .people {
        margin-top: 100px;
    }
    
    .background {
        margin-top: 0;
    }
    
    #info {
        position: relative;
        left: 0%;
        top: 0%;
        padding-top: 100px;
        text-align: center;
        width: 80%;
        margin: 0 auto;
    }

    .video {
        /* 16:9 ratio */
        width: 80vw; 
        height: 45vw;
        color: black;
        background-color: black;
    }

    .videofake {
        /* 16:9 ratio */
        width: 80vw; 
        height: 45vw;
        color: black;
        background-color: black;
    }

    .person {
        margin: 1rem 0 1rem 0;
        width: 55%;
    }

    .namebox {
        font-size: 4vw;
    }
}