@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&family=Nunito+Sans:ital,opsz,wght@0,6..12,300;0,6..12,600;1,6..12,400;1,6..12,500;1,6..12,700&family=Poppins:ital,wght@0,400;0,600;0,700;1,300;1,500&family=Roboto:ital,wght@1,300;1,400;1,500;1,700&family=Sora:wght@200;300;400;500&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
    font-family: 'Poppins', sans-serif;
}
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #fff;
    box-shadow: 0 4px 25px -22px black;
    z-index: 2;
}
.header-content{
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
}
.logo{
    /* width: 130px; */
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.menu{
    height: 80px;
}
.menu nav ul{
    height: 100%;
    display: flex;
    list-style: none;
}
.menu nav ul li{
    height: 100%;
    margin: 20px 20px; 
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.menu-selected::before{
    content: '';
    width: 100%;
    height: 4px;
    background: hsl(173, 60%, 47%);
    position: absolute;
    top: 0;
    left: 0;
}
.menu nav ul li a{
    color: #777777;
    font-size: 18px;
    font-weight: 400;
}
.menu nav ul li a:hover{
    color: var(--green);
}
.menu .text-menu-selected{
    color: hsl(173, 60%, 47%);
}
.menu nav ul li a i{
    display: none;
}

#icon-menu{
    width: 50px;
    height: 50px;
    color: #30c0af;
    position: absolute;
    right: 20px;
    top: 16px;
    padding: 10px;
    background: #eeeeeefa;
    border-radius: 100%;
    font-size: 20px;
    /* display: flex;   */
    justify-content: center;
    align-items: center;
    cursor: pointer;
   display: none; 
}
#icon-menu:hover{
    opacity: 0.6;
}

/* Portada */

