@import "https://fonts.googleapis.com/css2?family=Mozilla+Text:wght@200..700&family=Nata+Sans:wght@100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&family=Tektur:wght@400..900&display=swap";

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-family: "Tektur"
}

html{
  font-size: 62.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
  overflow-x: hidden;
}

.header{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  background: #000c1c;
  color: #f8f8fc;
}

.header h2{
  font-size: 2rem;
}

.navigation a{
  color: #fff;
  margin: 15px;
  font-size: 25px;
  transition: .7s;
}

.navigation a:hover{
  color: #ec182e;
}


.mail a{
  color: #fff;
  margin: 10px;
  font-size: 20px;
  gap: 1rem;
  border: 1px solid #ec182e;
  padding: 10px 20px;
  border-radius: 20px;
  transition: .7s;
}

.mail a:hover{
  color: #f8f8fc;
  background-color: #ec182e;
}

.links{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 15vh;
  margin-top: 10vh;
  padding: 10px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  background: #000c1c;
  color: #f8f8fc;
}

.navbar{
  background: #1b1b1b;
  margin-bottom: 10px;
}

.navbar a{
  color: #fff;
  margin: 15px;
  font-size: 1.7em;
  transition: .7s;
}
.navbar a:nth-child(2){
  color: #ec182e;
}

.navbar a:nth-child(1){
  font-size: 2em;
}
.navbar a:hover{
  color: #ec182e;
}

.links .bts-box{
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 300px;
  height: 50px;
  gap: 1rem;
}

.bts{
  padding: 10px 15px;
  background: #ec182e;
  border: 1px solid #ec182e;
  border-radius: 5px;
  font-size: 16px;
  color: #fff;
  letter-spacing: 1px;
  font-weight: 600;
}

.bts a{
  color: #f8f8fc;
}

.bts i{
  font-size: 100px;
}

.bts:nth-child(1){
  background: transparent;
}

.bts:hover:nth-child(1){
  background: #ec182e;
  transition: .7s;
}

.bts i{
  font-size: 1rem;
}

.btn img{
  width: 45px;
  height: 35px;
}

.welcome{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  background: url("IMG_6407.JPG") no-repeat;
  background-position: center;
  background-size: cover;
  padding: 60px;
  margin-top: 100px;
}

.welcome-content{
  max-width: 400px;
}

.welcome-content h1{
  color: #f8f8fc;
  font-size: 6rem;
}

.welcome-content p{
  color: #f8f8fc;
  font-size: 1.7rem;
  margin-bottom: 10px;
}




.end{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 50vh;
  background: url("IMG_4822.JPG") no-repeat;
  background-position: center;
  background-size: cover;
  padding: 60px;
}

.end-content{
  max-width: 430px;
}

.end-content h1{
  color: #f8f8fc;
  font-size: 4rem;
  text-align: center;
}

.end-content p{
  color: #f8f8fc;
  font-size: 2rem;
  margin-bottom: 10px;
}


.console{
  background: #000c1c;
}


.console .box-container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 55px;
}

.console img{
  width: 45px;
  height: 35px;
  top: 15px;
}
.console .box-container .box{
  background-color: #000000;
  border-radius: .5rem;
  display: flex;
  align-items: flex-end;
  padding: 1rem 2rem;
}

.console .box-container .box:hover{
  background-color: #ec182e;
  color: #000c1c;
  transition: .5s;
}


.console .box-container .box img{
  display: flex;
  align-items: flex-start;
  margin-right: 8px;
  margin-bottom: 1.2rem;
}

.console .box-container .box h3{
  font-size: 1.3rem;
  color: #f8f8fc;
  padding-bottom: 15px;
  margin-left: 25px;
}

.console .box-container .box span a{
  font-size: 1rem;
  color: #ec182e;
  display: flex;
  align-items: flex-start;
  padding-bottom: 0px;
  margin-right: 20px;
}

.console .box-container .box span a:hover{
  color: #000000;
}

.image img{
  width: 200px;
  height: 300px;
}

.heading{
  margin: 20px 0 20px;
  color: #f8f8fc;
  font-size: 3rem;
}
.highlight{
  height: 3px;
  width: 100%;
  background-color: #ec182e;
  margin-bottom: 20px;
}

.trending{
  padding-top: 1vh;
  background: #000c1c;
  padding-left: 2vh;
  padding-right: 2vh;
}

.latest{
  padding-top: 1vh;
  background: #000c1c;
  padding-left: 2vh;
  padding-bottom: 10vh;
}

.trending .posts-container {
    display: flex;
    gap: 2rem;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
}

.trending .posts-container::before,
.trending .posts-container::after{
  content: '';
  height: 100%;
  width: 5rem;
  position: absolute;
  pointer-events: none;
  z-index: 2;
  top: 0;
}

.trending .posts-container::before{
  left: -.1rem;
  background: linear-gradient(90deg, rgba(13, 13, 13,.8), transparent);
}

.trending .posts-container::after{
  right: -.1rem;
  background: linear-gradient(270deg, rgba(13, 13, 13,.8), transparent);
}

/* =========================
   SLIDER IMAGES
========================= */

.trending .posts-container .post {
    width: 18rem;
    flex: 0 0 18rem;
}

.trending .posts-container .post .image {
    width: 100%;
    aspect-ratio: 2 / 3;
    position: relative;
    overflow: hidden;
    border-radius: .5rem;
}

.trending .posts-container .post .image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.trending .posts-container .post{
  width: 18rem;
}

.posts-container{
  display: grid;
  grid-template-columns: repeat(auto-fit, 20rem);
  gap: 2rem;
  align-items: flex-start;
  justify-content: unset;
}

.posts-container .post{
  user-select: none;
}

.posts-container .post .image{
  width: 100%;
  aspect-ratio: 2 / 3;
  position: relative;
  border-radius: .5rem;
  overflow: hidden;
}

.posts-container .post .image img{
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
    object-position: center;
}

.posts-container .post .image::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(13, 13, 13,.8), transparent, rgba(13, 13, 13,.8));
  transition: .2s linear;
}

.posts-container .post .image:hover::before{
  opacity: 0;
}

.posts-container .post .image .type{
  position: absolute;
  top: 0;
  left: 0;
  background-color: #f8f8fc;
  color: #ec182e;
  border-bottom-right-radius: .5rem;
  padding: .1rem .5rem;
  font-size: 1.5rem;
}

.posts-container .post .image .caption a{
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: #000;
  color: #ec182e;
  border-top-left-radius: .5rem;
  padding: .1rem .5rem;
  font-size: 1.5rem;
}

.posts-container .post h3{
  margin: 1rem 0;
  font-weight: normal;
  display: block;
  text-overflow: ellipsis;
  width: 20rem;
  white-space: nowrap;
  color: #f8f8fc;
  font-size: 1.5rem;
  transition: .4s linear;
}

.posts-container .post h3:hover{
  color: #ec182e;
}



/* =========================
   TABLET
   768px - 1024px
========================= */

