body,h1,h2,h3,h4,h5,h6 {font-family: "Raleway", sans-serif;
box-sizing: border-box;
}

#mysidebar{
    overflow: hidden;
}
    .tarjetas{
        text-align: center;
        font-size: 12px;
        margin-top: 25px;
    }

.w3-bar-block a{
    text-decoration: none;
}
.w3-bar-block a:hover{
    text-decoration: none;
    background: rgb(120,190,75);
}
    .w3-container h1{
        color: white;
        text-align: center;
        line-height: 100px;
        font-size: 2em;
    }
    
    #portfolio{
/*        background: rgb(120,190,75);*/
        background: linear-gradient(to right top, white, navy);
        width: 97%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .search-container{
/*        padding: 6px;*/
/*        margin-left: 260px;*/
        display: inline-block;
/*        width: 30%;*/
        border: none;
        border-radius: 5px;
        margin-left: 250px;
        margin-right: 0px;
        outline: none;
/*        background: red;*/
    }
.search-container .in-text:focus{
    border: none;
    outline: none;
}

#mySearch{
    padding: 8px;
    width: 350px;
    border-radius: 5px;
    border: none;
}

.bot{
    background: rgb(120,190,75);
    border: none;
    padding: 10px;
    color: white;
    border-radius: 5px;
    outline: none;
}
.bota{
    background: white;
    border: none;
    padding: 10px;
    transition: all 0.3s linear;
    border-radius: 5px;
    outline: none;
}

.bota:hover{
background: rgb(120,190,75);
    color: white;
        border: none;
    outline: none;
}

.colorb{
    margin: 16px 0;
}

.w3-hover-opacity{
/*    height: 320px;*/
    height: auto;
    border-radius: 10px;
/*    background-size: cover;*/
}

.w3-container h2{
    text-align: center;
}

.grilla{
    display: grid;
    grid-template-columns: repeat(3,1fr);
/*    grid-template-rows: repeat(2,350px);*/
        object-fit: cover;
    justify-content: center;
    text-align: center;
    background-position: center;
    background-size: cover;
    grid-gap: 15px;
/*    background: red;*/
    overflow: hidden;
    width: 97%;
    margin-left: auto;
    margin-right: auto;
}

.a h2{
    line-height: 30px;
    height: 70px;
    justify-content: center;
    padding: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.a img{
/*    background: blue;*/
    overflow: hidden;
    width: 300px;
    height: 200px;
    object-fit: cover;
}

/*seccion porqueEC*/
.segunda{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: repeat(2,350px);
    object-fit: cover;
    justify-content: center;
    text-align: center;
    background-position: center;
    background-size: cover;
    grid-gap: 0;
/*overflow: hidden;*/
    width: 97%;
    margin-left: auto;
    margin-right: auto;
}

.central1{
    position: relative;
    transition: 0.5s linear;
    overflow: hidden;
}



.central1:hover:before{
    content: '';
    position: absolute;
    background-color: rgba(0,20,20,0.3);
    left: 0;
    right: 0;
    height: 350px;
    transition: 0.5s linear;
}

.text-desc{
    position: relative;
}

.text-desc p{
/*    display: block;*/
/*    position: absolute;*/
/*top:0%;*/
/*    left: 50%;*/
/*    top: 50%;*/
/*    transform: translate(-50%,-50%);*/
    
/*    text-align: center;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*    align-content: center;*/
/*    background: red;*/
    text-align: justify;
    padding: 20px;
    font-size: 95%;
}

.text-desc h2{
    padding: 25px;
}

.dale{
    padding: 5%;
    background: rgba(120,190,75,1);
    border-radius: 5px;
    color: white;
    transition: all 0.3s linear;
}

.dale:hover{
    background: navy;
/*    background: rgba(20,90,95,1);*/
    text-decoration: none;
    color: white;
    transition: all 0.3s linear;
}



.cent-img{
    width: 100%;
    height: 350px;
    object-fit: cover;
    justify-content: center;
    text-align: center;
    background-position: center;
    background-size: cover;
    transition: all 0.3s ease;
    overflow: hidden;
background: white;
}

.central1:nth-child(3){
    grid-column: 1/ span 2;
/*    background-position: center;*/
/*    background-attachment: fixed;*/
/*    width: 50%;*/
    height: 350px;
    background: red;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    
}

.img-slider{
    width: 100%;
}

.cent-imgs{
/*    width: 80%;*/
    height: 350px;
    object-fit:cover;
/*    justify-content:flex-end;*/
/*    text-align: center;*/
    background-position:bottom;
    background-size: cover;
    transition: all 0.3s ease;

}

.central1:hover .cent-img{
    transition: all 0.3s ease;
    width: 120%;
}
.central1:hover .cent-imgs{
    transition: all 0.3s ease;
    width: 105%;
    
}

.text-n{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: white;
    font-size: 25px;
    font-weight: 500;
    font-family: sans-serif;
    border-radius: 10px;
    padding: 10px;
    background: rgba(0,20,20,0.5);
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.5s ease-in-out;
    z-index: 2;
/*    height: 150px;*/
    overflow: hidden;
    width: 65%;
    box-sizing: border-box;
/*    margin-bottom: 25px;*/
}

.central1 h2:hover{
    background: rgba(0,20,20,0.8);
/*    left: 48%;*/
    
}


h2 .txt-alt{
/*    opacity: 0;*/
    transform: scale(0);
    transition: all 0.5s linear;
    font-size: 12px;
    text-align: justify;
    height: 0;
    width: auto;
    white-space: 5px;
    margin-top: 5px;
}

h2:hover .txt-alt{
/*    opacity: 1;*/
    transform: scale(1);
    display:inline-block;
    transition: all 0.5s linear;
    width: 90%;
    height: auto;
}

.marcas{
/*    margin: 35px 0;*/
    text-align: center;
    background: white;
}

.marcas h2{
    font-size: 35px;
    color: darkblue;
/*    margin: 35px 0;*/
    font-weight: 100;
}

.marcas img{
    height: 50px;
    margin: 15px;
}

.phone{
    font-size: 13px;
}

.map-eco{
/*    width: 100%;*/
    padding: 15px;
/*    background: red;*/
    text-align: center;
/*    border-radius: 50p;*/
/*    background: gray*/
    
}

#ubica{
    list-style: none;
    color: white;
}

