:root{
    --primary-color: #0056b7;
    --secundary-color: #BABB8B;
}
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
html {
    font-size: 62.5%;
} 
a {
    text-decoration: none;
    display: inline;
    color: #44442f;
}
header{
    height: 100vh;
    width: 100%;
}
nav{
    display: flex;
    flex-direction: column;
    height: 93%;
    justify-content: space-between;

}
nav .nav-logo-container{
    padding: 28vh 5rem 0 5rem;
}
nav .nav-logo-container img{
    display: flex;
    margin: .0 auto;
    width: 100%;
    max-width: 20rem;
}
nav .profile-link {
    display: flex;
    flex-wrap: wrap-reverse;
    justify-content: center;
    align-content:center;
    height: 15vh;
}
nav .profile-link > a {
    color: var(--primary-color);
    opacity: 0;
    animation: slideUp_Social 1.2s ease forwards;
}

/* Inicio animacion botones redes */

@keyframes slideUp_Social {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.profile-link a:nth-of-type(1) {
    animation-delay: 0.2s;
}

.profile-link a:nth-of-type(2) {
    animation-delay: 0.4s;
}

.profile-link a:nth-of-type(3) {
    animation-delay: 0.6s;
}

.profile-link a:nth-of-type(4) {
    animation-delay: 0.8s;
}

.profile-link a:nth-of-type(5) {
    animation-delay: 1s;
}

.profile-link a:nth-of-type(6) {
    animation-delay: 1.2s;
}

/* Final animacion botones redes */

nav .profile-link > a:hover {
    color: var(--secundary-color);
    zoom: 1.2;
}
nav .profile-link ul li a:hover{
    color: var(--secundary-color); 
}
nav .profile-link ul li a:active{
    color: var(--primary-color); 
}
nav .profile-link ul {
    display: none;
    justify-content: center;
    width: 100vw;
    list-style: none;
}
nav .profile-link ul li{
    color: #44442f;
    font-family:'Montserrat', 'sans-serif';
    font-size: 3.5rem;
    margin-block-end: 3rem;
}
nav .profile-link ul img{
    padding-block-start: 3rem;
}
nav section.profile-link .checkbtn i img{
    position: absolute;
    width: 2.1rem;
    margin: -77vh 60vw;
}
nav .profile-link input{
    display: none;
}
#check:checked ~ ul {
    display: flex;
    position: fixed;
    background-color: #ffff;
    opacity: 0.96;
    top: 0;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    animation: slideUp_menu 0.5s ease forwards;
}
nav > div{
    position: absolute;
    margin-block-start: 89vh;
    margin-inline-start: 50vw;
}
nav div p{
    font-family:'Montserrat', 'sans-serif';
    font-weight: 500;
    font-size: 3.2rem;
    text-align: center;
    color: #44442f;
}
@keyframes slideUp_menu {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown_menu {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Estilos para Icon Close en div */

nav .profile-link label div img{
    display: none;
}
nav section.profile-link .checkbtn div img{
    position: absolute;
    width: 2.1rem;
    margin: -77vh 60vw;
}
#check:checked ~ label div img{
    display: inline;
    z-index: 2;
}


/* Estilos Sección MAIN */


.home-main{
    background-color: var(--primary-color);
    background-image: url(../assets/img/Home_dRaGoNian_baja.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    align-items: center;
}
.home-main section{
    font-family: 'Montserrat', sans-serif;
    justify-items: center;
}
main section .home-main-text{
    padding-top: 9rem;
    font-size: 2.7rem;
    letter-spacing: 0.1rem;
    text-align: center;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 8px 6px #00459b;
}
.home-main h2{
    color: var(--secundary-color);
    font-size: 3rem;
    letter-spacing: 0.1rem ;
    text-align: center;
    text-shadow: 2px 3px 3px #00459b;
    overflow: hidden;
    height: 50px;
    margin: 27px 0 0;
}
.home-main h2 span{
    display: block;
    height: 100%;
    animation: spin_words 6s infinite;
}
@keyframes spin_words{
    20%{
        transform: translateY(-106%);
    }
    35%{
        transform: translateY(-100%);
    }
    55%{
        transform: translateY(-206%);
    }
    70%{
        transform: translateY(-200%);
    }
    88%{
        transform: translateY(-306%);
    }
    100%{
        transform: translateY(-300%);
    }
}
.main-tittle-text{
    /* Esto es un titulo en h2 */
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    font-size: 2.4rem;
    text-align: center;
    margin: 50px 0;
    padding: 0 90px;
}
.home-main p{
    color: white;
    text-align: center;
    margin: 2rem 6.5rem 2rem 6.5rem;
    font-size: 1.2rem;
}
.home-main-button{
    width: 23rem;
    height: 5rem;
    background: linear-gradient(90deg,#f45c43,#eb3349);
    border-radius: 10rem;
    box-shadow: 7px 7px 8px -3px rgb(0, 56, 124);
    border: none;
    margin-top: 2rem;
    margin-bottom: 6rem;
}
main section .home-main-button:hover{
    background: linear-gradient(180deg,#f45c43,#eb3349);
}
main section .home-main-button a{
    width: 23rem;
    height: 5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.8rem;
    letter-spacing: 0.1rem;
    color: white
}
.home-main div{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

audio{
    width: 2rem;
    margin-top: 3rem;
}

/* MIDDLE SECTION */

.middle-section{
    width: 90vw;
    height: 250px;
    margin: 110px auto 40px;
    border-radius: 15px;
    display: grid;
    place-content: center;
    background-color: #0055b711;
    position: relative;
}
.middle-section h3{
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.8rem;
    text-align: center;
    letter-spacing: 0.1rem;
    color: var(--primary-color);
    padding: 0 10vw;
}
.middle-section_photo{
    top: 0;
    left: 50%;
    position: absolute;
    width: 100px;
    height: 100px;
    background-position: center;
    background-repeat: no-repeat;
    background-size:contain;
    /* mix-blend-mode:darken; */
    background-image: url(../assets/img/drago.png);
    transform: translateX(-50%);
    margin-block-start: -50px;
}

/* Social Media Footer */


body .Social-media_home{
    display: flex;
    background-color: #fff;
    height: 5rem;
    justify-content: center;
    align-items: center;
    padding-block-start: 4rem;
    padding-block-end: 2rem;
    margin: 60px 0 60px;
}
body .Social-media_home a {
    color: var(--primary-color);
    animation: slideUp_Social--footer 3.0s ease forwards; /* Duración de la animación y repetición */
    animation-iteration-count: infinite; /* Repetir indefinidamente */
    animation-direction: alternate; /* Alternar dirección para que vuelva a su estado inicial */
    opacity: 0;
}
body .Social-media_home > a:hover {
    color: var(--secundary-color);
    zoom: 1.2;
}

/* Inicio animacion botones redes */

@keyframes slideUp_Social--footer {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Final animacion botones redes */

/* Estilos Sección Portafolio */
.section-portafolio{
    margin-block-end: 120px;
}

/* FOOTER */

body .copyright{
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    height: 7rem;
}
body .copyright h2{
    color: #666a6e;
    display: flex;
    font-family:'Montserrat', 'sans-serif';
    font-weight: 600;  
    font-size: 1.2rem;
    align-items: center;
    align-content: center;
    text-align: center;
}


