/* GLOBAL */
*::selection{
    background-color: hsla(205, 56%, 70%, 0.5);
}
*{
    box-sizing: border-box;
}
a{
    text-decoration: none;
    color: hsl(210, 100%, 70%);
}
a:hover{
    text-decoration: underline;
    cursor: pointer;
}
/* 
*--- SCROLLBAR
*/

::-webkit-scrollbar:horizontal{
    display: none;
}
::-webkit-scrollbar {
    width: 10px;
}

/* Buttons */
::-webkit-scrollbar-button
{
  border-style: solid;
  height: 16px;
  width: 16px;
}

/* Up */
::-webkit-scrollbar-button:vertical:decrement
{
  border-width: 0 7px 14px 7px;
  border-color: transparent transparent #404040 transparent;
}

::-webkit-scrollbar-button:vertical:decrement:hover
{
  border-color: transparent transparent #505050 transparent;
}


/* Down */
::-webkit-scrollbar-button:vertical:increment
{
  border-width: 14px 7px 0 7px;
  border-color: #404040 transparent transparent transparent;
}

::-webkit-scrollbar-button:vertical:increment:hover
{
  border-color: #505050 transparent transparent transparent;
}
 
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 1px 1px 6px hsl(0, 0%, 100%);
    box-shadow: inset 1px 1px 6px hsl(0, 0%, 100%);
    background: hsl(210, 100%, 70%); 

    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: rgb(17, 83, 150);

  border-radius: 10px;

  transition: background-color .2s ease;
}
::-webkit-scrollbar-thumb:hover {
    background-color: hsl(210, 95%, 20%);
}
::-webkit-scrollbar-thumb:active {
    background-color: hsl(210, 95%, 15%);
}

    /* BODY */

body{
    font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

.page{
    min-height: 100%;
    position: relative;
}


/*
*--- LANGUAGE
*/

.page__header{
    position: fixed;
    right: 30px;
    top: 50px;
    z-index: 1000;

    background-color: #003870;
    
    width: 200px;
    border-radius: 20px;

    box-shadow: 1px 1px 3px rgba(29, 63, 97, .5);
}

.header__title{
    position: absolute;
    top: -25px;
    left: 15px;
    color: azure;
    font-size: 1rem;

    display: block;
    margin: 0 auto;

    text-shadow: 2px 2px 5px rgba(0, 0, 0, .5);
    background-color: transparent;
}

.header__language{
    display: flex;
    justify-content: space-evenly;
    align-self: center;

    height: 30px;
}

.header__item{
    margin: 0 .4%;
    width: 17px;

    border: 0;
    background-color: transparent;
    color: white;

    font-size: .8rem;
    font-weight: 600;
    align-self: center;
    text-align: center;

    cursor: pointer;

    transition: color .2s linear;  
}
.header__item:not(.selected):hover{
    color:rgb(169, 188, 207);
}

.header__item:after {
    display:block;
    content: '';
    border-bottom: solid 2px #fff;  
    transform: scaleX(0);  
    transition: transform 250ms ease-in-out;
  }
.header__item.selected:after {
     transform: scaleX(1); 
}


/* COVER */

main{
    position: relative;
    height: 110vh;

    margin-bottom: 90vh;
}

/* MAIN COVER */
.main__cover{

    display: flex;
    flex-direction: column;

    height: 100vh;
    background-image: url('../img/Fondo-BUNKER.png');
    background-size: cover;

    position: relative;
}

#canvas{
    position: absolute;
    width: 100%;
    height: 100vh;

}

.main__container{
    width: 60%;

    margin: auto 0 auto 40%;

}

.main__container > *{
    margin-bottom: 3rem;

    color: white;
}

