/* MAIN CSS */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

/* ROOT */
:root {
    --pri-color: #262E8E;
    --sec-color: #f7f7f7;
    --ter-color: ;

    --footer: #040B5F;
    --background-color: ;
    --icon-color: ;
}


* {
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    font-family: 'Josefin Sans', sans-serif;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--pri-color);
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--pri-color);
    margin-bottom: .5rem;
    margin-top: 5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: black;
    margin-bottom: .5rem;
}

/*
  _    _ ______          _____  ______ _____  
 | |  | |  ____|   /\   |  __ \|  ____|  __ \ 
 | |__| | |__     /  \  | |  | | |__  | |__) |
 |  __  |  __|   / /\ \ | |  | |  __| |  _  / 
 | |  | | |____ / ____ \| |__| | |____| | \ \ 
 |_|  |_|______/_/    \_\_____/|______|_|  \_\

*/

header {
    z-index: 3;
    position: sticky;
    top: 0;
    left: 0;
}

.nav {
    position: sticky;
    display: flex;
    justify-content: space-evenly;
    align-items: center;

    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    height: 80px;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.75);
}

.nav > a {
    font-family: 'Inter', sans-serif;
}

.logo-nav {
    width: 120px;
    margin-bottom: .5rem;
    transition: .3s;
    cursor: pointer;
}

.logo {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--pri-color);

}

.link {
    cursor: pointer;
    text-decoration: none;
    margin-left: -5em;
    font-weight: 300;
    font-size: 1.1rem;
    transition: .3s;
    color: #000;
}

.link:hover, .logo-nav:hover {
    scale: 1.1;
    color: var(--pri-color);
}

.nav-button {
    display: flex;
    justify-content: center;
    align-items: center;

    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    color: var(--pri-color);
    background-color: var(--background-color);
    padding: .5rem 1.5rem;
    border-radius: 50px;
    border: var(--pri-color) solid 1px;
}

.nav-button:hover {
    background-color: var(--pri-color);
    color: #fff;
}

.hamburger {
    display: none;
    width: 40px;
}

.kontakt {
    width: 80px;
}

@keyframes nav {
    0% {opacity:0;}
    100% {opacity:1;}
}

@keyframes nav-c {
    0% {opacity:1;}
    100% {opacity:0;}
}

#nav_hamburger {
    cursor: pointer;
    display: none;
}

#nav_hamburger > span {
    display: block;
    width: 28px;
    height: 2px;
    border-radius: 9999px;
    background-color: #000;
}

#nav_hamburger > span:not(:last-child) {
    margin-bottom: 7px;
}

#nav_hamburger,
#nav_hamburger > span {
    transition: all .4s ease-in-out;
}

#nav_hamburger.active {
    transition-delay: 0.4s;
    transform: rotate(45deg);
}

#nav_hamburger.active > span:nth-child(2) {
    width: 0;
}

#nav_hamburger.active > span:nth-child(1),
#nav_hamburger.active > span:nth-child(3) {
    transition-delay: .4s;
}

#nav_hamburger.active > span:nth-child(1) {
    transform: translateY(9px);
}
 
#nav_hamburger.active > span:nth-child(3) {
    transform: translateY(-9px) rotate(90deg);
}


.nav-modal-content a {
    text-decoration: none;
    color: #000;
    font-size: 1rem;
    z-index: 2;
}

.nav-modal{
    display: none;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 150px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    z-index: 0;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background-color: rgba(255, 255, 255, 0.75);
}

.nav-modal.active {
    display: block;
    gap: 2rem;
    animation: nav-modal .5s;
}

.nav-modal.close {
    animation: nav-modal-close .51s;
} 

.nav-modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

@keyframes nav-modal {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

@keyframes nav-modal-close {
    0% {opacity: 1;}
    100% {opacity: 0;}
}
  

@media screen and (max-width: 1000px) {
    .nav-container {
        justify-content: space-around;
    }

    .link {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    #nav_hamburger {
        display: block;
    }
}

@media screen and (max-width: 800px) {

}

@media screen and (max-width: 450px) {

}


/* FOOTER */
.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    background-color: var(--footer);
    height: fit-content;
    padding-top: .5rem;
    padding-bottom: .5rem;
    color: #fff;
    font-size: .8rem;
    gap: .3rem;
    font-weight: 300;
}

.copyright {
    margin-top: .5rem;
    font-size: 1rem;
}

/* LOADING */
.reveal {
    transform: translateY(50px);
    opacity: 0;
    transition: 1s all ease;
}

.reveal-2 {
    transform: translateX(-50px);
    opacity: 0;
    transition: 1s all ease;
}

.reveal.active{
    transform: translateY(0);
    opacity: 1;
}

.reveal-2.active{
    transform: translateX(0);
    opacity: 1;
}

.t2 {
    transition-delay: .2s;
}

.t4 {
    transition-delay: .4s;
}

.t6 {
    transition-delay: .6s;
}

/*NOT FOUND*/
