@import url('https://fonts.googleapis.com/css2?family=Saira+Condensed:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root{
    --Green_one: #223621ff;
    --Green_two: #374C38ff;
    --Green_three: #4B6A46ff;
    --Green_four: #5F865Eff;
    --Green_five: #E4EAE1ff;
}
*{
    margin: 0;
}
body{
    background-color: var(--Green_five);
}
header{
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-around;
    transition: 0.7s;
    padding: 10px 10px;
    z-index: 1;
    background: rgba(55, 76, 56, 0.7);
}
header.efecto{
    background: #fff;
    padding: 10px 10px;
    color: #000;
}
.container_logo{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    transition: .5s;
}
.container_logo--visible{
    opacity: 1;
}
.img_logo{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    animation: moverLogotipo 2s;
    -webkit-animation: moverLogotipo 2s;
    opacity: 0;
}
.img_logo--visible{
    opacity: 1;
}
.logotipo{
    position: relative;
    color: #fff;
    font-weight: 900;
    font-size: 3em;
    letter-spacing: 10px;
    transition: 1.5s;
    text-decoration: none;
    opacity: 0;
}
.logotipo--visible{
    opacity: 1;
    animation: moverLogotipo 2s;
    -webkit-animation: moverLogotipo 2s;
}
@keyframes moverLogotipo{
    from {
        margin-left: 110%;
      }
      to {
        margin-left: 1%;
      }
}
.contenedor_nav{
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 1.2s;
}
.contenedor_nav--visible{
    opacity: 1;
}
.nav_enlaces{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn{
    line-height: 50px;
    height: 50px;
    text-align: center;
    cursor: pointer;
    gap: 2rem;
}
.nav_opciones{
    align-items: center;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: .25rem;
    box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
    box-sizing: border-box;
    color: rgba(0, 0, 0, 0.85);
    cursor: pointer;
    display: inline-flex;
    font-family: system-ui,-apple-system,system-ui,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    line-height: 1.25;
    margin: 0;
    min-height: 3rem;
    padding: calc(.875rem - 1px) calc(1.5rem - 1px);
    position: relative;
    text-decoration: none;
    transition: all 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
    width: auto;
}
.nav_opciones:hover,
.nav_opciones:focus{
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: rgba(255, 255, 255, 0.3) 0 4px 22px;
    color: rgba(255, 255, 255, 0.65);
}
.nav_opciones:hover{
    transform: translateY(-6px);
}
.nav_opciones:active{
    background-color: #F0F0F1;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: rgba(255, 255, 255, 0.06) 0 2px 4px;
    color: rgba(255, 255, 255, 0.65);
    transform: translateY(0);
}
.nav_opcion{
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0 15px;
    text-decoration: none;
    color: #fff;
    letter-spacing: 2px;
    font-weight: 600;
    transition: 0.7s;
}

/*Contenido del fondo e iconos*/
.seccion_fondo{
    position: relative;
    width: 100%;
    height: 40vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.2)), url(../../IMG/fondo_one.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position:0;
    display: flex;
}
.contenedor_texto{
    display: flex;
    flex-direction: column;
    justify-content:flex-end;
    margin: auto;
    margin-bottom: 10px;
    width: 70%;
    height: 40vh;
    color: #fff;
}
header.efecto .logotipo,
header.efecto .nav_opcion{
    color: #000;
}
.contenedor_redes{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
	gap: 40px;
    opacity: 0;
    transition: 1.5s;
}
.contenedor_redes--visible{
    opacity: 1;
}
.iconos_red{
    display: flex;
	align-items: center;
	justify-content: center;
    width: 40px;
	height: 40px;
	padding: 15px;
	border-radius: 50%;
	color: #fff;
	user-select: none;
}
.iconos_red--linkedin{
    background: #0077b5;
}
.iconos_red--email{
    background: #656565;
}
.iconos_red--whatts{
    background-color: #25D366;
}
.icono{
    width: 100%;
    height: 100%;
    color: #fff;
}

/*Seccion de informacion*/
.seccion_informacion{
    width: 100%;
    height: 60vh;
    opacity: 0;
    transition: 1.2s;
}
.seccion_informacion--visible{
    opacity: 1;
}
.titulo{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: rgba(0, 0, 0, 0.7);
    font-family: 'Tangerine', serif;
    text-shadow: 4px 4px 4px #aaa;
    font-weight: 600;
    font-style: normal;
    font-size: 55px;
    letter-spacing: 5px;
}
.contenedor_info{
    height: 40vh;
    width: 90%;
    margin: auto;
}
.subtitulo{
    font-family: 'Tangerine', serif;
    font-weight: 500;
    background-color: rgba(55, 76, 56, 0.6);
    margin: 20px;
    padding: 20px;
    color: #fff;
    font-size: 22px;
    box-shadow: 5px 9px 12px #aaa;
    text-align: justify;
    line-height: 1.5;
    border-radius: 10px;
}

.toggle-btn {
    background-color: #333;
    color: white;
    border: none;
    font-size: 1em;
    cursor: pointer;
    display: none; /* El botón estará oculto por defecto */
}

.contacto{
    color: var(--Green_three);
}

@keyframes buttonClick {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
    100% {
      transform: scale(1);
    }
  }

  .button-clicked {
    animation: buttonClick 0.3s ease;
  }


@media screen and (max-width: 768px) {
    .toggle-btn {
        display: block; /* Mostrar el botón en dispositivos móviles */
        z-index: 3;
    }

    .contenedor_nav {
        display: none;
        flex-direction: column;
        position: absolute;
        left: 0;
        width: 100%;
        background-color: #333;
        height: 500px;
        animation: initial;
    }

    .nav_enlaces {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }

    .nav_opciones {
        margin: 10px 0;
    }
    .titulo {
        font-size: 40px !important;
    }
    .subtitulo {
        font-size: 18px;
    }
    .seccion_informacion {
        height: 65vh;
    }
    @media screen and (max-width: 400px){
        .titulo {
            font-size: 30px !important;
            text-align: center;
        }
        .subtitulo {
            font-size: 12px;
        }
        .seccion_informacion {
            height: 45vh;
        }
    }
}
    