*{
    margin: 0px;
    padding: 0px;
    list-style: none;
    
    
}

/*change the thinkness of the scrollbar here*/
::-webkit-scrollbar {
    width: 1vw;
    height: 20px;        
    -webkit-border-radius: 10px;
    
    border-radius: 10px;
}
 /*add a shadow to the scrollbar here*/
::-webkit-scrollbar-track {    
    -webkit-border-radius: 10px;
    
    border-radius: 10px;
}
/*this is the little scrolly dealio in the bar*/ 
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: rgba(0,110,192,1);
    border: 1px solid rgba(0,2,5,1) ;
    
    height: 3px;
}
/*nobody needs this little scrollbar corner, I mean really, get rid of it haha*/  
  ::-webkit-scrollbar-corner       {
    display: none;
    height: 0px;
    width: 0px;        
}
 

.fade-in{
    opacity: 0;
    transform: scale(0);
    transition: opacity 750ms ease-in;
}

.fade-in.appear{
    opacity: 1;
    transform: scale(1);
}



header{        
    position: fixed;    
    z-index: 101;
    width: 100%;    
    /*background: #593C1A;*/   
    background: rgb(0,174,81);
    background: linear-gradient(0deg, rgba(0,174,81,1) 0%, rgba(0,2,5,1) 60%, rgba(0,110,192,1) 100%);
}

.clearfix{
    float: none;
    clear: both;
}


#logo{  
   
    display: inline-block;    
    color: white;
    text-align: center;
    margin: 1vw; 
    width: 16%;
    height: auto; 
}

#logo img{
    width: 100%;
    height: auto;
}




.menu.about ul a{
    font-family: "Calibri", "Helvetica", "Verdana";
    font-size: calc( 5px + 1vw);
    color: white;    
    margin-top: 25%;
    
}




#menu_about{
    list-style: none; 
    margin-right: 2%;
    float: right;        
    ;
    
}

#menu_about ul li{
    display: inline-block;
}

#menu_about ul li a{
    padding: 10px;
    display: inline-block;
    border-radius: 10px;    
    transition: all 1000ms;  
    text-decoration: none;
}

#menu_about ul li a:hover{
    background-color: rgba(0,174,81,1)
    /*background-color: #b67d3c;*/
}

#home{
    display: block;
    height: 100vh;
    background-image: url('../img/portada.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
}



#home_title{
    height: 5%;
    width: 23%;    
    position: absolute;
    border-radius: 15px;
    padding: 10px;    
    left: 2%;
    top: 87%;
    display: flex;
    flex-wrap: wrap;
    float: left;
    background-color: rgba(0,110,192,1);
    /*background-color: #848C3F;*/
}

#home_title p{    
    display: inline-block;      
    justify-content: center;
    font-family: "Calibri", "Helvetica", "Verdana";
    font-size: calc(8px + 1vw);    
    font-weight: bold;
    color: #F2E9D8;
}


#home_text {
    
    width: 94%;    
    position: absolute;
    border-radius: 15px;
    padding: 10px;
    word-wrap: break-all;
    left: 2%;
    top: 92%;
    background-color: rgba(0,110,192,1);
    /*background-color: #848C3F;   */
    font-family: "Calibri", "Helvetica", "Verdana";
    font-size: calc(8px + 1vw);
    color: white;
}






#features_section{
    text-align: center;
    width: 100%;
    display: flex;  
    flex-wrap: wrap;    
    background: linear-gradient(0deg, rgb(2, 21, 85) 0%, rgba(0,110,192,1) 100%);
    /*background-color: #FFD5B2;*/
}


#features_title{
    width: 100%;
    margin-top: 5%;
    display: inline-block;
    text-align: center;
    font-family: "Calibri", "Helvetica", "Verdana";
    font-size: calc(30px + 1vw);
    color: rgb(255, 255, 255);
}

#features_grid{
    display: grid;
    grid-template-columns: 10% 26.3% 26.3% 26.3% 10%;
    grid-template-rows: 50% 50%;
    grid-row-gap: 2vh;
}

.features_boxes{
    transition: 1000ms ease-in;    
    text-align: center;   
    display: block;
    color: rgb(255, 255, 255);
    font-family: "Calibri", "Helvetica", "Verdana";        
    margin-top: 20%;    
    margin-bottom: 2%;  
}

.features_boxes img{    
    background-color: transparent;
    display: inline-block;    
    width: 64px;    
    height: 64px;
    filter: sepia(100%) saturate(300%) brightness(100%) hue-rotate(90deg);
}

