@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Michroma&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@import url('config.css');
@import url('variables.css');
@import url('components/button-glitch.css');


@import url('components/popup2.css');
@import url('animations3.css');

.hidden_desk{
    display: none;
}

.hidden_mobile{
    display: block;
}

.player{
    display: inline-block;
    animation: floatDisk 3s ease-in-out infinite;
}

.player_img{
    width: 560px;
}

.header_home{
    max-width: 1200px;
    margin: 0 auto;
}

.header_home img{
    display: block;
}

.header_home_content_text p{
    max-width: 375px;
}

.logo-feel{
    margin-bottom: 40px;
}

.logo-home{
    margin-bottom: 15px;
}

.ship_container{
    position: absolute;
    top: 280px;
    left: -190px;
    z-index: 1;
}

.ship{
    position: absolute;
    filter: blur(3px);
    transform: scale(0.6);    
    animation: naveMove 1.5s ease-in-out forwards, floatShip 3s infinite;
    animation-delay: 0s, 2s;
    width: 343px;
}

.header_home_content{
    display: flex;
    justify-content: space-between;
    padding: 134px 30px 100px 30px;
    gap: 40px;
    flex-wrap: wrap;
}

.header_home_content_img{    
    max-width: 560px;
    position: relative;
}

.beat-sound{
    position: absolute;
    top: 335px;
    left: 55px;
    animation: fadeLoop 1.5s infinite;
    width: 70px;
}

.waves{
    position: absolute;
    top: 217px;
    left: 150px;
}

.wave1, .wave2, .wave3, .wave4{
    position: absolute;
    opacity: 0;
    animation: fadeLoop 1.5s infinite;
    width: 220px;
}

.wave1{
    animation-delay: 0s;
}

.wave2{
    animation-delay: 0.5s;
}

.wave3{
    animation-delay: 1.5s;
}

.wave4{
    animation-delay: 2s;
}

.about{
    background-image: linear-gradient(to right bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4) ) ,  url('../public/assets/map1.jpg');
    background-color: rgb(0, 0, 0);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    position: relative;
    margin-top: 0px;
    background-attachment: fixed;    
    color: rgb(255, 255, 255);
    padding: 200px 0 100px 0;
}

.flex-reverse{
    flex-direction: row-reverse;
}

.align-right{
    text-align: right;
}

.text-center{
    text-align: center;
}

.about::before{
    height: 46px;
    width: 100%;
    content: "";
    position: absolute;
    background-image: url('../public/assets/divider-bottom.png');
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    left: 0px;
    top: -1px;
    z-index: 0;
    opacity: 1;
}

.about::after{
    height: 46px;
    width: 100%;
    content: "";
    position: absolute;
    background-image: url('../public/assets/divider-top.png');
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    left: 0px;
    bottom: 0px;
    z-index: 0;
    opacity: 1;
}

.black{
    background-color: black;
}

.join{
    width: 100%;
    position: relative;
    background-image: linear-gradient(to right bottom,  rgba(0, 0, 0, 0.4),  rgba(0, 0, 0, 0.4) )  ,  url('../public/assets/map2.jpg');
    background-color: rgb(0, 0, 0);
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 0px;
    background-attachment: fixed;    
    color: rgb(255, 255, 255);
    padding: 200px 0 100px 0;
}

.join::before{
    height: 43px;
    width: 100%;
    content: "";
    position: absolute;
    background-image: linear-gradient(rgb(0, 0, 0, 19), rgba(0, 0, 0, 0) 100%);
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    left: 0px;
    top: 0px;
    box-sizing: border-box;
}

.container_main{
    max-width: 1200px;
    margin: 0 auto 90px auto;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0px 30px;
}

#my-video{
    max-width: 100%;
}

.video{
    max-height: 300px;
    position: relative;
    max-width: 45%;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.video p{
    padding-bottom: 30px;
}

.video-img{
    border: 2px solid white;
    border-radius: 10px;
}

.card{
    max-width: 45%;
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;    
}

.heading-primary{
    font-family: "Michroma", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 20px;
}

.line{
    width: 100%;
    border-bottom: 1px solid var(--color-primary);
    margin: 20px 0;
}

.typewriter {    
    font-family: "Michroma", sans-serif;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.typewriter::after {
    content: '|';
    animation: blink 0.7s infinite;
}

.container_join{
    max-width: 1200px;
    margin: 0 auto 90px auto;
    text-align: center;
    padding: 0px 30px;
}

.btn-primary{
    background-color: var(--color-primary);
    color: rgb(49, 49, 49);
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    display: block;
}

footer{
    background-color: var(--color-primary);
    height: 142px;
    padding: 20px 0;
    position: relative;
}

.join::after{
    height: 46px;
    width: 100%;
    content: "";
    position: absolute;
    background-image: url('../public/assets/divider-top.png');
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    left: 0px;
    bottom: 0;
    z-index: 0;
    opacity: 1;
}

.container_footer{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-self: center;
    padding: 0px 30px;
}

.social{
    display: flex;
    align-self: center;
    gap: 10px;
}

.container_join_img{
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
}
  
#my-video.video-js {
    border: 2px solid #FFF;
    border-radius: 12px;
    overflow: hidden;
}

.cybr-btn {
    margin-top: 30px;
    --primary: var(--color-primary);
    --shadow-primary: #85e2ff;
    --primary-hue: 0;
    --primary-lightness: 50;
    --color: black;
    --font-size: 16px;
    --shadow-primary-hue: 180;
    --label-size: 9px;
    --shadow-secondary-hue: 60;
    --shadow-secondary: hsl(var(--shadow-secondary-hue), 90%, 60%);
    --clip: polygon(0 0, 100% 0, 100% 100%, 95% 100%, 95% 90%, 85% 90%, 85% 100%, 8% 100%, 0 70%);
    --border: 4px;
    --shimmy-distance: 3;
    --clip-one: polygon(0 2%, 100% 2%, 100% 95%, 95% 95%, 95% 90%, 85% 90%, 85% 95%, 8% 95%, 0 70%);
    --clip-two: polygon(0 78%, 100% 78%, 100% 100%, 95% 100%, 95% 90%, 85% 90%, 85% 100%, 8% 100%, 0 78%);
    --clip-three: polygon(0 44%, 100% 44%, 100% 54%, 95% 54%, 95% 54%, 85% 54%, 85% 54%, 8% 54%, 0 54%);
    --clip-four: polygon(0 0, 100% 0, 100% 0, 95% 0, 95% 0, 85% 0, 85% 0, 8% 0, 0 0);
    --clip-five: polygon(0 0, 100% 0, 100% 0, 95% 0, 95% 0, 85% 0, 85% 0, 8% 0, 0 0);
    --clip-six: polygon(0 40%, 100% 40%, 100% 85%, 95% 85%, 95% 85%, 85% 85%, 85% 85%, 8% 85%, 0 70%);
    --clip-seven: polygon(0 63%, 100% 63%, 100% 80%, 95% 80%, 95% 80%, 85% 80%, 85% 80%, 8% 80%, 0 70%);
    font-family: "Michroma", sans-serif;
    color: var(--color);
    cursor: pointer;
    background: transparent;
    text-transform: uppercase;
    font-size: var(--font-size);
    outline: transparent;
    letter-spacing: 1px;
    position: relative;
    font-weight: 700;
    border: 0;
    min-width: 100%;
    height: 75px;
    line-height: 20px;
    transition: background 0.2s;
    text-align: left;
    padding-left: 75px;
    padding-top: 16px;
}

.cybr-btn:hover {
    --primary: var(--color-primary);
}

.cybr-btn:after,
.cybr-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    clip-path: var(--clip);
    z-index: -1;
}

.cybr-btn:before {
    background: var(--shadow-primary);
    transform: translate(var(--border), 0);
}

.cybr-btn:after {
    background: var(--primary);
}

.cybr-btn:after,
.cybr-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  clip-path: var(--clip);
  z-index: -1;
}

.cybr-btn:before {
  background: var(--shadow-primary);
  transform: translate(var(--border), 0);
}

.cybr-btn:after {
  background: var(--primary);
}

.cybr-btn__tag {
  position: absolute;
  padding: 1px 4px;
  letter-spacing: 1px;
  line-height: 1;
  bottom: -5%;
  right: 5%;
  font-weight: normal;
  color: #FFF;
  font-size: var(--label-size);
}

