@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&display=swap');

* {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    color: white;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: black;
    overflow: visible;
}

@media only screen and (min-width:400px){

    .header::before {
        content: "";
        background-color: black;
        position: absolute;
        width: 100%;
        height: 70px;
        z-index: -1;
        opacity: 0.4;
        /* border: 3px solid green; */
    }
    
    .header {
        /* border: 3px solid white; */
        height: 70px;
        width: 100%;
    }
    
    #logo {
        width: 10%;
        /* border: 3px solid green; */
    }
    
    #logo img {
        /* border: 3px solid red; */
        width: 150px;
        filter: invert(100%); 
        /* margin-top: -15px;
        margin-left: -35px; */
    }
}

@media only screen and (max-width:578px){
    .header::before {
        content: "";
        background-color: black;
        position: absolute;
        width: 100%;
        height: 70px;
        z-index: -1;
        opacity: 0.4;
        /* border: 3px solid green; */
    }
    
    .header {
        /* border: 3px solid white; */
        height: 70px;
        width: 100%;
    }
    
    #logo {
        width: 10%;
        /* border: 3px solid green; */
    }
    
    #logo img {
        /* border: 3px solid red; */
        width: 120px;
        filter: invert(100%); 
        margin-top: -3px;
        margin-left: -25px;
    }
}

@media only screen and (max-width: 436px){
    .header::before {
        content: "";
        background-color: black;
        position: absolute;
        width: 100%;
        height: 60px;
        z-index: -1;
        opacity: 0.4;
        /* border: 3px solid green; */
    }
    
    .header {
        /* border: 3px solid white; */
        height: 60px;
        width: 100%;
    }
    
    #logo {
        width: 10%;
        /* border: 3px solid green; */
    }
    
    #logo img {
        /* border: 3px solid red; */
        width: 100px;
        filter: invert(100%); 
        margin-top: -3px;
        margin-left: -25px;
    }
}