.features_boxes p{
    margin: 20px;
}

.features_box_title{
    font-size: calc(12px + 1vh);
    font-weight: bold;
    
}

.features_box_text{
    text-align: justify;
    font-size: calc(9px + 1vh);
}





#gallery_section{
    /*background-color: #D9CF9C;*/
    background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgba(2,21,85,1) 100%);
    text-align: center;
    width: 100%;
    height: 100vh;      
    display: flex;
    flex-wrap: wrap;
}

#gallery_title{
    width: 100%;
    margin-top: 3%;
    display: inline-block;
    text-align: center;
    font-family: "Calibri", "Helvetica", "Verdana";
    font-size: calc(30px + 1vw);
    color: white;
    /*color: rgb(71, 33, 7);*/
}


#gallery_container{
    display: block;
    width: 80%;
    justify-content: center;
    text-align: center;    
    margin: 5%;
    padding-top: 2%;
    padding-bottom: 2%;
    padding-left: 5%;    
    padding-right: 5%;    
}



.gallery-cell img {      
    height: 500px;
}






#gallery_container {
    position:relative;
  }



.container{
    display: grid;   
    text-align: center;
    justify-content: center;
    grid-column-gap: 0.5vw;    
    grid-template-columns: 25% 25% 25% 25%;
    grid-template-rows: 100%;
}


.column2{    
    display: grid;        
    grid-row-gap: 0.5vw;
    grid-template-rows: 34%, 33%, 33%; 
}

.column3{
  
    display: grid;   
    grid-row-gap: 0.5vw;    
    grid-template-rows: 34%, 33%, 33%; 
}


.column1 img{
    width: 100%;
    height: 100%;
    
}

.column2 img{
    width: 100%;
    height: 100%;
    
}


.column3 img{
    width: 100%;
    height: 100%;
    
}


.column4 img{
    width: 100%;
    height: 100%;
    
}


.photo{    
    display: block;    
    border: 1px solid rgb(233, 241, 185);    
    height: 100%;   
    overflow: hidden;
}

.photo img{
    
    transition: 0.25s ease-in;
}

.photo:hover img{
    transform: scale(1.1);
}



#aboutus_section{    
    background: linear-gradient(0deg, rgb(0, 174, 81) 0%, rgb(0, 0, 0) 100%);
    /*background-color: #593C1A;*/
    width: 100%;
    height: 100vh;        
    
}


#aboutus_title{
    width: 100%;
    margin-top: 3%;    
    display: inline-block;
    text-align: center;
    font-family: "Calibri", "Helvetica", "Verdana";
    font-size: calc(30px + 1vw); 
    color: #F2E9D8;
}

.aboutus_grid_container{
    display: grid;
    margin-left: 5vw;
    margin-top: 10vh;
    
}

#aboutus_desc{
    display: block;
    grid-column: 1/2;   
    color: white;
    width: 40vw;
    height: auto;    
}

.aboutus_desc_text{
    text-align: justify;
    font-size: calc(12px + 1vh);
}


#aboutus_desc_title{    
    margin-left: 40%;
    margin-bottom: 3%;
    color: #F2E9D8;
    font-size: calc(16px + 1vh);
    font-weight: bold;  
}





#aboutus_map {    
    display: block;
    grid-column: 2/2;
    width: 40vw;
    height: auto;
    
}

#aboutus_map iframe{
    width: 100%;
    height: 60vh;
}


#contacts_section{    
    background-image: url('../img/Ecofence\ -\ Alambrado\ de\ Ley.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: 100% 100%;
    background-color: #848C3F;  
    width: 100%; 
    height: 105vh;   
    display: flex;
    flex-wrap: wrap;
}

#contacts_title{
    width: 100%;
    margin-top: 3%;
    display: inline-block;
    text-align: center;
    font-family: "Calibri", "Helvetica", "Verdana";
    font-size: calc(30px + 1vw);
    color: #F2E9D8;
}


#contacts_grid_container{
    display: grid;    
    grid-template-columns: 50% 50%;
}





#contacts_grid_list {
    display: grid;    
    background: #F2E9D8; 
    border-radius: 15px;
    margin-top: 20vh;
    grid-template-columns: 5% 95%;
    grid-template-rows: 20% 20% 20% 20% 20%;    
    padding: 30px;
    margin-left: 10%;
}

#contacts_grid_list img{
    
    width: 100%;
    height: auto;
}

