html{
    scroll-behavior: smooth;
}

.main-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width:100%;
    gap:100px;
}


.banner{
    position: relative;
    text-align: center;
    color: white;
    box-shadow: 0 0 25px black;
    background-color: #009688;
}

.title{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    transform: translate(-50%, -50%);
    background-color: rgb(0, 0, 0, 0.7);
}

.title h1{
    font-size: 8em;
    padding:0;
    margin:0;
}

.title h2{
    padding:0;
    margin:0;
    font-weight: 500;
    font-size: 2.5em;
}

.banner img{
    width:100%;
    height: 94vh;
    object-fit: cover;
}

.topline{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2em;
    margin-top: 1em;
}

.line{
    height:3px;
    width: 350px;
    background-color: white;
}

.scrolldown img{
    width: 50px;
    height: 50px;
    position: absolute;
    bottom: 10vh;
    transform: translate(-25px,0);
    transition: 0.3s ease;
}

.scrolldown img:hover{
    transform: scale(1.2) translate(-40%);
}

/* Main Content*/

.block{
    scroll-margin-top: 76px;
    width: 90%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    background-color: #EAEDED ;
}

  /*scroll*/
/*End of Scroll
Back to main content*/


.block img{
    width: 60%;
    height:500px;
    object-fit: cover;
}

.text-div{
    width: calc(40% - 3px - 2em);
    margin: 3em;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: calc(500px - 6em);
}

.text-div h2{
    font-weight: 500;
    font-size: 2em;
    margin: 0;
}

.text-div h3{
    font-weight: 500;
    border:#009688;
    border-style: solid;
    border-width: 3px;
    padding: 1em 2em;
    margin: 0;
}

.text-div p{
    font-size:1.5em;
}

.div-line{
    height:500px;
    width:3px;
    background-color: #009688;
    margin: 0 0 0 1em;
}

.text-div a{
    all:unset;
    cursor: pointer;
    transition: 400ms ease-in-out;
    font-weight: 500;
}

.text-div a:hover{
    color:#fff;
    background-color:#009688;
}

/* Wide */

#wide{
    width:100%;
    height: 600px;
}

#wide .text-div{
    margin:0;
    padding: 48px;
    padding-left: calc(5% + 3em);
    width: 30%;
    height: calc(600px - 6em);
    color:#fff;
    background-color: #00695C;
}

#wide .text-div h3 {
    font-weight: 500;
    border: #fff;
    border-style: solid;
    border-width: 3px;
    padding: 1em 2em;
    margin: 0;
}

#wide .text-div a{
    all:unset;
    cursor: pointer;
    transition: 400ms ease-in-out;
    font-weight: 500;
}

#wide .text-div a:hover{
    color:#00695C;
    background-color:#fff;
}

#wide h2{
    font-size: 2.3em;
}

#wide p{
    font-size: 1.7em;

}

/* products*/

.container{
    position: relative;
    padding:0;
    width: calc(100% - 150px - 30% - 2em);
    margin: 0;
    max-height: 600px;
}

.gallery{
    display: flex;
    flex-flow: row nowrap;
    margin-left:100px;
    margin-right: 50px;
}
.gallery-wrapper{
    overflow-x: auto;
}

.gallery img{
    margin-top: 50px;;
    height:450px;
    width:450px;
    object-fit: cover;
}

.arrow-left,.arrow-right{
    position:absolute;
    z-index: 0;
    top: 250px;
    bottom: 300px;
    left: 0;
    right: auto;
    cursor: pointer;
    border: none;
    opacity: 0.4;
    transition: 600ms ease-in-out;
}

.arrow-right{
    left: auto;
    right: 0;
}

.arrow-left img, .arrow-right img{
    width:50px;
    height:50px;
}

.arrow-left:hover,.arrow-right:hover{
    opacity: 1;
}

.item{
    width: 1500px;
    height: 600px;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap:50px;
}

.item h3{
    font-weight: 500;
    margin: 0;
    padding: 0;
    font-size: 1.7em;
    margin-top: 25px;
}

.separator{
    border: 0 solid;
    border-top-width: 3px;
    border-bottom-width: 0;
    border-color: #00695C;
}

/* Responsive layout*/


/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) and (max-width: 992px) {

    /* BANNER */

    .banner .title{
        width: 100%;
        height: auto;
    }

    .title h1{
        font-size: 4em;
        padding-bottom: 2vh;
    }

    .title h2{
        padding-top: 2vh;
    }

    .topline{
        margin-top:0;
    }
    
    .banner .title .topline .line{
        display: none;
        visibility: hidden;
    }

    /*MAIN CONTAINER*/

    .block{
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .text-div{
        width: calc(90%);
        align-items: center;
        justify-content: center;
    }

    .div-line{
        width: 90%;
        height: 3px;
    }

    .block img{
        margin-top: 3em;
        margin-bottom: 3em;
        width:90%;
        height: auto;
    }

    .text-div p{
        font-size: 2em;
        text-align: justify;
    }

    .text-div h2{
        font-size: 2.3em;
    }

    .text-div a{
        font-size: 1.5em;
    }

    /* WIDE */
    #wide{
        height: auto;
    }

    #wide .text-div, #wide .container{
        width: 90%;
        
    }

    #wide .text-div{
        padding:48px;
        height: auto;
        align-items: center;
        justify-content: center;
    }

    #wide .text-div p{
        font-size: 2em;
        text-align: justify;
    }

    #wide .text-div h2{
        font-size: 2.3em;
    }

    #wide .text-div a{
        font-size: 1.5em;
    }

    #wide .container{
        display: flex;
        flex-direction: row;
    }
    
    .arrow-left, .arrow-right{
        width: 50px;
    }

    .gallery img {
        margin-top: 50px;
        height: 450px;
        width: 450px;
        margin-bottom: 0;
    }

}

@media only screen and (min-width: 992px) and (max-width: 1300px) {
    .text-div h2{
        font-size: 1.5em;
    }
    
    .text-div p{
        font-size: 1.2em;
    }
}

/* Hide scrollbar for Chrome, Safari and Opera */
.gallery-wrapper::-webkit-scrollbar {
    display: none;
  }
  
  /* Hide scrollbar for IE, Edge and Firefox */
  .gallery-wrapper {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }