*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/*INICIO CSS BARRA DE NAVEGACIÓN RESPONSIVE SIMPLE*/

header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    transition: all 300ms ease;
    background-color: rgb(29, 28, 28);
}

.nav-container .brand-name{
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(236, 236, 234);
    font-size: 1.5rem;
    font-family: 'Black Han Sans', sans-serif;
    letter-spacing: 2px;
}

.nav-container .brand-name a{
    text-decoration: none;
    color: rgb(236, 236, 234);
}

.nav-container .brand-name img{
    height: 2rem;
    width: 2rem;
    transform: translateY(-5px) translateX(-1px);
}

.nav-container{
    width: 80%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgb(29, 28, 28);
    font-family: 'Black Han Sans', sans-serif;
    font-size: 1.5rem;
    line-height: 9vh;
}

.navbar-links ul{
    display: flex;
    line-height: 9vh;
}

.navbar-links li{
    list-style: none;
    line-height: 9vh;   /*EXPERIMENTO parte para submenu*/
    position: relative;   /*EXPERIMENTO parte para submenu*/
}

.navbar-links li a{
    text-decoration: none;
    color: rgb(236, 236, 234);
    padding: 0 2rem 0 2rem;
    display: block;
    letter-spacing: 2px;
}

ul li a{
    transition: all 500ms ease;
}

ul li a:hover{
    /*animation: wiggle2 750ms ease;*/
    color: rgb(47, 163, 240);
}

ul li img{
    transition: all 750ms ease;
    margin-left: 4px;
}

ul li:hover img{
    transform: rotate(180deg);
}

@keyframes wiggle2 {
    0% { transform: rotate(0deg); }
   20% { transform: rotate(15deg); }
   40% { transform: rotate(-15deg); }
   60% { transform: rotate(15deg); }
   80% { transform: rotate(-15deg); }
  100% { transform: rotate(0deg); }
}

.toggle-button{
    position: absolute;
    top: 1.3rem;
    top: 40%;
    right: 1rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.toggle-button .bar{
    height: 3px;
    width: 100%;
    background-color: rgb(236, 236, 234);
    border-radius: 10px;
}

/*FIN CSS BARRA DE NAVEGACIÓN RESPONSIVE SIMPLE, a escepcion de los mediaqueries*/

/*CSS PARA AGREGAR UN DROPDOWN MENU*/

ul{
    list-style: none;
}

.navbar-links .sub-menu{
    display: flex;
    flex-direction: column;
}

.sub-menu{
    width: 10rem;
    display: block;
    position: absolute;
    border-top: 3px solid rgb(47, 163, 240);
    background-color: rgb(29, 28, 28);
    opacity: 0;
    visibility: hidden;
    transition: all 550ms ease;
    z-index: 100;   /*puede no ser necesario, header ya tiene uno de 1001*/
    top: 10rem;
}

.sub-menu::before{
    content: '';
    position: absolute;
    top: -2.5rem;
    left: 3.8rem;
    border: 1.2rem solid transparent;
    border-bottom-color: rgb(47, 163, 240);
}

.navbar-links li:hover > .sub-menu{
    top: 9vh;
    opacity: 1;
    visibility: visible;
} 

/*MEDIAOQUERIES BARRA DE NAVEGACION*/

@media (max-width: 1300px){
    .navbar-links li a{
        padding: 0 1rem 0 1rem;
    }
}

@media (max-width: 1200px){
    .toggle-button{
        display: flex;
        z-index: 1050;
    }
    .navbar-links{
        display: none;
    }
    .nav-container{
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar-links ul{
        width: 100%;
        flex-direction: column;
        line-height: 9vh;  
    }
    .navbar-links{
        position: fixed;    /*experimento full page*/
        top: 0;    /*experimento full page*/
        left: 0;    /*experimento full page*/
        width: 100%;
        height: 100vh;    /*experimento full page*/
        background-color: #111111;   /*experimento full page*/
        z-index: 900;    /*experimento full page*/
    }
    .navbar-links li{
        text-align: center;
        width: 100%;
        line-height: 9vh; 
    }
    .navbar-links.active{
        display: flex;
    }
    .navbar-links li a{
        padding: 1rem 0 1rem 0;
    }
    .sub-menu{
        width: 5rem;
        position: initial;
        border: 3px solid transparent;
        border-top-color: rgb(47, 163, 240);
      /*  margin-left: 10rem;  */
        max-height: 0;
        background-color: #1f1d1d;
    }
    .sub-menu::before{
        top: 8.4vh;
        left: 46.5%;
    }
    .sub-menu a{
        text-align: center;
    }

    .navbar-links li:hover > .sub-menu{
        opacity: 1;
        visibility: visible;
        max-height: initial;
    }
}

/*MEDIA QUERY PARA MARCA FORMATO MOVIL*/

@media (max-width: 500px){
    .nav-container .brand-name{
        font-size: 1rem;
    }
    .toggle-button{
        top: 30%;
    }
}

/*FINAL MEDIAQUERIES BARRA DE NAVEGACION*/

/*CHANGING HEADER ON SCROLL*/

.nav-scrolled{
    background: rgba(224, 216, 216, 1);
    background: #111111;
}

.nav-scrolled li a{
    color: rgb(2, 10, 83);
    color: rgb(47, 163, 240);
}


/*FINAL NAVBAR*/

/*BODY*/

.vulcan-body{
    min-height: 130vh;
    width: 100%;
    display:grid;
    grid-template-columns: 1fr;
    grid-template-rows: 40rem 6.9rem 70vh;
    overflow-x: hidden;
}

.image-vulcan{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 1/2;
    grid-row: 1/2;
    background-image: url(./DreamPotion-img/Gif_Vulcan2.gif);
    background-size: 100% 100%;
}

.image-vulcan .shader{
    height: 100%;
    width: 100%;
    background-color: rgba(14, 14, 17, 0.685);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-vulcan img{
    height: 20rem;
    width: 50rem;
    transform: translateY(40px);
}

.features{
    grid-column: 1/2;
    grid-row: 2/3;
    height: 100%;
    width: 100%;
    letter-spacing: 2px;
    background-image: linear-gradient(90deg, #36D1DC,#5B86E5, #2a4e9a, #5B86E5, #36D1DC);
    background-size: 380%;
    animation: top-animation 10s infinite alternate;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(236, 236, 236);
    font-size: 2rem;
    font-weight: bold;
    font-family: 'Black Han Sans', sans-serif;
}

.features p{
    text-align: center;
}

@keyframes top-animation{
    0%{
        background-position: left;
    }
    100%{
        background-position: right;
    }
}

.text-vulcan{
    height: 100%;
    width: 100%;
    grid-column: 1/2;
    grid-row: 3/4;
    background-color: #2c2c2c;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.minitext-vulcan{
    width: 50%;
    height: 100%;
    color: rgb(236, 236, 236);
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.minitext-vulcan h1{
    color: #2fa3f0;
    font-size: 2rem;
    font-family: 'Black Han Sans', sans-serif;
    letter-spacing: 2px;
    font-weight: bold;
}

.minitext-vulcan p{
    padding: 2rem 4rem 2rem 4rem;
    font-size: 1.5rem;
    text-align: justify;
}

.minitext-vulcan a{
    font-size: 1.5rem;
    font-family: 'Black Han Sans', sans-serif;
    text-decoration: none;
    color: rgb(47, 163, 240);
    padding: 1rem;
    outline: 1px solid rgb(47, 163, 240);
    text-align: center;
    transition: 500ms ease;
}

.trailer{
    width: 40%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trailer iframe{
    height: 80%;
    width: 100%;
}

.footer{
    min-height: 35vh;
    width: 100%;
    background-color: #2c2c2c;
    background: linear-gradient(90deg, #373B44, #4286f4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.footer-title{
    height: 60%;
    width: 80%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5vh;
}

.footer-title p{
    font-size: 2rem;
    color: #ececea;
    font-family: 'Black Han Sans', sans-serif;
}

.media{
    height: 40%;
    width: 100%;
    display: flex;
    align-items:flex-start;
    justify-content: center;
}

.media img{
    margin: 0 2rem 0 2rem;
    transition: all 400ms ease;
    cursor: pointer;
}

.media img:hover{
    transform: scale(1.3);
}

@media (max-width: 1375px){
    .image-vulcan img{
        height: 12rem;
        width: 30rem;
    }
}

@media (max-width: 1000px){
    .vulcan-body{
        min-height: 90vh;
    }
}

@media (max-width: 1100px){
    .vulcan-body{
        display:grid;
        grid-template-columns: 1fr;
        grid-template-rows: 40rem 6.9rem 59.25rem;
    }
    .text-vulcan{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }
    .minitext-vulcan{
        width: 100%;
        grid-column: 1/2;
        grid-row: 1/2;
    }
    .trailer{
        width: 100%;
        grid-column: 1/2;
        grid-row: 2/3;
    }
    .trailer iframe{
        height: 90%;
        width: 70%;
    }
}

@media (max-width: 950px){
    .trailer{
    grid-column: 1/2;
    grid-row: 2/3;
    margin: auto;
    }
    .media img{
        width: 45px;
        height: 45px;
        margin: 0 1rem 0 1rem;
    }
}

@media (max-width: 580px){
    .vulcan-body{
        grid-template-rows: 23rem 6.9rem 59.25rem;
    }
    .trailer{
    grid-column: 1/2;
    grid-row: 2/3;
    margin: auto;
    }
    .image-vulcan img{
        height: 10rem;
        width: 18rem;
    }
    .features{
        font-size: 1.4rem;
    }
    .minitext-vulcan h1{
        font-size: 1.4rem;
        letter-spacing: 1px;
    }
    .minitext-vulcan p{
        font-size: 1rem;
        padding: 2rem 3rem 2rem 3rem
    }
    .minitext-vulcan a{
        font-size: 1.2rem;
    }
    .footer-title p {
        font-size: 1.4rem;
    }
    .media img{
        width: 35px;
        height: 35px;
        margin: 0 1rem 0 1rem;
    }
}