@media (min-width: 768px) and (max-width: 1024px){

    /* HEADER */

    .header{
        padding: 12px 25px;
        min-height: 65px;
    }

    .header h2{
        font-size: 1.8rem;
    }

    .navigation{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .navigation a{
        margin: 5px 8px;
        font-size: 1.6rem;
    }

    .mail a{
        margin: 5px;
        padding: 8px 14px;
        font-size: 1.5rem;
    }


    /* LINKS */

    .links{
        position: relative;
        width: 100%;
        height: auto;
        margin-top: 65px;
        padding: 12px 25px;

        display: flex;
        align-items: center;
        justify-content: center;

        gap: 15px;
        flex-wrap: wrap;
    }


    /* NAVBAR */

    .navbar{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;

        margin: 0;
    }

    .navbar a{
        margin: 5px 10px;
        font-size: 1.5rem;
    }


    /* BUTTONS */

    .links .bts-box{
        width: auto;
        min-width: 220px;
        height: auto;

        display: flex;
        gap: .8rem;
    }

    .bts{
        padding: 9px 12px;
        font-size: 1.3rem;
    }


    /* WELCOME / HERO */

    .welcome{
        min-height: 70vh;
        margin-top: 0;
        padding: 70px 45px;

        background-position: center;
        background-size: cover;
    }

    .welcome-content{
        max-width: 520px;
    }

    .welcome-content h1{
        font-size: clamp(4rem, 6vw, 5.5rem);
        line-height: 1.1;
    }

    .welcome-content p{
        font-size: 1.6rem;
        line-height: 1.7;
    }


    /* CONSOLE */

    .console .box-container{
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 15px;

        padding: 30px;
    }

    .console .box-container .box{
        width: 100%;
        min-width: 0;
    }

    .console .box-container .box h3{
        font-size: 1.2rem;
        margin-left: 10px;
    }


    /* POSTS */

    .trending .posts-container {
        gap: 1.5rem;
    }

    .trending .posts-container .post {
        flex: 0 0 18rem;
    }

    .trending .posts-container .post .image {
        aspect-ratio: 2 / 3;
    }

    .trending,
    .latest{
        padding-left: 25px;
        padding-right: 25px;
    }

    .posts-container{
        display: grid;
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .posts-container .post{
        width: 100%;
        min-width: 0;
    }

    .posts-container .post h3{
        width: 100%;
        min-width: 0;
    }

    .posts-container .post .image img{
        width: 100%;
        height: auto;
        display: block;
    }
    .posts-container{
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .posts-container .post{
        width: 100%;
        min-width: 0;
    }

    .posts-container .post .image{
        width: 100%;
        aspect-ratio: 2 / 3;
    }

    .posts-container .post .image img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* END SECTION */

    .end{
        min-height: 45vh;
        padding: 50px 35px;
    }

    .end-content{
        max-width: 600px;
    }

    .end-content h1{
        font-size: 3.4rem;
    }

    .end-content p{
        font-size: 1.7rem;
        line-height: 1.7;
    }

}

/* =========================
   MOBILE
   767px and below
========================= */

@media (max-width: 767px){

    .header{
        position: fixed;
        top: 0;
        left: 0;

        padding: 12px 18px;
        min-height: 60px;
    }


    /* HAMBURGER */

    .menu-btn{
        display: block;

        border: none;
        background: transparent;

        color: #fff;
        font-size: 2.8rem;

        cursor: pointer;
    }


    /* MOBILE NAV */

    .navigation{
        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        display: none;
        flex-direction: column;

        background: #000c1c;
    }

    .navigation.active{
        display: flex;
    }

    .navigation a{
        width: 100%;

        text-align: center;

        margin: 0;
        padding: 12px;

        font-size: 1.6rem;
    }


    /* HIDE DESKTOP MAIL */

    .mail{
        display: none;
    }


    /* LINKS */

    .links{
        position: relative;

        width: 100%;
        height: auto;

        margin-top: 60px;

        padding: 10px 15px;

        flex-direction: column;

        gap: 10px;
    }


    /* NAVBAR */

    .navbar{
        width: 100%;

        display: flex;
        justify-content: center;

        flex-wrap: wrap;
    }

    .navbar a{
        margin: 4px 6px;

        font-size: 1.3rem;
    }


    /* HERO */

    .welcome{
        min-height: 75vh;

        margin-top: 0;

        padding: 90px 22px 55px;

        justify-content: center;

        text-align: center;
    }

    .welcome-content{
        max-width: 100%;
    }

    .welcome-content h1{
        font-size: clamp(3.4rem, 12vw, 5rem);
        line-height: 1.1;
    }

    .welcome-content p{
        font-size: 1.5rem;
        line-height: 1.7;
    }


    /* CONSOLE */

    .console .box-container{
        display: grid;

        grid-template-columns: 1fr;

        gap: 12px;

        padding: 20px 15px;
    }


    /* POSTS */

    .trending,
    .latest{
        padding-left: 15px;
        padding-right: 15px;
    }

    .posts-container{
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 1rem;
    }

    .posts-container .post{
        width: 100%;
    }

    .posts-container .post h3{
        width: 100%;

        font-size: 1.25rem;

        overflow: hidden;

        text-overflow: ellipsis;
    }

    .trending .posts-container {
        gap: 1rem;
    }

    .trending .posts-container .post {
        flex: 0 0 15rem;
    }

    .trending .posts-container .post .image {
        aspect-ratio: 2 / 3;
    }

    .posts-container{
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .posts-container .post{
        width: 100%;
        min-width: 0;
    }

    .posts-container .post .image{
        width: 100%;
        aspect-ratio: 2 / 3;
    }

    .posts-container .post .image img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* END */

    .end{
        min-height: 40vh;

        padding: 45px 20px;

        text-align: center;
    }

    .end-content{
        max-width: 100%;
    }

    .end-content h1{
        font-size: 2.8rem;
    }

    .end-content p{
        font-size: 1.5rem;

        line-height: 1.7;
    }

}