@media only screen and (max-width: 1640px){

    @media (min-aspect-ratio: 16/9){
        .back-video{
            width: 100%;
            height: auto;
        }
    }
    
    @media (max-aspect-ratio: 16/9){
        .back-video{
            width: auto;
            height: 100%;
        }
    }

.container {
    position: absolute;
    top: 0;
    display: flex;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    z-index: -2;
    /* border: 3px solid white; */
}

.container::before {
    content: "";
    position: absolute;
    background-image: url(../img/project1/pexels-alex-conchillos-3745234.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 100%;
    width: 100%;
    z-index: -2;
    opacity: 0.1;
}

.slide-wrapper {
    position: absolute;
    max-width: 45rem; /* Set the maximum width for the slider container */
    margin: 0 auto;
    top: 150px;
    right: 40px;
    /* overflow: hidden; */
}

.slider {
    display: flex;
    aspect-ratio: 16/9;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
    border-radius: 10px;
    overflow-x: hidden; /* Hide horizontal overflow */
    position: relative;
}

.slider img {
    flex: 1 0 100%;
    height: auto;
    object-fit: cover;
}

.slider-nav {
    display: flex;
    justify-content: center; /* Center align navigation bullets */
    position: absolute;
    bottom: 10px; /* Adjust vertical position of bullets */
    left: 0;
    right: 0;
}

.slider-nav a {
    width: 20px; /* Adjust bullet size */
    height: 20px;
    border-radius: 50%;
    background-color: black;
    opacity: 0.75;
    transition: opacity ease 250ms;
    margin: 0 5px; /* Add some space between bullets */
}

.slider-nav a:hover {
    opacity: 1;
}

.container .details{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 250px;
    left: 40px;
    border-left: 2px solid white;
    /* border: 3px solid green; */
    width: 500px;
}

.details h1{
    font-size: 5rem;
    font-weight: 500;
    margin-bottom: 25px;
    padding: 0px 20px;
}

.details p{
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 25px;
    padding: 0px 20px;
}

.details a{
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 25px;
    padding: 0px 20px; 
    transition: 400ms ease;
}

.details a:hover{
    color: rgb(133, 133, 133);
}
}


@media only screen and (max-width: 1370px){

    @media (min-aspect-ratio: 16/9){
        .back-video{
            width: 100%;
            height: auto;
        }
    }
    
    @media (max-aspect-ratio: 16/9){
        .back-video{
            width: auto;
            height: 100%;
        }
    }

.container {
    position: absolute;
    top: 0;
    display: flex;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    z-index: -2;
    /* border: 3px solid white; */
}

.container::before {
    content: "";
    position: absolute;
    background-image: url(../img/project1/pexels-alex-conchillos-3745234.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 100%;
    width: 100%;
    z-index: -2;
    opacity: 0.1;
}

.slide-wrapper {
    position: absolute;
    max-width: 45rem; /* Set the maximum width for the slider container */
    margin: 0 auto;
    top: 150px;
    right: 40px;
    /* overflow: hidden; */
    transition: 400ms ease;  
}

.slider {
    display: flex;
    aspect-ratio: 16/9;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
    border-radius: 10px;
    overflow-x: hidden; /* Hide horizontal overflow */
    position: relative;
}

.slider img {
    flex: 1 0 100%;
    height: auto;
    object-fit: cover;
}

.slider-nav {
    display: flex;
    justify-content: center; /* Center align navigation bullets */
    position: absolute;
    bottom: 10px; /* Adjust vertical position of bullets */
    left: 0;
    right: 0;
}

.slider-nav a {
    width: 20px; /* Adjust bullet size */
    height: 20px;
    border-radius: 50%;
    background-color: black;
    opacity: 0.75;
    transition: opacity ease 250ms;
    margin: 0 5px; /* Add some space between bullets */
}

.slider-nav a:hover {
    opacity: 1;
}

.container .details{
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 250px;
    left: 40px;
    border-left: 2px solid white;
    /* border: 3px solid green; */
    width: 500px;
}

.details h1{
    font-size: 5rem;
    font-weight: 500;
    margin-bottom: 25px;
    padding: 0px 20px;
}

.details p{
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 25px;
    padding: 0px 20px;
}

.details a{
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 25px;
    padding: 0px 20px; 
    transition: 400ms ease;
}

.details a:hover{
    color: rgb(133, 133, 133);
}
}

@media only screen and (max-width:1368px){

    .container {
        position: absolute;
        top: 0;
        display: flex;
        width: 100%;
        height: 140vh;
        flex-direction: column;
        z-index: -2;
        /* border: 3px solid white; */
    }
    
    .container::before {
        content: "";
        position: absolute;
        background-image: url(../img/project1/pexels-alex-conchillos-3745234.jpg);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        height: 140vh;
        width: 100%;
        z-index: -2;
        opacity: 0.1;
    }
    
    .slide-wrapper {
        /* border: 2px solid white; */
        position: relative;
        max-width: 40rem; /* Set the maximum width for the slider container */
        min-width: auto;
        margin: auto;
        transform: translateX(50%);
        transform: translateY(55%);
        /* overflow: hidden; */
        transition: 400ms ease;  
        left: 0;
        right: 0;
    }
    
    .slider {
        display: flex;
        aspect-ratio: 16/9;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
        border-radius: 10px;
        overflow-x: hidden; /* Hide horizontal overflow */
        position: relative;
    }
    
    .slider img {
        flex: 1 0 100%;
        height: auto;
        object-fit: cover;
    }
    
    .slider-nav {
        display: flex;
        justify-content: center; /* Center align navigation bullets */
        position: absolute;
        bottom: 10px; /* Adjust vertical position of bullets */
        left: 0;
        right: 0;
    }
    
    .slider-nav a {
        width: 20px; /* Adjust bullet size */
        height: 20px;
        border-radius: 50%;
        background-color: black;
        opacity: 0.75;
        transition: opacity ease 250ms;
        margin: 0 5px; /* Add some space between bullets */
    }
    
    .slider-nav a:hover {
        opacity: 1;
    }
    
    .container .details{
        display: flex;
        flex-direction: column;
        /* position: absolute; */
        top: 250px;
        border-left: 2px solid white;
        border-right: 2px solid white;
        /* border: 3px solid green; */
        width: 92%;
        text-align: center;
        height: 300px;
    }
    
    .details h1{
        font-size: 5rem;
        font-weight: 500;
        margin-bottom: 25px;
        padding: 0px 20px;
    }
    
    .details p{
        font-size: 1rem;
        font-weight: 500;
        margin-bottom: 25px;
        padding: 0px 20px;
    }
    
    .details a{
        font-size: 1.5rem;
        font-weight: 500;
        margin-bottom: 25px;
        padding: 0px 20px; 
        transition: 400ms ease;
    }
    
    .details a:hover{
        color: rgb(133, 133, 133);
    }
}

@media only screen and (max-width: 720px){

    .container {
        position: absolute;
        top: 0;
        display: flex;
        width: 100%;
        height: 140vh;
        flex-direction: column;
        z-index: -2;
        /* border: 3px solid white; */
    }
    
    .container::before {
        content: "";
        position: absolute;
        background-image: url(../img/project1/pexels-alex-conchillos-3745234.jpg);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        height: 140vh;
        width: 100%;
        z-index: -2;
        opacity: 0.1;
    }
    
    .slide-wrapper {
        /* border: 2px solid white; */
        position: relative;
        max-width: 30rem; /* Set the maximum width for the slider container */
        min-width: auto;
        margin: auto;
        transform: translateX(50%);
        transform: translateY(50%);
        /* overflow: hidden; */
        transition: 400ms ease;  
        left: 0;
        right: 0;
    }
    
    .slider {
        display: flex;
        aspect-ratio: 16/9;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
        border-radius: 10px;
        overflow-x: hidden; /* Hide horizontal overflow */
        position: relative;
    }
    
    .slider img {
        flex: 1 0 100%;
        height: auto;
        object-fit: cover;
    }
    
    .slider-nav {
        display: flex;
        justify-content: center; /* Center align navigation bullets */
        position: absolute;
        bottom: 10px; /* Adjust vertical position of bullets */
        left: 0;
        right: 0;
    }
    
    .slider-nav a {
        width: 20px; /* Adjust bullet size */
        height: 20px;
        border-radius: 50%;
        background-color: black;
        opacity: 0.75;
        transition: opacity ease 250ms;
        margin: 0 5px; /* Add some space between bullets */
    }
    
    .slider-nav a:hover {
        opacity: 1;
    }
    
    .container .details{
        display: flex;
        flex-direction: column;
        /* position: absolute; */
        top: 200px;
        border-left: none;
        border-right: none;
        /* border: 3px solid green; */
        width: 92%;
        text-align: center;
        height: 300px;
    }
    
    .details h1{
        font-size: 4rem;
        font-weight: 500;
        margin-bottom: 25px;
        padding: 0px 20px;
    }
    
    .details p{
        font-size: 0.8rem;
        font-weight: 500;
        margin-bottom: 25px;
        padding: 0px 20px;
    }
    
    .details a{
        font-size: 1rem;
        font-weight: 500;
        margin-bottom: 25px;
        padding: 0px 20px; 
        transition: 400ms ease;
    }
    
    .details a:hover{
        color: rgb(133, 133, 133);
    }
}


@media only screen and (max-width: 542px){
    .container {
        position: absolute;
        top: 0;
        display: flex;
        width: 100%;
        height: 130vh;
        flex-direction: column;
        z-index: -2;
        /* border: 3px solid white; */
    }
    
    .container::before {
        content: "";
        position: absolute;
        background-image: url(../img/project1/pexels-alex-conchillos-3745234.jpg);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        height: 130vh;
        width: 100%;
        z-index: -2;
        opacity: 0.1;
    }
    
    .slide-wrapper {
        /* border: 2px solid white; */
        position: relative;
        max-width: 20rem; /* Set the maximum width for the slider container */
        min-width: auto;
        margin: auto;
        transform: translateX(50%);
        transform: translateY(-20%);
        /* overflow: hidden; */
        transition: 400ms ease;  
        left: 0;
        right: 0;
    }
    
    .slider {
        display: flex;
        aspect-ratio: 16/9;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
        border-radius: 10px;
        overflow-x: hidden; /* Hide horizontal overflow */
        position: relative;
    }
    
    .slider img {
        flex: 1 0 100%;
        height: auto;
        object-fit: cover;
    }
    
    .slider-nav {
        display: flex;
        justify-content: center; /* Center align navigation bullets */
        position: absolute;
        bottom: 10px; /* Adjust vertical position of bullets */
        left: 0;
        right: 0;
    }
    
    .slider-nav a {
        width: 15px; /* Adjust bullet size */
        height: 15px;
        border-radius: 50%;
        background-color: black;
        opacity: 0.75;
        transition: opacity ease 250ms;
        margin: 0 5px; /* Add some space between bullets */
    }
    
    .slider-nav a:hover {
        opacity: 1;
    }
    
    .container .details{
        display: flex;
        flex-direction: column;
        /* position: absolute; */
        top: 200px;
        border-left: none;
        border-right: none;
        /* border: 3px solid green; */
        width: 86%;
        text-align: center;
        height: 300px;
    }
    
    .details h1{
        font-size: 3.5rem;
        font-weight: 500;
        margin-bottom: 25px;
        padding: 0px 20px;
    }
    
    .details p{
        font-size: 0.6rem;
        font-weight: 500;
        margin-bottom: 25px;
        padding: 0px 20px;
    }
    
    .details a{
        font-size: 0.8rem;
        font-weight: 500;
        margin-bottom: 25px;
        padding: 0px 20px; 
        transition: 400ms ease;
    }
    
    .details a:hover{
        color: rgb(133, 133, 133);
    }
}

@media only screen and (max-width: 362px){

    .container {
        position: absolute;
        top: 0;
        display: flex;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        z-index: -2;
        /* border: 3px solid white; */
    }
    
    .container::before {
        content: "";
        position: absolute;
        background-image: url(../img/project1/pexels-alex-conchillos-3745234.jpg);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        height: 100vh;
        width: 100%;
        z-index: -2;
        opacity: 0.1;
    }

    .slide-wrapper {
        /* border: 2px solid white; */
        position: relative;
        max-width: 15rem; /* Set the maximum width for the slider container */
        min-width: auto;
        margin: auto;
        transform: translateX(50%);
        transform: translateY(-10%);
        /* overflow: hidden; */
        transition: 400ms ease;  
        left: 0;
        right: 0;
    }

    .container .details{
        display: flex;
        flex-direction: column;
        /* position: absolute; */
        top: 200px;
        border-left: none;
        border-right: none;
        /* border: 3px solid green; */
        width: 82%;
        text-align: center;
        height: 300px;
    }
    
    .details h1{
        font-size: 2.5rem;
        font-weight: 500;
        margin-bottom: 25px;
        padding: 0px 20px;
    }
    
    .details p{
        font-size: 0.4rem;
        font-weight: 500;
        margin-bottom: 25px;
        padding: 0px 20px;
    }
    
    .details a{
        font-size: 0.6rem;
        font-weight: 500;
        margin-bottom: 25px;
        padding: 0px 20px; 
        transition: 400ms ease;
    }
}

@media only screen and (width: 1025px) and (height: 600px){
    .container {
        position: absolute;
        top: 0;
        display: flex;
        width: 100%;
        height: 100%;
        flex-direction: column;
        z-index: -2;
        /* border: 3px solid white; */
    }
    
    .container::before {
        content: "";
        position: absolute;
        background-image: url(../img/project1/pexels-alex-conchillos-3745234.jpg);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        height: 100%;
        width: 100%;
        z-index: -2;
        opacity: 0.1;
    }
}