/* banner -css */
.banner {
    width: 100%;
    height: 800px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-column1{
    width: 80%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.banner-column2{
    height: 100%;
    width: 15%;
    position: relative;
    display: flex;
    align-items: flex-start;
}
.banner-image{
    background-image: url(../../media/images/banner-about.webp);
    width: 100%;
    height: 70%;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}
.banner-title{
    height: 30%;
    text-transform: uppercase;
    position: relative;
    width: 90%;
}
.banner-title .title{
    position: absolute;
    border-right: 3px solid black;
    right: 0;
    height: 150%;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    text-align: right;
    font-size: 3em;
    padding-right: 20px;
}
.banner-title .title h2{
    padding-top: 15px;
    color: var(--HeadingAbout);
}
.banner-title .title h1{
    text-transform: initial;
    font-family: courier;
    font-size: 1.5em;
    color: var(--HeadingAbout);
}
.banner-column2 .title{
    position: absolute;
    height: 70%;
    font-size: 8em;
    text-transform: uppercase;
    margin-top: 10%;
    width: 100%;
    left: -25%;
    display: flex;
    justify-content: flex-end;
}
.banner-column2 .title h1{
    line-height: 1;
}
/* button - css */

.contact-button{
    width: 100%;
    display: flex;
    text-align: right;
    justify-content: flex-end;
    padding: 20px 0px;
}
.contact-button .button{
    display: flex;
    justify-content: center;
    background: #cbd9d1;
    padding: 15px 60px;
    font-size: 1.5em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.5s ease;
}
.contact-button .button a{
    text-decoration: none;
}
.contact-button .button:hover{
    background:var(--lightgray);
}
/* grid - css */
.row .grid-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}
.row .grid-content>*{
    flex: 0 0 350px; 
}
.row .grid-content .grid-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
}
.row .grid-image{
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.row .grid-image img{
    width: auto;
    height: 100%;
    transition: all 0.5s ease;
}
.row .grid-image:hover img{
    transform: scale(1.05);
}
.row .grid-title{
    padding: 25px 0px;
    width: 90%;
    text-align: center;
}

/* about - css */
.content {
    width: 90%;
    display: flex;
    margin-top: 5vh;
    justify-content: space-between;
}

.content .column1{
    width: 75%;
}
.column1 .row{
    width: 100%;
    padding: 2vh 0vh;
}
.column1 .row p{
    padding: 5px 0px;
    line-height: 2;
    text-align: justify;
}
.column1 .row p span{
    font-weight: bold;
}

.column1 .row .box-video{
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.column1 .row .box-video video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


    
@media only screen and (max-width: 1028px) {
    .row .grid-content {
        flex-direction: column;  
    }
   .contact-button{
        justify-content: center;
   }
}   
@media only screen and (max-width: 970px) {
    .content .column1 {
        width: 90%;
    }
}
    
@media only screen and (max-width: 782px) {
    .banner-title {
        margin-top: 20%;
    }
    .banner-title .title{
        height: 190%;
    }
    .banner-column2 .title h1 {
        font-size: 0.8em;
        margin-top: 35%;
    }
} 
@media only screen and (max-width: 632px) {
    .banner-title {
         margin-top: 40%;
    }
    .content{
         width: 100%;
         justify-content: center;
    }
    .banner-title .title{
        height: 260%;
    }
    .banner-column2 .title h1 {
        font-size: 0.7em;
        margin-top: 35%;
    }   
}
@media only screen and (max-width: 550px) {
    .banner-title .title{
        bottom: 50px;
        height: 220%;
    }
    .banner-title .title h1{
        font-size: 1.2em;
    }
    .banner-title .title h2{
        font-size: 0.8em;
    }
}
@media only screen and (max-width: 487px) {
    .row .grid-image{
        width: 250px;
        height: 250px;
    }
    .contact-button .button{
        font-size: 1em;
    }
    .banner-title .title{
        bottom: 20px;
    }
    .banner-title .title h2{
        font-size: 0.6em;
    }
}
@media only screen and (max-width: 390px) {
    .contact-button .button{
        font-size: 0.7em;
    } 
    .banner {
        height: 400px;
    }
    .banner-column1{
        display: table-column;
    }
    .banner-image{
        height: 60%;
    }
    .banner-title {
        margin-top: 70%;
    }
    .banner-column2 .title h1 {
        font-size: 0.4em;
        margin-top: 40%;
    }
    .banner-title .title {
        height: 160%;
        bottom:20vh;
        margin-right: -7%;
    }
    .banner-title .title h1 {
        font-size: 1em;
    }
    .banner-title .title h2 {
        font-size: 0.4em;
    }
}
@media only screen and (max-width: 350px) {
    .banner-title {
        margin-top: 80%;
    }
}