
@media(max-width: 1195px){

    .landing-statement-wrapper{
        position: relative;
        top: -40px;
        padding-left: 1rem;
        padding-bottom: 2rem;
    }

    .landing-statement-wrapper h1{
        font-size: var(--krg-font-size-h2);
        font-weight: var(--krg-fontweight-bold);
        color: var(--KRGWhite);
        padding-left: 1rem;
    }

}

@media(max-width: 920px){

    .carousel{
        visibility: visible;
        display: grid;
        place-items: center;
        padding-top: 3rem;/* This positions the Carousel dive in Section */
    }

    .about .about-wrapper{
        max-width: 1000px;
        margin: auto;
        padding-top: 2rem;
     }
    
    
     .about .about-wrapper .image-content-right video{
        width: 600px;
        padding-left: 2rem;
     }

    /* #region services */
.services{
    height: auto;
    background-color:var(--plain);  
}

.services .service-wrapper{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2rem;
    gap:2rem;
}

.services .service-wrapper .services-text {
    width: 350px;
    padding-right: 3rem;
}
.services h1{
    font-size: var(--krg-headers-fontsize-mobile);
    font-weight: var(--krg-headers-fontweight-mobile);
    color: var(--KRGDark);
    padding-left: var(--krg-headers-padding-mobile);
}

.services p{
    font-size: var(--krg-font-size-plus);
    color: var(--KRGDark); 
    font-weight: 400;
    padding: 5px;
} 

/* #endregion services */

}

