@font-face {
    font-family: "Poppins";
    src: url("./font/Poppins/Poppins-Regular.ttf");
}

@font-face {
    font-family: "Lexend";
    src: url("./font/Lexend/Lexend-VariableFont_wght.ttf");
}
:root {
    --font-name: "Poppins";
    --font-name2: "Lexend";
}

* {
    font-family: var(--font-name2);
    font-weight: 300;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: rgb(255, 255, 255);
}

::selection {
    color: #fff;
    background: #333;
    text-shadow: none;
}

.nav {
    position: absolute;
    padding: 15px 0;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    /* top: 0;
   position: sticky; */
    z-index: 1;
    border-radius: 0 0 10px 10px;
    /* box-shadow: 0px 0px 10px 0px grey; */
    /* background-color: white; */
    background-color: transparent;
}

.nav a {
    font-size: 1.2em;
    text-decoration: none;
    color: rgb(126, 126, 126);
    margin: 0 4px;
    position: relative;
    text-shadow: 1.5px 6px 7px rgba(133, 133, 133, 0.5);
    display: inline-block;
    padding: 7px 10px;
    transition: all 0.2s;
    font-weight: 300;
}

.nav a:hover {
    transition: all 0.2s;
    /* color: white; */
    /* background: rgba(0, 0, 0, 0.144); */
    padding: 7px 14px;
    border-radius: 6px;
}

#selected:after {
    background-color: black !important;
    transition: all 0.2s;
}

#selected {
    font-weight: 500;
    color: black;
}

#selected:hover {
    background-color: transparent;
}

.nav a:after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    position: absolute;
    background-color: rgb(190, 190, 190);
    transition: all 0.2s ease-in;
    transform: scale3d(0, 1, 1);
    transform-origin: 50% 100%;
    left: 0;
    bottom: -5px;
}

.nav a:hover:after {
    transform: scale3d(1, 1, 1);
    transition: all 0.2s ease-out;
}

.nav div:nth-child(3) {
   display: none;
}

.overlay-loader {
    position: fixed;
    z-index: 100;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 1);
}

.overlay-loader div {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    flex-direction: column;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

@media (max-width: 768px) {
    .nav {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .nav {
        width: 100%;
    }
}

.transition-top-down,
.transition-top-down-section-2 {
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.8s, transform 0.8s;
}

.transition-left-right {
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 0.8s, transform 0.8s;
}