#contacts_grid_list p {
    color: #333;
   
    margin-left: 3%;
    font-size: calc(8px + 1vw);
}

#contacts_email{ 
    text-align: center;
    margin-top: 15vh;
    width: 40vw;
    height: 60vh;
}

#contacts_email_desc{
    display: block;    
    text-align: center;
    color: #F2E9D8;     
    font-size: calc(8px + 1vw); 
    font-style: italic;
    font-family: "Calibri", "Helvetica", "Verdana"; 
}

#contacts_email_div_title{
    display: inline-block;
    background: #F2E9D8;
    border-radius: 30px;
    vertical-align: middle;
    text-align: left;    
    margin-top: 2%;   
    width: 90%;
    height: 7%;
}

#contacts_email_div_text{
    display: inline-block;
    background: #F2E9D8;
    text-align: left;  
    vertical-align: middle;
    border-radius: 30px;
    margin-top: 2%;      
    width: 90%;
    height: 80%;
}


#contacts_email_title{      
    font-family: "Calibri", "Helvetica", "Verdana";    
    background-color: #F2E9D8;
    border: 0px;
    width: 95%;
    margin-left: 2%;
    margin-top: 1%;
    color: #333;
    font-size: calc(5px + 1vw);
}

#contacts_email_text{      
    font-family: "Calibri", "Helvetica", "Verdana";     
    background-color: #F2E9D8;
    margin-top: 10px;
    border: 0px;
    margin-left: 2%;
    width: 95%;
    height: 95%;
    color: #333;
    font-size: calc(5px + 0.5vw);
}


textarea:focus, input:focus{
    outline: none;
}





footer{
    
    font-family: Helvetica, Arial;
    color: #F2E9D8;
    height: 47px;
    border-radius: 10px 10px 0px 0px;
    background: rgba(51, 51, 51, 0.7);
    margin: 0px auto;
    width: 65%;
    margin-top: -47px;
    padding-left: 20px;
    padding-right: 20px;
    line-height: 47px;
    text-align: center;
}


.subir{
    cursor: pointer;
    color: white;
    text-decoration: none;
    display: block;    
    float: right;
}



@media screen and (max-width: 600px) {

   

    #logo{
        margin-top: 5%;
        margin-left: 40%;        
    }

        .menu.about ul a{
        font-family: "Calibri", "Helvetica", "Verdana";
        font-size: calc( 5px + 1vw);
        color: white;    
        margin-top: 25%;
        
    }

    #features_section{
        display: flex;
        flex-wrap: wrap;
    }


    #features_grid{
        display: block;       
    }

    .features_boxes{
        margin-top: 0%;    
        margin-bottom: 0%;  
    }
    
    .features_boxes img {
        margin-top: 10%;
    }

    .features_box_title{
        font-size: calc(10px + 0.5vh);
        font-weight: bold;
        
    }

    .features_box_text{
        text-align: justify;
        font-size: calc(7px + 0.5vh);
        
    }

    #aboutus_desc p{
        font-size: calc(4px + 1vh);
    }

    #contacts_grid_container{
        display: grid;          
        width: 100%;  
        grid-template-columns: 100%;
    }
    
    
    #contacts_grid_info{
        display: grid;          
        grid-template-rows: 50% 50%;
    }
    
    
    
    #contacts_grid_list {
        display: grid;    
        grid-template-columns: 5% 95%;
        grid-template-rows: 20% 20% 20% 20% 20%;
        height: 100%;
        font-size: calc(4px + 0.5vw);
        margin-top: 0vh;
        margin-left: 2%;
        margin-right: 2%;
    }

    #contacts_email{ 
        margin-top: 2vh;
        text-align: center;
        width: 100%;
        height: 60vh;
    }


    #contacts_email_desc p {
        font-size: calc(12px + 1vh);
    }

    #contacts_email_title{   
        font-size: calc(12px + 1vw);
    }
    
    #contacts_email_text{ 
        font-size: calc(12px + 0.5vw);
    }

    footer{        
        font-family: Helvetica, Arial;
        font-size: calc(5px + 1vw);
        border-radius: 10px 10px 0px 0px;
        color: #F2E9D8;
        display: block;
        height: 47px;
        background: rgba(51, 51, 51, 0.7);
        margin: 0px auto;
        width: 65%;
        overflow-x: hidden;
        margin-top: -47px;
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
    }
    
    
    .subir{
        cursor: pointer;
        color: white;
        text-decoration: none;
        font-size: calc(3px + 1vw);
        display: block;
        float: right;
    }
}
