@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

body{
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

header{
    width: 100%;

}

h2{
    font-size: 20px;
    color: #FBBA00;
}

p{
    color:#ffffff;
}

/*menú*/

header>div{
    width: 100%;
    height: 103px;
    display: flex;
    justify-content: center;
    background-color: #16283E;
}

header div a{
    display: flex;
    justify-content: center;
}

header div a img{
    width: 100%;
}

#mobile_menu, #x_menu{
    opacity: 0.6;
    font-size: 68px;
    top: 6px;
    right: 13px;
    z-index: 1;
    width: 62px;
    color: #F86B02;
    position: absolute;
    display: none;
}

#mobile_button{
    opacity: 0;
    top: 12px;
    right: 13px;
    z-index: 2;
    position: absolute;
    width: 50px;
    height: 50px;
    display:none;
}

#mobile_button:hover{
    cursor: pointer;
}

nav{
    width:100%;
    background-color: #FBBA00;
    overflow: hidden;
}

nav ul {    
    display: flex;
    justify-content: center;
    text-align: center; 
    list-style:none;     
    margin:0;     
    padding:0;
} 
nav ul a {  
    display:block;         
    text-decoration:none;     
    font-weight:400;     
    font-size:23px; 
    color:#ffffff;      
} 
nav ul li {    
    position:relative;     
    float:left;
    width: 19.65%;
}

nav ul li:hover{
    background-color: #F86B02;
    transition:all .5s ease-in-out;
}

.active_menu{
    background-color:#F86B02;
    pointer-events: none;
}

section{
    width: 100%;
    height: 500px;
    overflow: hidden;
}

/*página de inicio*/

.index{
    background-image: url(../images/home2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.home-content {
    width: 100%;
    text-align: center;
}

.home-content h1 {
    margin: 44px;
    font-size: 72px;
    line-height: 1.3;
    color: #16283E;
}

.home-content h1 span {
    color: #F86B02;
}

.text-animate h3 {
    font-size: 32px;
    font-weight: 700;
    color: #16283E;
}

#maquina-escribir{
    display: inline-block;
    font-size: 30px;
    border-right: 3px solid black;
    margin: 0;
}

.home-content p {
    color: #16283E;
}

footer{
    width: 100%;
    height: 58px;
    overflow: hidden;
    background-color: #FBBA00;
}

footer>div{
    width: 33.33%;
    height: 58px;
    float: left;
    display: flex;
    justify-content: center;
}

.f_link_text {
    margin-top: 16px;
    text-decoration: none;
    color: #ffffff;
}

.f_link_text:hover{
    color:#F86B02;
}

.home-social {
    margin-top: 6px;
    width: 40%;
    display: flex;
    justify-content: space-between;
}

.home-social a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 0.2rem solid white;
    border-radius: 50%;
    font-size: 37px;
    color: white;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
    text-decoration: none;
}

.home-social a:hover{
    color:#ffffff;
    border: 0.2rem solid #F86B02;
}

.home-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #F86B02;
    z-index: -1;
    transition: .5s;
}

.home-social a:hover::before {
    width: 100%;
}
/*pagina proyecto.html*/

.buttons{
    width: 23%;
    font-size: 80px;
    color: #FBBA00;

}

.buttons:hover{
    color:#F86B02;
    cursor: pointer;
}

.project_index{
    display: flex;
    justify-content: center;
    overflow: hidden;
    background-color: #16283E;
}

#project_art{
    margin-top: 42px;
    width: 100%;
    overflow: hidden;
}

.content_buttons{
    width: 14%;
    margin-top: 180px;
    float: left;
    display: flex;
    justify-content: center;
}

#content{
    width: 70%;
    height: 420px;
    float: left;
    overflow: hidden;
    background-image: url(../images/proyecto/paneles_solares.jpg);
    background-repeat: no-repeat;
    background-size: 100% 420px;
    background-color: rgb(246, 240, 240);
    background-position: center;
    transition: background-image 0.5s ease-in-out;
}

#text_content{
    width: 75%;
    margin-left: 2%;
    margin-top: 200px;
    background-color: rgb(128 128 128 / 61%);
}

