/* ---------------------- Default ---------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: white;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-y: hidden;
    overflow-x: hidden;
}

body {
    margin: 0;

    transition: 0.5s;
}

a,a:visited {
    text-decoration: none; 
    color: none;         
}

/* ---------------------- Base Elements---------------------- */
#background picture, #background img {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    pointer-events: none;

}
#background img {
    z-index: -50;
    
    opacity: 0;            
    transition: opacity 0.5s ease; 
}

#background img.active {
    opacity: 1;
}

main {
    width: 100%;
    height: 100%;
    /* justify-content: center; */
}


/* ---------------------- Nav ---------------------- */

nav {
    width: 100%;
}

#N-l-container h1 {
    margin: 30px 0 0 50px;
}

#N-r-container {
    height: 3.5em;

    display: flex;
}

@media (min-width:851px) {
    nav {
        display: flex;
        height: 10%;
    }

    #N-l-container {
    width: 50%;
    height: 100%;
    }

    #N-r-container {
    width: 50%;

    padding-right: 100px;
    justify-content: flex-end;
    }

    #N-r-container a {
        margin: 1em 30px 0 0;
    }
    content {
        height: 65%;
    }

}
@media (max-width:850px) {
    nav {
        height: 15%;
    }
    content {
        height: 60%;
    }
    #N-l-container {
        width: 100%;
        height: 50%;
    }

    #N-r-container {
        width: 100%;
        justify-content: center;
    }
    #N-r-container a {
        margin: 1em 15px 0 15px;
    }

}

/* ---------------------- Content ---------------------- */

content {
    width: 100%;

    position: relative;

    overflow: hidden;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    transition: 0.7s;
}

content > div:nth-of-type(1) {
    width: 80%;
    height: 50%;
}

content:nth-of-type(1) > div > h2 {
    margin-bottom: 0.25em;
}
content:nth-of-type(1) > div > p {
    margin-bottom: 0.25em;
    margin-left: 1em;
}

content > div:nth-of-type(2) {
    width: 80%;
    height: 50%;

    padding-left: 40%;
}

/* ---------------------- Slider ---------------------- */

#Slider-container {
    width: 100%;
    height: 25%;

    display: flex;
    align-items: center;
    justify-content: center;
}

#Slider {
    width: 80%;
    height: 80%;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1%;
}

.Slider-img {
    position: relative;

    height: 95%;
    width: 15%;

    overflow-x: hidden;
    border-radius: 7px;

    display: flex;
    justify-content: center;

    transition: 0.5s;
}
.Slider-img:hover {
    height: 100%;
    width: 17%;
}

.Slider-img a {
    display: flex;
}

.Slider-img p {
    position: absolute;
    left: 1em;
    bottom: 1em;

    pointer-events: none;
}

.Slider-img img {
    object-fit: cover;
    transition: opacity 0.3s ease-in-out; 
}

.Slider-img::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    content: "";
    background: rgba(0, 0, 0, 0.4);
    border-radius: 7px;
    
    pointer-events: none;
    transition: 0.3s;
}

.Slider-img.active::before {
    background: rgba(0, 0, 0, 0);
}

@media (max-width:1200px) and (min-width:801px){
    .Slider-img {
        width: 18%;
    }
    .Slider-img:hover {
        width: 20%;
    }
}
@media (max-width:800px) and (min-width:501px){
    .Slider-img {
        width: 23%;
    }
    .Slider-img:hover {
        width: 25%;
    }
}
@media (max-width:500px){
    .Slider-img {
        width: 23%;
    }
    .Slider-img:hover {
        width: 25%;
    }
    #Slider {
        width: 100%;
        height: 80%;
    }   
}

/* ---------------------- Slider ---------------------- */

@media (max-width:1000px) {

}