.container-cover{
    width: 100%;
    height: 500px;
    position: relative;
    margin-top: 80px;
    background-image: url(../img/Servicios\ de\ digitacion1.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.container-cover::before{
    content: '';
    width: 100%;
    height: 100%;
    /* background: rgba(38, 172, 255, 0.6); */
    background:  rgba(45, 96, 115, 0.5);
    position: absolute;
    top: 0;
    left: 0;
}
.container-info-cover{
    max-width: 800px;
    max-height: 500px;
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
 /*    color: #fff; */
    position: relative;
    z-index: 1;
}
.container-info-cover h1{
    font-size: 40px;
    font-weight: 600;
    margin: 120px;
    color: #fff;
    margin-bottom: 20px;
}
.container-info-cover p{
    color: #fff;
    font-size: 22px;
    font-weight: 400;
}


/* Container contenido del articulo */

.container-content{
    width: 1200px;
    margin: auto;
    margin-top: 120px;
    display: flex;
    justify-content: center;
}
article{
    width: 100%;
    padding: 20px;
    padding-bottom: 40px;
    box-shadow: -20px 0 20px -30px black;
    border-radius: 6px;
    overflow: hidden; 
    background: #f9f9f9;
    position: relative;
} 
article:before{
    content: '';
    width: 100%;
    height: 6px;
    position: absolute;
    top: 0;
    left: 0;
    background:  #ffad85;
}
article h1{
    margin-top: 20px;
    font-size: 30px;
    font-weight: 500;
    color:#ffad85;
}
article p{
    margin-top: 20px;
    font-size: 18px;
    font-weight: 500;
    color: #2d6073;
    text-align: justify;
}
article img{
    width: 50%;
    margin-top: 20px;
    margin-left: 170px;
}

/* Aside de los articulos relacionados */

.container-aside aside{
    width: 320px;
    /* background: 6px; */
    box-shadow: 0 0 20px -60px black;
    border-radius: 6px;
    overflow: hidden;
    margin-left: 40px;
    margin-bottom: 40px;
    padding-bottom: 20px;
}

.container-aside aside img{
    width: 100%;
}
.container-aside aside h2 {
    margin-top: 20px;
    padding: 0px 20px;
    text-align: justify;
    color:  #ffad85;
}
.container-aside aside p{
    margin-top: 20px;
    padding: 0px 20px;
    text-align: justify;
    color: #2d6073;
}
.container-aside aside button{
    margin-top: 20px;
    margin-left: 20px;
    padding: 10px 50px;
    font-size: 10px;
    /* background: hsl(173, 60%, 47%, 0.9); */
    background-image: linear-gradient(to right, #4facfe 0%, #00f2fe 70%);
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 400;
}
.container-aside aside button:hover{
    opacity: 0.9;
}


/* Footer- pie de página */
.container-footer{
    width: 100%;
    background: #f8f8f8;
    margin-top: 40px;
}
.container-footer{
    max-width: 1200px;
    margin: auto;
}
.container-footer footer .logo-footer{
    text-align: center;
}
.container-footer footer .logo-footer img{
    width: 130px;
}
.container-footer footer .redes-footer{
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.container-footer footer .redes-footer .icon-redes-footer{
    font-size: 20px;
    margin: 20px;
    background: #efefef;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    color: #a2a2a2;
}
footer .redes-footer .fa-facebook-f:hover {
    background: #41579a;
    color: #fff;
    padding: 15px;
    border-radius: 50%;
}

footer .redes-footer .fa-instagram:hover {
    background: linear-gradient(to top right, #fcde30, #e9712a, #d2313b, #Ae4198, #7540a1, #5443A8);
    color: #fff;
    padding: 10px;
    border-radius: 50%;
}
footer .redes-footer .fa-youtube:hover {
    background: #c4302b;
    color: #fff;
    padding: 10px;
    border-radius: 50%;
}
footer .redes-footer .fa-linkedin:hover {
    background: #0e76a8;
    color: #fff;
    padding: 10px;
    border-radius: 50%;
}

footer .redes-footer .fa-tiktok:hover {
    background: rgba(255, 0, 80, 0.6);
    color: #fff;
    padding: 10px;
    border-radius: 50%;
}


.container-footer footer hr{
    margin-top: 20px;
    border: none;
    height: 2px;
    background: rgba(48, 192, 175, 0.6);
    margin-bottom: 20px;
}
.container-footer h4{
    text-align: center;
    margin-top: 20px;
    color: #8e8e8e;
    margin-bottom: 20px;
    font-weight: 500;
}

/*Responsive Design - Adaptable a dispositivos moviles*/

@media screen and (max-width: 1220px) {
    .header-content,
    .container-content,
    .container-footer  footer{
        max-width: 1000px;
        padding: 0 20px;
    }

    @media screen and (max-width: 1020px) {
        .container-content{
            width: 100%;
            flex-direction: column;
        }
        article{
            box-shadow: 0 0 0 0;
        }
        .container-aside{
            display: flex;
            justify-content: center;
        }
        .container-aside aside{
            max-width: 300px;
            margin: 10px;
        }
}

@media screen and (max-width: 800px) {

    .container-all{
        transition: all 300ms cubic-bezier(1, 0, 0, 1);
    }

    .move-container-all{
        transform: translateX(300px);
    }

    .menu{
        width: 0px;
        height: 100vh;
        position: fixed;
        top: 80px;
        left: 0;
        background: #fff;
        overflow: hidden;
        transform: translateX(-350px);
        box-shadow: 10px 0px 20px -25px black;
        transition: all 300ms cubic-bezier(1, 0, 0, 1);
    }

    .show-lateral{
        width: 300px;
        transform: translateX(0px);
    }

    .menu nav ul{
        flex-direction: column;
    }
    .menu nav ul li{
        max-width: 200px;
        height: 50px;
        justify-content: flex-start;
}
.menu-selected:before{
    width: 0;

}
.menu nav ul li a{
    margin-top: 40px;
    color: #858585;
}
.menu nav ul lia a i{
    width: 20px;
    display: inline-block;
    margin-right: 10px;
    color: rgb(48, 192, 175, 0.7);
}
#icon-menu{
    display: flex;
}
.container-aside{
    flex-wrap: wrap;
}
}


}

 /* Boton Modal */

 .boton-modal{
    padding: 40px;
    background-color: transparent;
}
.boton-modal label{
    padding: 10px 15px;
    background-color: #65b8a6;
    color: #fff;
   /*  border-radius: 80%; */
   border-radius: 2rem;
   padding: 0.6rem 2rem;
    cursor: pointer;
    transition: all 300ms ease;
}

.boton-modal label:hover{
    background-color: rgba(220, 20, 60, 0.6);
    color: whitesmoke;
}

/* Fin Boton Modal */

#btn-modal{
    display: none;
}
.container-modal{
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    /* background-color: rgba(144, 148, 150, 0.8); */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
}
#btn-modal:checked ~ .container-modal{
    display: flex;
}
.content-modal{
    width: 100%;
    max-width: 500px;
    padding: 50px;
    background-color: #f9f9f9;
    border-radius: 5px;
}
.content-modal h2{
    margin-bottom: 15px;
    color: #ffc0cb;
}
.content-modal p{
    padding: 15px 0px;
    /* border-top: 2px solid #dbdbdb; */
    border-top: 2px solid var(--green);
    /* border-bottom: 2px solid #dbdbdb; */
    border-bottom: 2px solid var(--green);
    color: #2d6073;
}
.content-modal .btn-cerrar{
    width: 100%;
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
}
.content-modal .btn-cerrar label{
    padding: 7px 10px;
    background-color:  #65b8a6;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 300ms ease;
}
.content-modal .btn-cerrar label:hover{
    background-color: rgb(220, 20, 60, 0.6);
}
.cerrar-modal{
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all 300ms ease;
}

/* Efectos Whatsapp */

.float{
	position:fixed;
	width:60px;
	height:60px;
	bottom:40px;
	right:40px;
	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: #FFF;
  background-color:#1ab152;
    
    animation: shake 1s;

 
  animation-iteration-count: infinite;
}

.my-float{
	margin-top: 16px;
}