#count{
    color: #FBBA00;
    position: absolute;
    right: 17%;
    font-size: 29px;
    font-weight: 600;
}

/*pagina servicios.html*/

#service_button {
    top: 157px;
    position: absolute;
    z-index: 1;
    width: 38%;
}

.serv_button, .collab_button{
    font-size: 17px;
    width: 34%;
    font-family: 'Poppins', sans-serif;
    background-color: #FBBA00;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 20px;
    float: left;
}

.serv_button:hover, .collab_button:hover{
    cursor: pointer;
    background-color: #F86B02;
}

#services{
    width: 100%;
    height: 542px;
    position: relative;
    overflow: hidden;
    background-image: url(../images/servicios/servidor_nodos_blockchain.jpg);
    background-repeat: no-repeat;
    background-size: 100% 542px;
    background-position: center;
    transition: background-image 0.5s ease-in-out;
}

.scroll_button_down{
    width: 100%;
    display: flex;
    margin-top: 13px;
    float: left;
    justify-content: center;
}

.scroll_button_up{
    width: 100%;
    display: flex;
    float: left;
    justify-content: center;
}

#services_content {
    margin-top: 91px;
    width: 52%;
    height: 308px;
    text-align: justify;
    margin-left: 24%;
    border-radius: 30px;
    background-color: rgb(128 128 128 / 70%);
}

#services_content h2{
    font-size: 25px;
    text-align: center;
    margin: 0;
}

#services_description{
    margin-left: 12px;
    font-size: 15px;
    width: 95%;
}

#down_button img{
    margin-top: 30px;
    width: 4%;
}

#type_change{
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 87px;
    color: #FBBA00;
}

#type_change i:hover{
    color:#F86B02;
    cursor: pointer;
}


#up_button img{
    margin-top: 9px;
    width: 4%;
}

/*pagina colaboraciones.html*/

.collaborations{
    background-color: #16283E;
    width: 100%;
}

#collab_content{
    width: 100%;
    padding-top: 35px;
}

#collaborations_buttons{
    padding-top: 45px;
    display: flex;
    justify-content: center;
}

#active{
    background-color: #F86B02;
}

.collab_button{
    margin-left: 4%;
    font-size: 20px;
    font-weight: 700;
}

.collab_box{
    display: flex;
    justify-content: center;
    width: 33%;
    height: 315px; 
    float: left;
    overflow: hidden;
}

.photo_size1{
    width: 84%;
    margin: 29px;
}

.photo_size2{
    width: 31%;
}

.collab_box img:hover{
    cursor: pointer;
    opacity:0.5;
}

.collab_description{
    background-color: rgb(248 109 2 / 86%);
    
}

#box1, #box2, #box3, #box4{
    display: none;
    position:absolute;
    opacity: 0;
}

.desc_close{
    width: 6%;
    height: 28px;
}

.desc_close:hover{
    color:#ffffff;
    cursor: pointer;
}

.desc_close i{
    font-size: 31px;
    float:right;
}

.collab_desc_box{
    margin-left: 3%;
    text-align: justify;
    width: 93%;
    height: 206px;
    font-size: 14px;

}

.collab_desc_box>div{
    display: flex;
    justify-content: center;
    width: 100%;
    height: 53px;
    margin-top: 2px;
    overflow: hidden;
}


.web_button{
    border-radius: 5px;
    padding: 10px 7px;
    text-decoration: none;
    color: #fff;
    background-color: #16283E;
    margin: 5px;
  }

/*página de privacidad.html*/

#priv_header{
    position:fixed;
}

.privacy{
    width: 100%;
    height: 100%;
    padding-top: 137px;
    overflow: hidden;
    padding-bottom: 58px;
}

#privacy_content{
    width: 80%;
    background-color: rgba(255, 255, 255, 0.559);
    overflow: hidden;
}

#privacy_content h1,#privacy_content h2,#privacy_content h3{
    text-align: center;
}

#privacy_content p {
    margin-left: 35px;
    margin-right: 66px;
    width: 93%;
    text-align: justify;
    font-size: 16px;
}