#ubica:hover{
    text-decoration: none;
}


.computers{
    display: grid;
/*    background-image: linear-gradient(to right bottom, #494949, #5472d3);*/
    background: rgba(238,238,238,0.8);
/*    background: rgba(238,238,238,0.8);*/
/*    grid-template-columns: repeat(3,300px);*/
/*    grid-template-rows: repeat(2,400px);*/
    text-align: center;
justify-content: center;
    align-items: center;
    background-position: center;
    background-size: cover;
    margin: 0 auto;
    width: 97%;
/*    padding: 37px 0;*/
    grid-gap: 25px;
/*    color: rgb(170,215,37);*/
/*    border: 1px solid */
}

.imgs1{
    width: 370px;
/*    height: 150px;*/
}

.imgs{
    width: 200px;
/*    height: 120px;*/
    object-fit: cover;
    background-attachment: fixed;
    background-size: contain;
    padding: 10px;
    
}

.host{
    border: 1px solid rgb(170,215,37);
    font-weight: 400;
    color: dodgerblue;
    height: 200px;
    background: white;
    border-radius: 10px;
}

.host p{
/*    padding: 10px;*/
    border-bottom: 1px solid rgb(170,215,37);
/*    font-style: oblique;*/
    font-weight: bold;
}

.computers h2{
    grid-column: span 4;
    height: 10px;
/*    background: red;*/
    color: navy;
/*    color: rgb(170,215,37);*/
    font-weight: 100;
    font-size: 18px;
    text-transform: uppercase;
    padding-top: 15px;
}

.host:nth-child(10){
    grid-column: 2/ span 2;
    grid-row: 2/span 2;
    height: 430px;
}

.front{
    display: grid;
    background-image: linear-gradient(rgba(0,20,20,0.5),rgba(0,20,20,0.5)), url(../images/principal/water.jpg);
/*    grid-template-columns: repeat(3,300px);*/
/*    grid-template-rows: repeat(3,400px);*/
    text-align: center;
justify-content: center;
    align-items: center;
    background-position: center;
    background-size: cover;
    margin: 0 auto;
    width: 100%;
    padding: 37px 0;
    grid-gap: 25px;
}

.front h2{
    grid-column: span 4;
    height: auto;
/*    background: red;*/
    color: white;
    font-weight: 100;
    text-transform: uppercase;
}


.tech{
    position: relative;
    overflow: hidden; 
}

.central img{
    width: 300px;
    height: 400px;
    object-fit: cover;
    background-size: cover;
    background-position: center;
/*    overflow: hidden;*/
}

.tech:hover img{
    transition: all 300ms ease;
    opacity: 0.5;
    overflow: hidden;
}

.central{
    overflow: hidden;
}

.tech h1{
    position: absolute;
    color: aliceblue;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) skewX(95deg) scale(0);
    z-index: 2;
/*        border:2px solid white;*/
/*    background: royalblue;*/
    padding: 10px;
/*    cursor: pointer;*/
    width: 70%;
    border-radius: 10px;
}
.tech h1 p{
/*    position: absolute;*/
    color: aliceblue;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%) skewX(-95deg) scale(0.5);
/*    z-index: 2;*/
        border:2px solid white;
    border-radius: 10px;
    background: rgba(0,20,20,0.5);
    padding: 10px;
/*    cursor: pointer;*/
    text-align: justify;
    font-size: 12px;
}

.tech:hover p{
    transform: translate(0,0%) scale(1);
    transition: all 0.3s ease-in-out;
}

.tech:hover h1{
    transform: translate(-50%,-50%) scale(1);
    transition: all 0.3s ease-in-out;
}

.tech:before{
    content: "";
    position: absolute;
    top: 0;
    transition: all 0.3s linear;
}

.w3-row-padding{
/*    background: linear-gradient(to right top, white, rgb(120,190,75));*/
/*    width: 97%;*/
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width:600px){
        .w3-container h1{
        line-height: 40px;

    }
    
    .colorb{
        display:flex;
    }
    
    .colorb a{
        display:grid;
    }
    
    .segunda{
    display: block;

}
    
    .segunda img{
        display: none;
        
}    
    .segunda p{

        display: none;
}
    
    .segunda h2{
        font-size: 1.2em;
        margin-top: 15px;
        padding: 0;
    }
    .segunda a{
        padding: 5px;
        margin: 0;
        
    }
    
}

@media screen and (max-width:1200px){
    .dale{
        padding: 2%;
        margin: 0;
    }
    
    .text-desc h2{
    padding: 0px;
}
    .text-desc p{
        padding: 5px;
    }
}

.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:20px;
	right:20px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
  font-size:30px;
	box-shadow: 2px 2px 3px #999;
  z-index:100;
}
.float:hover {
	text-decoration: none;
	color: #25d366;
  background-color:#fff;
}

.my-float{
	margin-top:16px;
}