* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    scroll-behavior: smooth;
    color: #ffffff;
    font-family: "Montserrat", sans-serif;
}

@font-face {
    font-family: versailes;
    src: url('fonts/VersaillesRegular.ttf') format('truetype');
}

/* Loader */
.loader-container.off{
    display: none;
}

.loader-container{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 100vh;
    background: rgb(0, 0, 0);
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(11, 31, 48, 1) 30%, rgba(29, 83, 124, 1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

@media(max-width: 600px){
    .loader-container{
        flex-direction: column;
    }
}

.loader-container img{
    height: 80px;
    padding-bottom: 2rem;
}

@media(max-width: 600px){
    .loader-container img{
        height: 60px;
        padding-right: 0;
    }
}

.loader {
    --cell-size: 32px;
    --cell-spacing: 1px;
    --cells: 3;
    --total-size: calc(var(--cells) * (var(--cell-size) + 2 * var(--cell-spacing)));
    display: flex;
    flex-wrap: wrap;
    width: var(--total-size);
    height: var(--total-size);
}

.cell {
    flex: 0 0 var(--cell-size);
    margin: var(--cell-spacing);
    background-color: transparent;
    box-sizing: border-box;
    border-radius: 4px;
    animation: 1.5s ripple ease infinite;
}

.cell.d-1 {
    animation-delay: 100ms;
}

.cell.d-2 {
    animation-delay: 200ms;
}

.cell.d-3 {
    animation-delay: 300ms;
}

.cell.d-4 {
    animation-delay: 400ms;
}

.cell:nth-child(1) {
    --cell-color: #252525;
}

.cell:nth-child(2) {
    --cell-color: #383838;
}

.cell:nth-child(3) {
    --cell-color: #4d4d4d;
}

.cell:nth-child(4) {
    --cell-color: #636363;
}

.cell:nth-child(5) {
    --cell-color: #636363;
}

.cell:nth-child(6) {
    --cell-color: #979797;
}

.cell:nth-child(7) {
    --cell-color: #a8a8a8;
}

.cell:nth-child(8) {
    --cell-color: #b9b9b9;
}

.cell:nth-child(9) {
    --cell-color: #d1d1d1;
}

/*Animation*/
@keyframes ripple {
    0% {
        background-color: transparent;
    }

    30% {
        background-color: var(--cell-color);
    }

    60% {
        background-color: transparent;
    }

    100% {
        background-color: transparent;
    }
}

/* Social icons */
.social-icons {
    position: fixed;
    z-index: 10;
    padding: 10px 10px;
    margin-left: 2rem;
    margin-top: 14rem;
    border: 1px solid #fff;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #0000019a;
    backdrop-filter: blur(4px);
}

@media(max-width: 600px) {
    .social-icons {
        width: 80%;
        justify-content: center;
        flex-direction: row;
        gap: 10px;
        margin-top: 85vh;
        z-index: 50;
        margin-left: 10%;
    }
}

.social-link {
    margin-bottom: 0.10rem;
}

.social-link:nth-child(5) {
    margin-bottom: 1.25rem;
}

@media(max-width: 600px) {
    .social-link:nth-child(5) {
        margin-bottom: 0;
        margin-right: 0;
    }
}

.social-link:last-of-type {
    margin-bottom: 0;
}

.social-icon {
    width: 25px;
}

@media(max-width: 600px) {
    .social-icon {
        width: 30px;
    }
}

.h-screen {
    width: 100%;
    height: 100vh;
}