.main__logo{
    width: 250px;
}
.main__title{
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
p.main__text[key="cover__text-1"]{
    margin-bottom: 1rem;
}

/* MAIN COVER ANIMATED */

@keyframes animation__fade-left {
    0% {
        transform: translateX(-100%);
        opacity: 0; 
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes animation__fade-right {
    0% {
        transform: translateX(100%);
        opacity: 0; 
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
@keyframes animation__fade-up {
    0% {
        transform: translateY(100%);
        opacity: 0; 
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes animation__fade-down {
    0% {
        transform: translateY(-100%);
        opacity: 0; 
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}



.main__title-animated{
    animation-duration: 1s;
    animation-name: animation__fade-left;
}
.main__subtitle-animated{
    animation-duration: 1s;
    animation-name: animation__fade-right;
}
.main__text-animated{
    animation-duration: 1s;
    animation-name: animation__fade-up;
}
.main__buttons-animated{
    animation-duration: 1s;
    animation-name: animation__fade-down;
}
/* END MAIN COVER ANIMATED */
.main__subtitle{
    font-size: 2rem;

    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.main__text{
    width: 85%;

    line-height: 1.5;

    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}


.main__buttons{
    width: 60%;
    align-self: flex-end;
    display: flex;  
}
.main__btn{
    transform: scale(.9);
}
.main__btn{
    display: flex;

    border: 2px solid white;
    border-radius: 20px;
    width: 150px;
    height: 75px;
    margin-right:3rem;

    background-color: transparent;
    color: white;

    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5),
                inset 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: transform .2s ease, box-shadow .2s ease;
}

.main__btn > span{
    align-items: center;
    align-self: center;
    margin: 0 auto;
    
}

.main__btn:hover{

    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
    transform: translate(-2px, -2px);

    text-decoration: none;
    
}
.main__btn:active{
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5),
                inset 2px 2px 5px rgba(0, 0, 0, 0.5);
    transform: translate(1px, 1px);
}



/* SECTION LABEL */
.section__label{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 10vh;

    display: flex;
    justify-content: center;

    background-color:  hsl(210, 100%, 30%);
}
.label__title{
    align-self: center;
    color: white;
    font-size: 3rem;
    text-transform: uppercase;
}
.label__logo{
    transform: scale(.7);
}

/* ANIMATED LABEL */

@keyframes animation__fade-in {
    0% {
        transform: translateX(-100%);
        opacity: 0; 
    }
    80%{
        transform: translateX(0);
        opacity: 1;
    }
    85%{
        transform: translateX(-10%);
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}


.label__animation{
    animation-duration: 1s;
    animation-name: animation__fade-in;
    animation-timing-function: cubic-bezier(0,1.33,.9,-0.65);
}

/* END ANIMATED LABEL */


/* FOOTER */

.page__footer{
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 90vh;

    z-index: -2;

    display: flex;
    flex-direction: column;
}
.footer__brands-title{
    margin-top: 50px;
    display: flex;
    justify-content: center;
}
.footer__brands-title > hr{
    height: 3px;
    width: 200px;
    background-color: #D6D6D6;
    border: 0;
    border-radius: 10px;

    margin: 20px 50px;
}
.footer__brands-title h2{
    padding: 0 5px;
}

/* ANIMATED HR */


@keyframes animation__rotate {
    0%{
        transform: scale(.5);
    }
    100% {
        transform: scale(1);
    }
}

.hr__animation{
    animation-duration: .5s;
    animation-name: animation__rotate;
}
/* END ANIMATED HR */
.footer__brands{
    background-color: white;
    flex: 3;
}
.brands__title{
    font-size: 3rem;
    color: #004D9A;
}
.brands__title > span{
    font-weight: 700;
}

.footer__brands-block{
    margin-top: 50px;
    display: flex;
    justify-content: center;
}
.brand__img{
    margin: 0 70px;
    opacity: 0;

}

/* ANIMATED BRANDS */

@keyframes animationScale {
    0% {
        transform: scale(.5);
        opacity: 0; 
    }
    50%{
        transform: scale(1.5);
        opacity: .5; 
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.brand__animation{
    opacity: 1;
    animation-duration: 1s;
    animation-name: animationScale;
}

/* END ANIMATED BRANDS */


.footer__brands-block-2{
    margin-top: 20px;
    display: flex;
    justify-content: space-evenly;
}


/* FOOTER DOWN PART */
.footer__container{
    display: flex;
    flex-direction: column;

    flex: 2;
    background-color: #00243D;
}

.footer__wrapper{
    display: flex;
    justify-content: center;

    flex: 6;
}

.footer__block{
    width: 12rem;

    padding: 3rem 0;
    margin: 0 30px;
    text-align: left;

    color: #fff;
}

/* FOOTER BLOCK ANIMATED */
.footer__block_1{
    transform: translateY(500px);
    transition: transform 1s ease;
}
.footer__block_2{
    transform: translateY(500px);
    transition: transform 1s ease;
    transition-delay: .1s;
}

.footer__block_3{
    transform: translateY(500px);
    transition: transform 1s ease;
    transition-delay: .2s;
}

.footer__block_4{
    transform: translateY(500px);
    
    transition: transform 1s ease;
    transition-delay: .3s;
}
.footer__block_1-animated{
    transform: translateY(0);
    
}
.footer__block_2-animated{
    transform: translateY(0);
    transition-delay: .2s;
}

.footer__block_3-animated{
    transform: translateY(0);
    transition-delay: .4s;
}

.footer__block_4-animated{
    transform: translateY(0);
    transition-delay: .6s;
}

/* END FOOTER BLOCK ANIMATED */

.footer__logo{
    margin-top: 50px;
    width: 100%;
}
.footer__title{
    margin-top: 50px;
    color: #2AA3F2;
    font-size: 1.2rem;
    font-weight: 600;
}
.footer__list{
    margin-top: 20px;
}
.footer__item{
    padding: 5% 0;
}

.footer__block:last-child{
    width: 15rem;
}


/* FOOTER BUTTON */
.footer__btn { 
    margin: 20px auto;
    text-decoration: none;
    display: inline-block;
    width: 200px;
    height: 50px;
    text-align: center;
    position: relative;
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}
.footer__btn div {
    position: absolute;
    background-color: #333;
    height: 100%;
    width: 50px;
    border-radius: 25px;
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}
.footer__btn div span {
    display: block;
    position: absolute;
    top: calc(50% - 1px);
    left: 8px;
    height: 2px;
    width: 0px;
    background-color: #fff;
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}
.footer__btn div span::before {
    display: block;
    content: "";
    height: 2px;
    width: 10px;
    background-color: #fff;
    position:absolute;
    top: -3px;
    left: 13px;
    transform: rotate(45deg);
}
.footer__btn div span::after {
    display: block;
    content: "";
    height: 2px;
    width: 10px;
    background-color: #fff;
    position:absolute;
    top: 3px;
    left: 13px;
    transform: rotate(-45deg);
}
.footer__btn:hover div {
    width: 110%;
}

.footer__btn:hover div span {
    left:15%;
    width: 20px;
}

.footer__btn p {
    font-family: 'Mukta', sans-serif;
    position: absolute;
    top: calc(50% - 28px);
    left: calc(50% - 25.5px);
    top: 17px;
    z-index: 1;
    color: #fff;
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}
.footer__btn:hover p {
    color: #fff;
}
/* END FOOTER BUTTON */

.footer__social{
    display: flex;
    justify-content: flex-start;
}
.social__logo{
    width: 30px;

    transform: translate(20px , 10px);

    transition: transform .3s ease;
}

.social__link:hover .social__logo{
    transform: rotate(10deg);
}
.footer__privacy{
    display: flex;
    justify-content: center;

    background-color: #001829;
    flex: 1;
    text-align: center;
    color: #fff;
    padding: 20px 0;
}