@media(max-width: 767px) and (min-width:320px){

html{
    overflow-x: hidden;
    scroll-behavior:smooth;
    scroll-padding-top: var(--scroll-padding, 25px);
}

.linkedpage {
    display: none;
}

.linkedpage-mobile {
    display:block;
} 


.header-icon{
    padding-left: 1rem;
    height: 3rem;
}

/* #region landing */
.landing{
    position: relative;
    min-height:100svh;
    left:0px;
    background-size:cover;
    background-repeat: no-repeat;
}


.landing-statement-wrapper h1{
    font-size: var(--krg-font-size-plus);
    font-weight: var(--krg-fontweight-bold);
    color: var(--KRGWhite);
    padding-left: 1rem;
}

.landing .back{
    padding-left: 1rem;
    padding-right: 1rem;
}

    .carousel{
        visibility: visible;
        display: grid;
        place-items: center;
        padding-top: 100px;/* This positions the Carousel dive in Section */
    }

/* #endregion landing */

/* #region about */
.about{
    min-height: fit-content;
}

.about .about-wrapper{
    max-width: 1000px;
    margin: auto;
    padding-top: 2rem;
 }


 .about .about-wrapper .group-card-vid video{
    padding: 10px;
    width: 100vw;
 }

.about h1{
    font-size: var(--krg-headers-fontsize-mobile);
    font-weight: var(--krg-headers-fontweight-mobile);
    color: var(--KRGDark);
    padding-left: var(--krg-headers-padding-mobile);
}

/* #endregion about */

/* #region Banner1 */
.banner1{
    min-height:100svh;
    background-image: url(../assets/images/sections/banner1-portrait.png);
    background-size:cover;
    background-repeat: no-repeat;  
    background-attachment: local ;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner1 .statement{
    width: 60%;
    padding-bottom: 14rem;
}

.banner1 .statement .p{
    font-size: var(--krg-font-size-plus);
}
.banner1 .statement p{
    color: white;
    font-size: var(--krg-font-size-h2-mobile);
    font-weight: var(--krg-headers-fontweight-mobile);
}

/* #endregion Banner1 */

/* #region - Banner 2 */
.banner-video-wrapper video{
    min-width: 110%;
}
/* #endregion - Banner 2 */

/* #region sectors */
    .sectors{
        height: fit-content;
     }
    .sectors h1{
       font-size: var(--krg-headers-fontsize-mobile);
       font-weight: var(--krg-headers-fontweight-mobile);
       color: var(--KRGDark);
    }
    .sectors h2{
       font-size: 2.5vw;
       font-weight: 900;
       color: var(--KRGDark);
       padding-top: 20px;
    }

    .sectors-wrapper{
        max-width: 350px;
        margin: auto;
    }
    
    .sectors-text{
        display:grid;
        gap: 1rem;
        grid-template-columns: repeat(auto-fit, minmax(300px, 3fr));
    }
    
    .sectors-card{
        padding: 1rem;
        min-width: 100px;
    }

    .sectors-images{
        display: flex;
        align-items: center;
        justify-content:start;
        flex-wrap: wrap;
    }
    
    .sectors-images img{
        border-radius: 10px;
        max-width: 18%;
        min-width:50px;
        margin: 2px;
    }


/* #endregion sectors */

/*#region- contact */
.contact{ 
    min-height: 60svh;
    background-image: url(../assets/images/contact/graphic-chevron-trans.png);
    background-repeat: no-repeat;
    background-position: right;  
    /* margin-bottom: 5rem; */
}


.contact .contact-statement-wrapper h1{
    padding-left: 2.5rem;

}

.contact .contact-wrapper{
    width: 400px;
    padding-left: 0rem;
    padding-top: 20%;
}

.contact .contact-wrapper .contact-address{
    min-width:350px;
}

.contact .contact-wrapper .contact-address h3{
font-size: var(--krg-font-size);
}

/*#endregion- contact */

.footer .share h3{
    font-size: var(--krg-headers-fontsize-mobile);
    font-weight: var(--krg-headers-fontweight-mobile);
    color: var(--KRGBlue);
    padding-left: var(--krg-headers-padding-mobile);
}

.sitemap .sitemap-wrapper .sitemap-text .sm3{
    padding: 2rem;
    max-width: 300px;
    margin-bottom: 3rem;
 }


/* #region Modal Control */

.modal-sector-part{
    height: 90svh;
    width: 95vw;
    margin: auto;
    border-radius: 10px;
}

 .modal-sector-container img{
    width:140%;
    height: 100%;
} 

.modal-sector-container .modal-sector-content .modal-sector-list h2{
    font-size: var(--krg-font-size);
}

.modal-sector-container .modal-sector-content .modal-sector-header h1{
    font-size: var(--krg-font-size-plus);
    font-weight: var(--krg-fontweight-bold);
    color: white;
}


.modal-service-part{
    height:48%;
    width: 85vw;
    margin: auto;
    border-radius: 10px;
    overflow: hidden;
}

.modal-service-image img{
  /* width:84vw; */
}

 .modal-close-button{
    display: flex;
    margin: auto;
    align-items: center;
    justify-content: center;
    padding-bottom: 0.5rem;
 }

/* #endregion Modal Control */

}

@media(height < 769px) and (width > 1100px){
/* #region Modal Control */

.modal-sector-part{
    height: fit-content;
    width:95vw;
    margin: auto;
    border-radius: 10px;
    overflow: hidden; 
}

 .modal-sector-container img{
    width:140%;
    height: 100%;
} 

.modal-sector-container .modal-sector-content .modal-sector-list h2{
    font-size: var(--krg-font-size);
}

.modal-sector-container .modal-sector-content .modal-sector-header h1{
    font-size: var(--krg-font-size-plus);
    font-weight: var(--krg-fontweight-bold);
    color: white;
}


.modal-service-part{
    height:fit-content;
    width: fit-content;
    /* margin: auto; */
    border-radius: 10px;
    overflow: hidden;

}

.modal-service-image img{
/*   width:80%;
  height: 50%; */
}

 .modal-close-button{
    display: flex;
    margin: auto;
    align-items: center;
    justify-content: center;
    padding-bottom: 0.5rem;
 } 

/* #endregion Modal Control */


}

/*menu only*/
@media(max-width: 768px){

    header #menu{
        /* display: block; */
        visibility: visible;
    }
    header #menu1{
        display: block;
    }

    header .navbar{
        position: fixed;
        top:-120%; 
        left: 0;
        width: 100%;
        /* Below is hamburger dropdown */
        background: var(--KRGBlue);
        opacity: 1;
    }

    header .navbar ul{
        flex-flow: column;
        padding: 2rem;
    }

    header .navbar ul li{
        width: 100%;
        text-align: center;
    }

    header .navbar1 ul li{
        width: 100%;
        text-align: center;
        list-style-type: none;
    }

    header .navbar ul li a{
      display: block;
      background: var(--KRGWhite);
      margin: 1rem 0;
      padding: 1rem;
      font-size: 2.5rem;
      z-index: 0;
    }

    header .navbar1 ul li a{
        display: block;
        background: var(--KRGWhite);
        color: var(--KRGBlue);
        margin: 0rem 0;
        padding: 0rem;
        font-size: 1.5rem;
        z-index: 0;

      }

    header .navbar ul li a::before{
        height: 100%;
        bottom: 0;
        z-index: -1;
        background: var(--KRGLight);
    }

    .fa-times{
        transform: rotate(180deg);
    }

    header .navbar.nav-toggle{
        top: 7.4rem;
    }


/*     .header-background{
        padding: 2px;
        background-image: url(../assets/images/main/KRG-CHEVRON.png);
        background-size: contain;
        background-repeat: no-repeat;
        padding-left: 20px;
        left: 1rem;
        position: relative;
    }  */


    #service-description{
        width: 90vw;
    }

    .add-size{
        padding: 1rem;
        max-height: 550px;
        min-width: 50px;
        height: 60vh;
        width: 75%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .services .row .content{  
        min-width: 200px;
        display: flex;  
        align-items: center;
        justify-content: space-evenly;
        flex-wrap: wrap;
    }
}

@media(max-width:550px){
    .about{
        min-height:auto; 
     }
    .about .about-wrapper{
        max-width: 1000px;
        margin: auto;
        padding-top: 2rem;
     }
    
     .about .about-group{
        display:grid;
        gap: 1rem;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
     }
     
     .about  .group-card{
        padding: 1rem;
        min-width: 350px;
      }
    
     .about .about-wrapper .group-card video{
        width: 350px;
     }
}

@media (max-height: 450px) and (orientation: landscape) {

    .carousel{
       display: none;
    }
  
  }
