main{
    width: 100%;
    height: calc(70vh - 60px);
    background-color: rgb(53, 65, 65);
    margin-top:60px;
    background-image: url(../img/rctlogotransparent.png),url(../img/quatrobgjpggr.jpg);
    background-size: 30vh, cover;
    background-repeat: no-repeat;
    background-position:bottom left calc(50% + 80px), center;
    display: flex;
    justify-content: center;
    align-items:center;
   padding-left: 10%;
}

main h1{
    font-size: 2.8rem;
    line-height: 1.7;
    color: #fff;
    font-weight: 600;
    text-shadow: 0px -2px 0 #000000;
    
}
main p{
    font-size: 2.4rem;
    line-height: 1.8;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    text-shadow: 0px -2px 0 #000;
  
}

main a{
    margin-top:30px;
    display: block;
    text-transform: uppercase;
    background-color: var(--site-color-01);
    padding: 10px 20px;
    width: fit-content;
    border-radius: 10px;
    border-bottom:#d4a017 1px solid;
}

main a:hover{
    color:#fff;
   
}
/* about section */

.index-describe{
    width: 100%;
    padding: 20px 0;
    padding-left: 10%;
    
}
.index-describe-flex{
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap:20px ;
   
}
.index-describe-about{
    flex-basis: 650px;
    
}
.index-describe-about h2 {
    font-size: 2.1rem;
    color: #fff;
    text-transform: uppercase;
    margin-left: 30px;
    text-shadow: 0px -2px 0 #000;
}
.index-describe-about p{
    border-left: 3px solid var(--site-color-02);
    padding:20px;
    font-size: 1.8rem;
    line-height: 1.5;
}
.index-describe-chooseus{
    margin-top: 26px;
}
.index-describe-chooseus p{
       font-size: 1.7rem;
       line-height: 1.75;
    
}
.index-describe-chooseus h2{
    font-size: 1.8rem;
    line-height: 1.75;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0px -2px 0 #000;
    
}

/* gallery section */
.index-gallery{
    width: 100%;
    padding: 60px 0;
    background-color: gray;
    display: flex;
    justify-content: center;
    column-gap: 20px;
    flex-wrap: wrap;
}
.index-gallery-box{
    width: 20rem;
    height: 20rem;
    background-color: darkslategray;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.index-gallery-box:nth-child(1){
    background-image: url(../images/Cardero/cardero01-600.jpeg);
}
.index-gallery-box:nth-child(2){
    background-image: url(../images/Bakerview/abb03-600.jpeg);
}
.index-gallery-box:nth-child(3){
    background-image: url(../images/Tuscany/tuscany01-600.jpeg);
}
.index-gallery-box:nth-child(4){
    background-image: url(../images/Lamplighter/lamplighter01-600.jpeg);
}
.dark-overlay{
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color: #010b0e;
    opacity:0.2;
    transition: all ease-in-out 300ms;
}
.index-gallery-box:hover .dark-overlay{
    opacity: 0;
}

.index-gallery-box h3{
    font-size: 2rem;
    line-height: 1.8;
    text-align:center;
    text-shadow: 0px -2px 0 #000;

}

/*mobile */

@media only screen and (max-width: 600px){
  
main{
   
    display: flex-end;   
   
}

main h1{
    font-size: 2.2rem;
    
}
main p{
    font-size: 1.7rem;
      
}

.index-describe-about{
    display:none; 
}
.index-describe-chooseus{
    margin-left: 10px;;
}
.index-describe-chooseus p{
       display:none;
    
}

.index-gallery{
    padding: 40px 0 20px;
    row-gap: 15px;
}

}