.cybr-btn__glitch {
  position: absolute;
  top: calc(var(--border) * -1);
  left: calc(var(--border) * -1);
  right: calc(var(--border) * -1);
  bottom: calc(var(--border) * -1);
  background: var(--shadow-primary);
  text-shadow: 2px 2px var(--shadow-primary), -2px -2px var(--shadow-secondary);
  clip-path: var(--clip);
  animation: glitch 2s infinite;
  display: none;
}

.cybr-btn:hover .cybr-btn__glitch {
  display: block;
}

.cybr-btn__glitch:before {
  content: '';
  position: absolute;
  top: calc(var(--border) * 1);
  right: calc(var(--border) * 1);
  bottom: calc(var(--border) * 1);
  left: calc(var(--border) * 1);
  clip-path: var(--clip);
  background: var(--primary);
  z-index: -1;
}

@keyframes glitch {
  0% {
    clip-path: var(--clip-one);
  }
  2%, 8% {
    clip-path: var(--clip-two);
    transform: translate(calc(var(--shimmy-distance) * -1%), 0);
  }
  6% {
    clip-path: var(--clip-two);
    transform: translate(calc(var(--shimmy-distance) * 1%), 0);
  }
  9% {
    clip-path: var(--clip-two);
    transform: translate(0, 0);
  }
  10% {
    clip-path: var(--clip-three);
    transform: translate(calc(var(--shimmy-distance) * 1%), 0);
  }
  13% {
    clip-path: var(--clip-three);
    transform: translate(0, 0);
  }
  14%, 21% {
    clip-path: var(--clip-four);
    transform: translate(calc(var(--shimmy-distance) * 1%), 0);
  }
  25% {
    clip-path: var(--clip-five);
    transform: translate(calc(var(--shimmy-distance) * 1%), 0);
  }
  30% {
    clip-path: var(--clip-five);
    transform: translate(calc(var(--shimmy-distance) * -1%), 0);
  }
  35%, 45% {
    clip-path: var(--clip-six);
    transform: translate(calc(var(--shimmy-distance) * -1%));
  }
  40% {
    clip-path: var(--clip-six);
    transform: translate(calc(var(--shimmy-distance) * 1%));
  }
  50% {
    clip-path: var(--clip-six);
    transform: translate(0, 0);
  }
  55% {
    clip-path: var(--clip-seven);
    transform: translate(calc(var(--shimmy-distance) * 1%), 0);
  }
  60% {
    clip-path: var(--clip-seven);
    transform: translate(0, 0);
  }
  31%, 61%, 100% {
    clip-path: var(--clip-four);
  }
}

.cybr-btn:nth-of-type(2) {
  --primary-hue: 260;
}


@media (max-width: 750px){
    .player_img{
        width: 320px;
    }

    .header_home_content_text{
        width: 100%;
    }

    .flex-reverse{
        flex-direction: inherit;
    }

    .card{
        max-width: 100%;
    }

    .video{
        max-width: 100%;
    }

    .waves{
        position: absolute;
        top: 123px;
        left: 85px;
    }
    
    .wave1, .wave2, .wave3, .wave4{
        width: 130px;
    }

    .beat-sound{
        top: 192px;
        left: 29px;
        width: 40px;
    }

    .header_home_content_img{
        margin-top: -60px;
    }

    .ship{
        width: 200px;
        animation: naveMoveMobile 1.5s ease-in-out forwards, naveHide 0s forwards;
        animation-delay: 0s, 1.5s;
    }

    .ship_container{
        position: absolute;
        top: 200px;
        left: -150px;
        z-index: 1;
        animation: naveHide 0s forwards;
        animation-delay: 1.5s;
    }

    .header_home_content{
        padding: 134px 30px 60px 30px;
    }

    .cybr-btn {

        --font-size: 12px;
    }

    .cybr-btn:hover .cybr-btn__glitch {
        display: none;
      }

    .container_main{
        margin: 0 auto 30px auto;
    }

    .about::before{
        top: -35px;
    }

    .about{
        background-position: center center;
        background-attachment: scroll;
        padding: 60px 0;
    }

    .join{
        background-position: center center;
        background-attachment: scroll;
    }
}

@media (max-width: 500px){
    .hidden_desk{
        display: block;
    }
    
    .hidden_mobile{
        display: none;
    }

    body{
        background-size: auto;
        background-position: 30% top;
    }

    .header_home_content_text{
        width: 100%;
    }

    .flex-reverse{
        flex-direction: inherit;
    }


   
}