#privacy_content ul {
    color: rgb(255 255 255);
    margin-left: 80px;
    width: 80%;
    text-align: justify;
    font-size: 15px;
}

#priv_footer{
    position: fixed;
    bottom:0;
}

/*Apartado contacto*/

#contact{
    width: 30%;
    height: 192px;
    opacity: 0;
    position: absolute;
    display:none;
    right: 5%;
    bottom: 58px;
    overflow: hidden;
    background-color: rgb(248 109 2 / 86%);
}

#x_space{
    width: 100%;
    height: 28px;
    overflow: hidden;
}

.contact_box{
    margin-top: 8px;
    width: 100%;
    height: 48px;
    color:#ffffff;
    overflow: hidden;
}

.contact_box i{
    float: left;
    height: 43px;
    font-size: 33px;
}

.contact_box div{
    margin-left: 11px;
    width: 85%;
    float: left;
    height: 45px;
    font-size: 16px;
}


/*Responsive tablet*/
@media (min-width:600px) and (max-width:1024px){

    header{
        position:fixed;
        z-index:2;
    }
	
    header>div>img{
        width: 17%; 
    }
    
    nav ul {
        z-index:2;
		display:none;
        width: 100%;
	}

	#mobile_menu{
		display:block;
	}

	#mobile_button{
		display:block;
	}

	#mobile_button:checked~ul{
		position: fixed;
		display: block;
	}

    #mobile_button:checked~#mobile_menu{
        display: none;
    }

    #mobile_button:checked~#x_menu{
        display: block;
    }

	nav ul li {
		background-color: rgba(251, 184, 0);
		width: 100%;
	}

	nav ul li a {           
	text-decoration:none;     
	font-weight:300;     
	font-size:26px; 
	color:#ffffff;      
    }

    /*pagina index.html*/

    .index{
    padding-top: 128px;
    }

    #mobile_size{
        height: 534px;
    }

    #mobile_size2 {
        width: 100%;
        padding-top: 70px;
        height: 490px;
    }

    /*Apartado contacto*/

    #contact{
        width: 100%;
        height: 192px;
        left:0;
        bottom: 0;
        z-index: 2;
    }

    /*pagina proyecto.html*/
    h2 {
        font-size: 18px;
    }
    
    .content_buttons {
        width: 9%;
    }

    .buttons {
        font-size: 59px;
    }

    #content {
        margin-left: 5%;
        width: 70%;
    }

    #content_description{
        font-size: 13px;
    }

    /*pagina servicios.html*/

    .scroll_button_up {
        margin-top: 34px;
    }

    #service_button {
        top: 106px;
    }

    .serv_button, .collab_button {
        font-size: 14px;
        width: 74%;
    }

    #services_content {
        margin-top: 116px;
        width: 70%;
        height: 296px;
        margin-left: 16%;
    }

    #services_description {
        font-size: 13px;
    }

    #services_content h2 {
        font-size: 18px;

    }

    #type_change {
        font-size: 67px;
    }

    /*pagina colaboradores.html*/

    section{
        height: 100%;    
        padding-top: 68px;
    }

    .collaborations{
        padding-bottom: 175px;
    }

    .collab_button {
        width: 48%;
        margin-left: 0;
        font-size: 19px;
    }

    #collab_content {
        padding-top: 20px;
    }

    .collab_box {
        width: 100%;
        height: 300px;
    }

    .photo_size1{
        width: 54%;
    }

    .photo_size2{
        width: 54%;
    }    
    
    /*página privacidad.html*/

    #privacy_content {
        width: 93%;
        margin-bottom: 120px;
    }

    #privacy_content p {
        width: 93%;
        margin-left: 18px;
        font-size: 14px;
    }

    #privacy_content ul {
        margin-left: 4px;
        font-size: 14px;
    }

    /*pagina footer.html*/

     footer{
        height: 164px;

    }

    footer>div{
        width: 100%;
        height: 58px;
    }
}

