/* Main Banner  */
.index-banner-container{
    margin: 0px auto;
}
.index-banner{
  position: relative;
  margin: 0px auto;
}
.index-banner img{
    max-width: 100%;
    height: 100vh;
    margin: 0px auto;             
}
.index-banner-container h1{
    position: absolute;
    left: 20%;
    top: 20%;
    font-weight: 700px;
    color: var(--text-red);
    font-size: 50px;
}
/* Company Intro */
.comp-intro{
    margin: 0px auto;
    width: 60%;
    text-align: center;        
}
.comp-intro h1{
    color:var(--text-red);
}
@media screen and (max-width: 600px){
    .comp-intro{
        width: 80%;                
    }
}
.comp-mvv-flex-container{
    display: flex;
    align-items: center;
    flex-flow: row wrap;
    justify-content: space-evenly;
}
.cmvv-flex-item{
    display: inline-block;
    text-align: center;
    width: 28%;
    height: 250px;
    box-shadow: 3px 2px 5px rgb(227, 224, 224);
}
.cmvv-flex-item h1{
    color: var(--text-red);
}
.cmvv-flex-item p{
    padding-left: 10px;
    padding-right: 10px;
}
div.cmvv-flex-item#mission ul{
    display: inline-block;
    margin: 0px auto;
    text-align: left;
}

div.cmvv-flex-item#values ul{
    display: inline-block;
    margin: 0px auto;
    text-align: left;
}

@media screen and (max-width: 850px){
    .cmvv-flex-item{
        width: 95%;
        height: auto;
    }
    .cmvv-flex-item p{
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Company Statistics */
.comp-stats{
    background-color: var(--bg-black);
    padding-bottom: 40px;
}
.cs-title{
    color: var(--text-red);
    text-align: center;
}
.cs-title h1{
    margin-top: 0px;
}
.comp-stats-flex-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
    color: whitesmoke;
}
.cs-items{
    width: 22%;
    display: inline;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;             
}
.cs-items h1{
    font-size: 50px;
    margin: 0px;
    color:var(--text-red);
}
.cs-items h3{
    margin: 0px;
}
@media screen and (max-width: 450px){
    .comp-stats-flex-container{
        justify-content: space-evenly;
    }
    .cs-items{
        width: 100%;
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

/* Product Ring Gear  */
.cproduct-flex-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: row wrap;
}
.cproduct-flex-container div{
    width: 30%;      
    display: inline;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
}

@keyframes prod-img-slider{
    0% {background-image: url("../images/rgfront.png");}
    10% {background-image: url("../images/rgside.png");}
    50% {background-image: url('../images/rgside.png');}
    60% {background-image: url('../images/rgfront.png');}
}
.cproduct-img-slider {
    width: 30%;
    height: 400px;      
    background-image: url("../images/rgfront.png");
    background-repeat: no-repeat;
    background-position: center;
    animation-name: prod-img-slider;
    animation-delay: 2s;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    animation-timing-function: ease;                             
}

.cproduct-desc h1{
    color: var(--text-red);
    font-size: 32px;
}
.cproduct-desc p{
    padding-left: 20px;
    padding-right: 20px;
}
@media screen and (max-width: 850px){
    .cproduct-flex-container div{
        width: 100%;    
    }

}

/* Market Segments  */
.market-segments{
    color: var(--text-black);
    background-color: lightgray;
}
.mseg-title{
    text-align: center;
    padding-bottom: 20px;
}
.mseg-title h1{
    margin: 0px;
    font-size: 30px;
    color:var(--text-red);
}
.mseg-flex-container{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-flow: row wrap;
    
}
.mseg-flex-item{
    display: inline-block;
    max-width: 20%;
    background-color:white;
    border: 10px white solid;
    margin: 0px;
    padding: 0px;
    text-align: center;
}
.mseg-flex-item img{
    max-width: 100%;
    padding-bottom: 15px;
}
.mseg-flex-item span{
    display: block;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}
@media screen and (max-width: 1140px){
    .mseg-flex-item{
        max-width: 50%;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}
@media screen and (max-width: 657px){
    .mseg-flex-item{
        max-width: 70%;
    }
}

/* Company Customers  */
.ccust-desc {
    text-align: center;
}
.ccust-desc h1{
    margin-top: 0px;
    color: var(--text-red);
    font-size: 30px;
}
.ccust-desc p{
    padding: 20px;
    width: 60%;
    margin: 0px auto;
}
.ccust-logos-flex-container{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-flow: row wrap;
    padding-top: 20px;
}
.ccust-logo-flex-item img{
    max-width: 90px;
    max-height: 90px;
    padding: 20px;
}
@media screen and (max-width: 600px){
    .ccust-desc p{
        width: 80%;
    }
}
/* Get in touch  */
.get-in-touch{
    margin: 0px;
    background-color: var(--bg-black);
    color: var(--text-white);
    text-align: center;
}
.get-in-touch h1{
    margin: 0px;
    margin-bottom: 30px;
    font-size: 30px;
    color: var(--text-red);
}
.get-in-touch h3{
    margin: 0px;
    font-size: 18px;
    padding-bottom: 10px;
}
.get-in-touch p{
    padding: 0px 20px 20px;
    max-width: 60%;
    margin: 0px auto;
    
}
.get-in-touch button a{
    text-decoration: none;
    color: var(--text-black);
}
@media screen and (max-width: 600px){
    .get-in-touch p{
        max-width: 80%;
    }
}