.float{
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 50%;
    right: 5%;
    background-color: #25d366;
    color: #000;
    border-radius: 60px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 500;
    animation: imgwhat 5s ease-in-out 0s infinite normal backwards;

}
@keyframes imgwhat {
	0%,
	100% {
		transform: translateY(0);
	}

	10%,
	30%,
	50%,
	70% {
		transform: translateY(-8px);
	}

	20%,
	40%,
	60% {
		transform: translateY(8px);
	}

	80% {
		transform: translateY(6.4px);
	}

	90% {
		transform: translateY(-6.4px);
	}
}
.float:hover{
    text-decoration: none;
    color: #fff;
    background-color: #1ab152;
    animation: 3s;
    animation-iteration-count: infinite;
}
.my-float{
    margin: 25%;
    
}

header{
    position: relative;
    width: 100vw;
    height: 10vh;
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    
}
nav{
    position: relative;
    width: 100%;
    height: 100%;
}

.nav__logo{
    position: relative;
    width: 50%;
    
    
}
.logo{
    position: relative;
    width: 200px;
    
}


.nav__menu{
        display: flex;
        flex-wrap: wrap;
        position: absolute;
        top: 35%;
        right: 0; 
    }  

.nav__menu li {
    display:inline-block;
    padding:5px 10px 5px 10px;
    text-align: center;
}

.nav__menu li a{
    color: #00538B;
    text-decoration: none;
    font-weight: 700;
}
.nav__menu li a:hover{
    text-decoration:underline;
}

.nav__menu img{
    width: 25px;
    height: 25px;
}


/* cuerpooooooooooo0000000000000000000000000000000000000000000000000 */
@import url('https://fonts.googleapis.com/css?family=Heebo:100,300,400,500,700,800,900&display=swap');


*{
    font-family: 'Heebo', sans-serif;
}
#arquitectura{
    text-decoration: underline ;
}

.container-all{
    width: 100vw;
    height: 90vh;
    position: absolute;
    z-index: 300;
    display: flex;
    justify-content: center;
    align-content: center;
    overflow: hidden;
    
}
video {
    position: absolute;
    z-index: -3;
    width: 100%;
    

}


#telecom{
    font-size: 23px;
}



.container-box{
    position: absolute;
    max-width: 900px;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
   
   
    
    
}

.container-box a{
    
    text-decoration: none;
    color: rgb(0, 0, 0);

}

.box{
    width: 250px;
    height: 180px;
    padding: 20px;
    margin: 20px;
    background: #fff;
    border-radius: 10%;
    opacity: 0.7;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 300ms;
    
}

.box:hover{
    transform: translate(5px, -5px);
    box-shadow: -10px 10px 20px -10px rgba(0, 0, 0, 0.5);
    
}


.box .icon,.box h4, .box p{
    position: relative;
    z-index: 1;
    /* transition: all 200ms; */
}

.box .icon{
    font-size: 40px;
    color: rgb(24, 211, 124);
    transform: translateY(30px);
}

.box:hover .icon{
    color: white;
    font-size: 30px;
    transform: translateY(0);
}

.box h4,.box p{
    margin-top: 10px;
}

.box h4{
    font-size: 30px;
    transform: translateY(30px);
}

.box:hover h4{
    transform: translateY(0);
    color: white;
}

.box p{
    font-size: 14px;
    transform: translateY(100px);
    opacity: 0;
}

.box:hover p{
    transform: translateY(0);
    opacity: 1;
    color: white;
}



.box .background-hover{
    width: 100px;
    height: 100px;
    background: red;
    position: absolute;
    top: 250px;
    left: -170px;
    border-radius: 100%;
    transition: all 300ms;
    background: linear-gradient(to bottom, rgb(255, 115, 0), rgb(255, 148, 48));
}

.box:hover .background-hover{
    width: 400px;
    height: 400px;
    top: -70px;
    left: -70px;
}

/* Cambiar color de las diferentes cajas*/


/* Box1 */
.box1 .icon{
    
    color: #ea003f;
}

.box1 .background-hover{
    
    background: linear-gradient(to bottom, #e33a67, #ea003f);
}

/* Box2 */
.box2 .icon{
    
    color: #ffa700;
}

.box2 .background-hover{
    
    background: linear-gradient(to bottom, #dd0f0f, #ffa700);
    top: -170px;
    left: -250px;
}

/* Box3 */
.box3 .icon{
    color: #3DAE2B;
}

.box3 .background-hover{
    background: linear-gradient(to bottom,#3DAE2B, #00538B);
    top: 170px;
    left: 500px;
}

/* Box4 */
.box4 .icon{
    
    color: #0090ea;
}

.box4 .background-hover{
    
    background: linear-gradient(to bottom, #00d3d3, #0090ea);
    top: -170px;
    left: 500px;
}


/* Box5 */
.box5 .icon{
    color: #ea003f;
    color: #3dc315;
}

.box5 .background-hover{
    background: linear-gradient(to bottom, #e33a67, #ea003f);
    background: linear-gradient(to bottom, #3dc315, #fdb42a);
}


/* Box6 */
.box6 .icon{
    color: #5980d8;
}

.box6 .background-hover{
    background: linear-gradient(to bottom, #2036dd, #5980d8);
    top: -170px;
    left: 500px;
}



/* reponsiveeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee */

@media only screen and (max-width: 900px){
    video{
        display: none;
    }
    .float{
        bottom:5%;
    }
    .logo{
        top: 10px;
        width: 180px;
        
        
    }

    .container-all{
        width: 100vw;
        height: 90vh;
        position: relative;
        z-index: 300;
        display: flex;
        background: url(Imagenes/lima.jpg);
        justify-content: center;
        align-items: center;
        background-repeat: no-repeat;
        background-size:cover;
        
    }

    .container-box{
        position: absolute;
        min-width:400px ;
        height: 90vh;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
        align-content: center;
    }
    #telecom{
        font-size: 18px;
    }
    .box{
        width: 180px;
        height: 150px;
        padding: 5px;
        margin: 5px;
        background: #fff;
        opacity: 0.65;
        border-radius: 10%;
        text-align: center;
        position: relative;
        overflow: hidden;
        cursor: pointer;
        transition: all 300ms;
        
    }
    .box h4{
        font-size: 20px;
        transform: translateY(30px);
    }
    
    }
    /* reponsiveeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee */
    @media only screen and (max-width: 300px){
        #telecom{
            font-size: 14px;
        }
        .logo{
            width: 120px;
            
            
        }
        .box{
            width: 130px;
            height: 130px;
            padding: 3px;
            margin: 2px;
            background: #fff;
            opacity: 0.65;
            border-radius: 10%;
            text-align: center;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            transition: all 300ms;
            
        }
        .box h4{
            font-size: 14px;
            transform: translateY(30px);
        }
        #telecom{
            font-size: 12px;
        }
        .nav__menu{
            display: flex;
            flex-wrap: wrap;
            position: absolute;
            top: 55%;
            right: 0; 
        } 

    }