@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:wght@300;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

:root {
    --color-black-9: #141414;
    --color-black-8: #1F1F1F;
}

body {
    margin: 0;
    padding: 0;
    position: relative;

    overflow: hidden;
    overflow-y: scroll;

    background-color: var(--color-black-9);
}

::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--color-black-8);
    border-radius: 6px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 6px;
}

.navbar {
    margin: 0;
    padding: 0;
    position: fixed;
    
    width: 100vw;
    height: 50px;

    display: flex;
    flex-direction: row;
    justify-content: center;

    background: -moz-linear-gradient(0deg, rgba(255,255,255,0) 0%, var(--color-black-9) 100%);
    background: -webkit-linear-gradient(0deg, rgba(255,255,255,0) 0%, var(--color-black-9) 100%);
    background: linear-gradient(0deg, rgba(255,255,255,0) 0%, var(--color-black-9) 100%);

    z-index: 1;
}

.navbar .texts {
    margin: 0;
    padding: 0;
    position: relative;

    width: fit-content;
    height: fit-content;

    top: 50%;
    transform: translateY(-50%);

    display: flex;
    flex-direction: row;
    justify-content: center;
}

.navbar .texts h1 {
    margin: 0 10px 0 10px;
    padding: 0;
    position: relative;

    width: fit-content;
    height: fit-content;

    font-size: 15px;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    color: #fff;
    transition: 500ms;
    border-bottom: 2px solid #00000000;
}

.navbar .texts h1.selected {
    border-bottom: 2px solid red;
}

.navbar .texts h1:hover {
    cursor: pointer;
    border-bottom: 2px solid red;
}

.spacer {
    margin: 0;
    padding: 0;
    position: relative;

    width: 100%;
    height: 150px;
}

.spacer-min {
    margin: 0;
    padding: 0;
    position: relative;

    width: 100%;
    height: 75px;
}