/*responsive movil*/
@media (max-width:600px){

    header{
        position:fixed;
        z-index:2;
    }
	
    header>div {
        height: 105px;
    }

    header>div>img {
        width: 21%;
    }
    
    nav ul {
        z-index:2;
		display:none;
        width: 100%;
	}

	#mobile_menu{
		display:block;
	}

	#mobile_button{
		display:block;
	}

	#mobile_button:checked~ul{
		position: fixed;
		display: block;
	}

    #mobile_button:checked~#mobile_menu{
        display: none;
    }

    #mobile_button:checked~#x_menu{
        display: block;
    }

	nav ul li {
		background-color: rgba(251, 184, 0);
		width: 100%;
	}

	nav ul li a {           
	text-decoration:none;     
	font-weight:300;     
	font-size:26px; 
	color:#ffffff;      
    }

    .index{
    padding-top: 128px;
    }

    #mobile_menu{
        top: 10px;
    }
    
    #mobile_button{
        top: 18px;
    }

    #mobile_size{    
        height: 458px;
    }

    #mobile_size2{  
        padding-top: 70px;  
        height: 490px;
    }

    /* página index.html */

    .index{
        padding-top: 103px;
        }

    .home-content h1 {
        margin: 44px;
        font-size: 50px;
    }

    .home-content p {
        color: #16283E;
    }


    /*Apartado contacto*/

    #contact{
        width: 100%;
        height: 192px;
        left:0;
        bottom: 0;
        z-index: 2;
    }

    /*pagina footer.html*/

    footer{
        height: 164px;

    }

    footer>div{
        width: 100%;
        height: 58px;
    }

    /*pagina proyecto.html*/

    #content{
        width: 100%;
        height: 420px;
        overflow: hidden;
        background-image: url(../images/proyecto/paneles_solares.jpg);
        background-repeat: no-repeat;
        background-size: 100% 420px;
        background-color: rgb(246, 240, 240);
        background-position: center;
        transition: background-image 0.5s ease-in-out;
    
    
    }

    .content_buttons{
        width: 14%;
        position: absolute;
        margin-top: 180px;
        right: 25px;
        float: left;
        display: flex;
        justify-content: center;
    }

    h2{
        font-size: 18px;
    }

    p{
        font-size: 13px;
    }

    #text_content{
        width: 75%;
        margin-left: 2%;
        margin-top: 133px;
        background-color: rgb(128 128 128 / 61%);
    }

    #count{
        right: 2%;
        font-size: 25px;
    }

    #mobile_disguise{
        display: none;
    }

    .buttons{
        font-size: 50px;
    }

    /*pagina servicios.html*/

    #services {
        padding-top: 36px;
        background-size: 100% 523px;
        background-position: top;
    }

    #service_button {
        top: 107px;
    }

    .serv_button {
        width: 70%;    
        font-weight: 700;
        font-size: 12px;

    }

    .scroll_button_down {
        margin-top: 9px;
    }

    #type_change{
        font-size: 55px;
    }


    #services_content {
        margin-top: 68px;
        width: 78%;
        height: 355px;
        margin-left: 11%;
    }

    #services_content h2{
        font-size: 17px;
        width: 79%;
        margin-left: 38px;
    }

    #services_description {
        font-size: 13px;
        width: 93%;
    }

    /*pagina colaboradores.html*/

    section{
        height: 100%;    
        padding-top: 101px;
        padding-bottom: 33px;
    }
    
    .collaborations{
        padding-bottom: 175px;
    }

    .collab_button {
        width: 48%;
        margin-left: 0;
        font-size: 19px;
    }

    #collab_content {
        padding-top: 20px;
    }

    .collab_box {
        width: 100%;
        height: 300px;
    }

    .photo_size1{
        width: 84%;
    }

    .photo_size2{
        width: 84%;
        height: 220px;
    }

    /*página privacidad.html*/

    #privacy_content {
        width: 93%;
        margin-bottom: 120px;
    }

    #privacy_content p {
        margin-left: 18px;
        font-size: 14px;
    }

    #privacy_content ul {
        margin-left: 4px;
        font-size: 14px;
    }
}