.home {
    margin: 0;
    padding: 0;
    position: relative;
    
    width: 100vw;
    height: fit-content;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home .mainText {
    margin: 0;
    padding: 0;
    position: relative;

    width: 100%;
    height: fit-content;
}

.home .mainText h1 {
    margin: 0;
    padding: 0;
    position: relative;

    left: 50%;
    transform: translateX(-50%);

    width: fit-content;
    height: fit-content;

    text-align: center;

    font-size: 35px;
    font-family: "Merriweather", serif;
    font-weight: 400;
    font-style: normal;
    color: #fff;
}

.secondaryText {
    margin: 0;
    padding: 0;
    position: relative;

    left: 50%;
    transform: translateX(-50%);

    width: 70%;
    height: fit-content;
}

.secondaryText h1 {
    margin: 0;
    padding: 0;
    position: relative;

    left: 50%;
    transform: translateX(-50%);

    width: fit-content;
    height: fit-content;

    text-align: center;

    font-size: 25px;
    font-family: "Merriweather", serif;
    font-weight: 400;
    font-style: normal;
    color: #fff;
}

.youtube-carousel {
    margin: 0;
    padding: 0;
    position: relative;

    left: 50%;
    transform: translateX(-50%);

    width: 60%;
    height: fit-content;

    box-shadow: 0 0 20px 15px rgba(0, 0, 0, .35);
    border-radius: 16px;
    transition: 200ms;
    overflow: hidden;
}

.youtube-carousel-thumb {
    margin: 0;
    padding: 0;
    position: relative;

    width: 100%;
    height: fit-content;
}

.youtube-carousel-thumb img {
    margin: 0;
    padding: 0;
    position: relative;

    width: 100%;
    height: fit-content;
}

.youtube-carousel-watchTime {
    margin: 0;
    padding: 0;
    position: absolute;

    bottom: 0;

    width: 60%;
    height: 5px;
    background-color: red;
}

.youtube-carousel-duration {
    margin: 0;
    padding: 0;
    position: absolute;

    right: 5px;
    bottom: 8px;

    background-color: rgba(0, 0, 0, .85);
    border-radius: 4px;
}

.youtube-carousel-duration h1 {
    margin: 0;
    padding: 2px 8px 2px 8px;
    position: relative;

    width: fit-content;
    height: fit-content;

    font-size: 12px;
    font-family: "Poppins", serif;
    font-weight: 500;
    color: #fff;
}

.youtube-carousel-info {
    margin: 0;
    padding: 0;
    position: relative;

    width: 100%;
    height: fit-content;

    display: flex;
    flex-direction: row;
    justify-content: left;
}

.youtube-carousel-channelImg {
    margin: 0;
    padding: 0;
    position: relative;

    width: 75px;
    height: 75px;
}

.youtube-carousel-channelImg img {
    margin: 0;
    padding: 0;
    position: relative;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 75%;
    height: 75%;
    border-radius: 50%;
}

.youtube-carousel-videoInfo {
    margin: 5px 0 0 0;
    padding: 0;
    position: relative;

    width: calc(100% - 75px);
    height: fit-content;
}

.youtube-carousel-videoTitle {
    margin: 0;
    padding: 0;
    position: relative;

    width: 100%;
}

.youtube-carousel-videoTitle h1 {
    margin: 0;
    padding: 0;
    position: relative;

    max-width: 100%;
    height: fit-content;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    font-size: 20px;
    font-family: "Poppins", serif;
    font-weight: 500;
    color: #fff;
}

.youtube-carousel-channelName,
.youtube-carousel-videoViews {
    margin: 0;
    padding: 0;
    position: relative;

    width: 95%;
}

.youtube-carousel-videoViews {
    padding: 0 0 10px 0;
}

.youtube-carousel-channelName h1,
.youtube-carousel-videoViews h1 {
    margin: 0;
    padding: 0;
    position: relative;

    width: fit-content;
    height: fit-content;

    font-size: 15px;
    font-family: "Poppins", serif;
    font-weight: 500;
    color: #AAAAAA;
}

.separator {
    margin: 50px 0 0 0;
    padding: 0;
    position: relative;

    width: 100vw;
    height: 100px;

    display: flex;
    flex-direction: row;
    justify-content: center;
}

.separator h1 {
    margin: 0;
    padding: 0 20px 0 20px;
    position: relative;

    top: 50%;
    transform: translateY(-50%);

    min-width: fit-content;
    height: fit-content;

    font-size: 25px;
    font-family: "Merriweather", serif;
    font-weight: 400;
    font-style: normal;
    color: #fff;
}

.separator .border:first-child {
    margin: 0;
    padding: 0;
    position: relative;

    top: 50%;
    transform: translateY(-50%);

    width: 20%;
    height: 2px;

    background: rgb(255,255,255);
    background: -moz-linear-gradient(270deg, rgba(255,255,255,1) 50%, rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(270deg, rgba(255,255,255,1) 50%, rgba(0,0,0,0) 100%);
    background: linear-gradient(270deg, rgba(255,255,255,1) 50%, rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#000000",GradientType=1);
}

.separator .border:last-child {
    margin: 0;
    padding: 0;
    position: relative;

    top: 50%;
    transform: translateY(-50%);

    width: 20%;
    height: 2px;

    background: rgb(255,255,255);
    background: -moz-linear-gradient(90deg, rgba(255,255,255,1) 50%, rgba(0,0,0,0) 100%);
    background: -webkit-linear-gradient(90deg, rgba(255,255,255,1) 50%, rgba(0,0,0,0) 100%);
    background: linear-gradient(90deg, rgba(255,255,255,1) 50%, rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#000000",GradientType=1);
}

.works {
    margin: 0;
    padding: 0;
    position: relative;

    width: 100vw;
    height: fit-content;

    display: grid;
    grid-template-columns: repeat(auto-fill, 550px);
    grid-auto-rows: 309px;
    grid-column-gap: 50px;
    grid-row-gap: 50px;
    justify-content: center;
}

.works div {
    margin: 0;
    padding: 0;
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;
    border-radius: 16px;
    transition: 500ms;
}

.works div:hover {
    cursor: pointer;
    transform: scale(1.05);
}

.works div img {
    margin: 0;
    padding: 0;
    position: relative;

    width: 100%;
    object-fit: cover;
}

.works div video {
    margin: 0;
    padding: 0;
    position: relative;

    width: 100%;
    object-fit: cover;
}

.contacts {
    margin: 0;
    padding: 0;
    position: relative;

    left: 50%;
    transform: translateX(-50%);

    width: fit-content;
    height: 90px;

    display: flex;
    flex-direction: row;
    justify-content: center;

}

.contacts img {
    margin: 0;
    padding: 0 5px 0 5px;
    position: relative;

    width: 30px;
    height: 30px;
    filter: grayscale(100%);
    transition: 200ms;    
}

.contacts img:hover {
    filter: grayscale(0%);
    cursor: pointer;
}

.fullscreen-work {
    margin: 0;
    padding: 0;
    position: fixed;

    display: none;

    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;

    background-color: rgba(0, 0, 0, .85);
    user-select: none;
    z-index: 1;
}

.fullscreen-work i {
    margin: 0;
    padding: 0;
    position: absolute;

    top: 5%;
    left: 90%;
    transform: translate(-50%, -50%) scale(0.8);

    font-size: 50px;
    color: #fff;
    transition: 100ms;
    z-index: 1;
}

.fullscreen-work i:hover {
    transform: translate(-50%, -50%) scale(1.0);
    cursor: pointer;
}

.fullscreen-work img {
    margin: 0;
    padding: 0;
    position: relative;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 75%;
    height: fit-content;
    object-fit: cover;
    border-radius: 16px;
}
.fullscreen-work video {
    margin: 0;
    padding: 0;
    position: relative;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 75%;
    height: fit-content;
    object-fit: cover;
    border-radius: 16px;
}
