@import url("https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=IBM+Plex+Sans+KR&family=Open+Sans:wght@300;400&family=Roboto&display=swap");
/* variables */

:root {
  --archivo: "Archivo", sans-serif;
  --audiowide: "Audiowide", cursive;
  --oswald: "Oswald", sans-serif;
  --dark-color: #151515;
  --green-color: #ff0000;
  --dark-green-color: #919789;
  --red-color: #919789;
  --trans: all 0.3s ease-in-out;
}

@keyframes animate {
  0% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(360deg);
  }
  100% {
    filter: hue-rotate(0deg);
  }
}

* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: 0;
  text-decoration: none;
  scroll-behavior: smooth;
  image-rendering: optimizeQuality;
}

html {
  font-size: 10px;
  /* 1rem becomes equal to 10px */
}

body {
  font-size: 1.6rem;
  font-family: var(--archivo);
  background-color: var(--dark-color);
  color: #fff;
}

ul {
  list-style: none;
}

img {
  width: 100%;
  display: block;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.navbar {
  background-color: var(--dark-color);
  color: #fff;
  text-align: center;
  padding: 0px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  border-bottom: 5px solid var(--green-color);
}

.navbar .container {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.navbar-brand {
  font-family: var(--audiowide);
  /* font-size: 4rem; */
  color: #fff;
  width: 20%;
}

.navbar-brand span {
  color: var(--green-color);
}

.search-form {
  display: none;
}

.navbar-toggler-open,
.navbar-toggler-close {
  font-size: 2.8rem;
  background-color: transparent;
  color: #fff;
  border: none;
  cursor: pointer;
  -webkit-transition: var(--trans);
  -o-transition: var(--trans);
  transition: var(--trans);
}

.navbar-toggler-open:hover,
.navbar-toggler-close:hover {
  opacity: 0.8;
}

.navbar-collapse {
  position: fixed;
  right: -345px;
  top: 0;
  width: 345px;
  background-color: var(--green-color);
  height: 100%;
  padding: 2rem 2rem 2rem 3rem;
  z-index: 999;
  -webkit-transition: var(--trans);
  -o-transition: var(--trans);
  transition: var(--trans);
}

.navbar-toggler-close {
  position: absolute;
  right: 2rem;
  top: 2rem;
}

.navbar-nav {
  margin-top: 5rem;
}

.nav-item {
  margin: 2.4rem 0;
  text-align: left;
  font-family: var(--oswald);
}

.nav-link {
  color: #fff;
  -transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  -webkit-transition: var(--trans);
  -o-transition: var(--trans);
  transition: var(--trans);
}

.nav-link:hover,
.nav-item-dropdown:hover {
  color: var(--dark-color);
}

.nav-item-dropdown {
  margin-left: 0.5rem;
  cursor: pointer;
  -webkit-transition: var(--trans);
  -o-transition: var(--trans);
  transition: var(--trans);
}

.nav-item-dropdown-content {
  max-height: 0;
  overflow: hidden;
}

.nav-item-dropdown-content li {
  margin-bottom: 1rem;
}

.nav-item-dropdown-content li a {
  color: #fff;
  opacity: 1;
  letter-spacing: 0.5px;
  -webkit-transition: var(--trans);
  -o-transition: var(--trans);
  transition: var(--trans);
}

.nav-item-dropdown-content li a:hover {
  opacity: 1;
}

/* nav item dropdown show class */

.show-dropdown {
  max-height: 1000px;
  margin: 1rem 0;
}

/* navbar show class */

.show-navbar {
  right: 0;
}

/* header section */

#header {
  min-height: 100vh;
  margin-top: 85px;
  padding: 2rem 0;
}

.header-item {
  position: relative;
  height: 420px;
}

.header-item img {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.header-item-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  color: #fff;
  background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    from(rgba(0, 0, 0, 0.8)),
    color-stop(rgba(0, 0, 0, 0.7)),
    to(rgba(0, 0, 0, 0))
  );
  background: -o-linear-gradient(
    bottom,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0) 100%
  );
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0) 100%
  );
  padding: 2.6rem;
}

h1,
h2,
h3,
h4 {
  margin: 1.6rem 0;
  line-height: 1.3;
  letter-spacing: 1px;
}

.text {
  margin: 1.6rem 0;
  line-height: 1.5;
  font-weight: 300;
  opacity: 1;
  /* letter-spacing: 1px; */
}

.header-item-text small {
  display: block;
  margin: 1rem 0;
  font-size: 1.5rem;
  opacity: 0.6;
  font-style: italic;
}

.header-item-text a {
  background-color: #7289da;
  color: #fff;
  padding: 0.5rem 1rem;
  display: inline-block;
  margin-top: 1rem;
  border-radius: 0.3rem;
  /* -webkit-transition: var(--trans); */
  /* -o-transition: var(--trans); */
  transition: var(--trans);
}

.header-item-text a:hover {
  background-color: var(--dark-green-color);
}

/* news */

.title {
  background-color: var(--green-color);
  padding: 1rem 0;
  color: #fff;
}

.title h2 {
  margin: 0;
}

article {
  margin: 2rem 0;
}

.item-img {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.item-img img {
  -o-object-fit: cover;
  object-fit: cover;
  height: 100%;
}

.item-img span {
  position: absolute;
  bottom: 0;
  right: 0;
  display: inline-block;
  padding: 1rem 1.5rem;
  background-color: var(--red-color);
  color: #fff;
}

.item-text {
  padding: 2rem 0;
}

.h1 {
  font-size: 2.2rem;
  color: #fff;
  display: block;
  margin-bottom: 1.6rem;
  line-height: 1.3;
  letter-spacing: 1px;
}

.item-text a {
  -webkit-transition: var(--trans);
  -o-transition: var(--trans);
  transition: var(--trans);
}

.item-text a:hover {
  opacity: 0.8;
}

.category {
  font-family: var(--oswald);
  font-size: 1.6rem;
  display: inline-block;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  background-color: var(--red-color);
  margin-right: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.2rem;
}

.item-text .date {
  opacity: 0.5;
  margin-top: 1.5rem;
  letter-spacing: 1px;
}

/* videos section */

#videos .title {
  background-color: var(--green-color);
}

#videos article {
  border-bottom: 2px solid var(--green-color);
}

#videos .item-video video {
  width: 100%;
  border-radius: 0.4rem;
}

#videos .category {
  background-color: var(--green-color);
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: var(--green-color);
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
  transition: var(--trans);
}

#myBtn:hover {
  background-color: var(--dark-green-color);
}

/* Services Section */

.services {
  background: var(--dark-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 70vh;
}

.services h1 {
  background-color: var(--green-color);
  background-image: linear-gradient(
    to right,
    #ff8177 0%,
    #ff867a 0%,
    #ff8c7f 21%,
    #f99185 52%,
    #cf556c 78%,
    #b12a5b 100%
  );
  background-size: 100%;
  -webkit-background-clip: text;
  -moz-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  margin-bottom: 5rem;
  font-size: 2.5rem;
}

.services__container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.services__card {
  margin: 1rem;
  height: 525px;
  width: 400px;
  border-radius: 4px;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(17, 17, 17, 0.6) 100%
    ),
    url("https://cdn.discordapp.com/attachments/941769043889766431/946511055922815026/astynomia-apagoreysi-synathroiseon.jpg");
  background-size: cover;
  position: relative;
  color: #fff;
}

.services__card:before {
  opacity: 0.2;
}

.services__card:nth-child(2) {
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(17, 17, 17, 0.9) 100%
    ),
    url("https://cdn.discordapp.com/attachments/941769043889766431/946511506974068736/51fbcb83303b0b89944126b235c38f4095edcb6f.jpeg");
}

.services__card:nth-child(3) {
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(17, 17, 17, 0.9) 100%
    ),
    url("https://cdn.discordapp.com/attachments/941769043889766431/946511235594194984/asthenoforo-ekav-1200x675.jpg");
}

.services__card h2 {
  position: absolute;
  top: 350px;
  left: 30px;
}

.services__card p {
  position: absolute;
  top: 400px;
  left: 30px;
}

.services__card button {
  color: #fff;
  padding: 10px 20px;
  border: none;
  outline: none;
  border-radius: 4px;
  background: var(--green-color);
  position: absolute;
  top: 440px;
  left: 30px;
}

.services__card button:hover {
  cursor: pointer;
  background-color: var(--dark-green-color);
  transition: var(--trans);
}

.services__card:hover {
  transform: scale(1.075);
  transition: 0.2s ease-in;
  cursor: pointer;
}

@media screen and (max-height: 800px) {
  .services {
    height: 80vh;
  }
  .services h1 {
    font-size: 1.2rem;
  }
  .services__card {
    width: 300px;
  }
}

@media screen and (max-width: 1000px) {
  .services {
    height: 10000vh;
  }
  .services h1 {
    font-size: 2rem;
    margin-top: 12rem;
  }
}

@media screen and (max-width: 1260px) {
  .services {
    height: 1200px;
  }
  .services h1 {
    font-size: 2rem;
    margin-top: 12rem;
  }
}

@media screen and (max-width: 960px) {
  .services {
    height: 1200px;
  }
  .services h1 {
    font-size: 2rem;
    margin-top: 12rem;
  }
}

@media screen and (max-width: 480px) {
  .services {
    height: 1400px;
  }
  .services h1 {
    font-size: 1.2rem;
  }
  .services__card {
    width: 300px;
  }
}

@media screen and (max-width: 840px) {
  .services {
    height: 1200px;
  }
  .services h1 {
    font-size: 1.2rem;
  }
  .services__card {
    width: 300px;
  }
}

@media screen and (max-width: 640px) {
  .services {
    height: 1700px;
  }
  .services h1 {
    font-size: 1.2rem;
  }
  .services__card {
    width: 300px;
  }
}

/* promo */

#promo {
  min-height: 100vh;
  margin-bottom: 2rem;
  background: url("../resources/videos/cobrarptrimmed.webp") center/cover
    no-repeat;
  /* background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.2)), to(rgba(0, 0, 0, 0.3))), url('https://cdn.discordapp.com/attachments/941769043889766431/946776239904010320/cobrarptrimmed.mp4') center/cover no-repeat; */
  /* background: -o-linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)), url(../resources/images/promo-bg-1.jpg) center/cover no-repeat;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)), url(../resources/images/promo-bg-1.jpg) center/cover no-repeat; */
  text-align: center;
  /* -webkit-animation: backgroundChange 10s infinite;
            animation: backgroundChange 10s infinite; */
}

#promo .backgroundVideo {
  z-index: -1;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
}

@-webkit-keyframes backgroundChange {
  0%,
  100% {
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        from(rgba(0, 0, 0, 0.2)),
        to(rgba(0, 0, 0, 0.3))
      ),
      url(../resources/images/promo-bg-1.jpg) center/cover no-repeat;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)),
      url(../resources/images/promo-bg-1.jpg) center/cover no-repeat;
  }
  33% {
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        from(rgba(0, 0, 0, 0.2)),
        to(rgba(0, 0, 0, 0.3))
      ),
      url(../resources/images/promo-bg-2.jpg) center/cover no-repeat;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)),
      url(../resources/images/promo-bg-2.jpg) center/cover no-repeat;
  }
  66% {
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        from(rgba(0, 0, 0, 0.2)),
        to(rgba(0, 0, 0, 0.3))
      ),
      url(../resources/images/promo-bg-3.jpg) center/cover no-repeat;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)),
      url(../resources/images/promo-bg-3.jpg) center/cover no-repeat;
  }
}

@keyframes backgroundChange {
  0%,
  100% {
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        from(rgba(0, 0, 0, 0.2)),
        to(rgba(0, 0, 0, 0.3))
      ),
      url(../resources/images/promo-bg-1.jpg) center/cover no-repeat;
    background: -o-linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)),
      url(../resources/images/promo-bg-1.jpg) center/cover no-repeat;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)),
      url(../resources/images/promo-bg-1.jpg) center/cover no-repeat;
  }
  33% {
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        from(rgba(0, 0, 0, 0.2)),
        to(rgba(0, 0, 0, 0.3))
      ),
      url(../resources/images/promo-bg-2.jpg) center/cover no-repeat;
    background: -o-linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)),
      url(../resources/images/promo-bg-2.jpg) center/cover no-repeat;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)),
      url(../resources/images/promo-bg-2.jpg) center/cover no-repeat;
  }
  66% {
    background: -webkit-gradient(
        linear,
        left top,
        left bottom,
        from(rgba(0, 0, 0, 0.2)),
        to(rgba(0, 0, 0, 0.3))
      ),
      url(../resources/images/promo-bg-3.jpg) center/cover no-repeat;
    background: -o-linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)),
      url(../resources/images/promo-bg-3.jpg) center/cover no-repeat;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)),
      url(../resources/images/promo-bg-3.jpg) center/cover no-repeat;
  }
}

.mainlogo {
  height: 350px;
  width: 350px;
  margin: 0 auto;
  padding: 4vh;
}

#promo span {
  text-transform: uppercase;
  font-family: var(--oswald);
  font-size: 3rem;
  font-weight: bold;
}

#promo h2 {
  font-size: 5rem;
  letter-spacing: 2px;
  /* font-family: var(--archivo); */
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin-top: 2rem;
  animation: glow 1s ease-in-out infinite alternate;
}

@-webkit-keyframes glow {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #ff0000,
      0 0 40px #ff0000, 0 0 50px #ff0000, 0 0 60px #91ffa5, 0 0 70px #ff0000;
  }
  to {
    text-shadow: 0 0 20px #fff, 0 0 30px #3cb244, 0 0 40px #ff0000,
      0 0 50px #ff0000, 0 0 60px #91ffa5, 0 0 70px #ff0000, 0 0 80px #ff0000;
  }
}

#promo .text {
  max-width: 500px;
  margin-right: auto;
  margin-left: auto;
  font-size: 2rem;
  letter-spacing: -2px;
  font-weight: bold;
}

.btnsmall {
  text-align: center;
  width: 100%;
  margin: 0rem;
  background-color: #7289da;
  border-radius: 0.3rem;
  color: #fff;
  padding: 1.2rem 2rem;
  font-size: 15px;
  /* text-transform: uppercase; */
  -webkit-transition: var(--trans);
  -o-transition: var(--trans);
  transition: var(--trans);
}

#promo .btn-groups {
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 2rem;
}

#promo .btn-groups a:first-child {
  margin: 1rem;
  background-color: #7289da;
  border-radius: 0.3rem;
  color: #fff;
  padding: 1.4rem 2rem;
  font-size: 1.8rem;
  /* text-transform: uppercase; */
  -webkit-transition: var(--trans);
  -o-transition: var(--trans);
  transition: var(--trans);
}

#promo .btn-groups a {
  margin: 1rem;
  background-color: var(--green-color);
  border-radius: 0.3rem;
  color: #fff;
  padding: 1.4rem 2rem;
  font-size: 1.8rem;
  /* text-transform: uppercase; */
  -webkit-transition: var(--trans);
  -o-transition: var(--trans);
  transition: var(--trans);
}

#promo .btn-groups a:hover {
  background-color: var(--dark-green-color);
}

/* footer */

#footer {
  background-color: #000;
  padding: 4rem 0;
  text-align: center;
}

#footer a {
  color: #fff;
  -webkit-transition: var(--trans);
  -o-transition: var(--trans);
  transition: var(--trans);
}

#footer a:hover {
  color: var(--red-color);
}

.footer-links-1 ul,
.footer-links-2 ul {
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.footer-links-1 {
  margin: 1.5rem 0;
}

.footer-links-1 h2 {
  font-family: var(--oswald);
}

.footer-links-1 ul li {
  margin: 1rem;
}

.footer-links-1 ul li a {
  font-size: 2.4rem;
}

.footer-links-2 {
  margin-bottom: 2rem;
}

.footer-links-2 ul li {
  padding: 0 1rem;
  margin: 1rem 0;
  border-right: 1px solid #fff;
}

#footer .text {
  font-size: 1.3rem;
}

/* media qeries */

@media (min-width: 768px) {
  /* news & reviews */
  #news article,
  #reviews article {
    display: grid;
    grid-template-columns: 2fr 3fr;
    -webkit-column-gap: 2rem;
    -moz-column-gap: 2rem;
    column-gap: 2rem;
  }
  #news article .item-img,
  #reviews article .item-img {
    height: 260px;
  }
  /* popular news */
  #news .news-popular article .item-img {
    height: 160px;
  }
  #news .news-popular .popular-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    -webkit-column-gap: 4rem;
    -moz-column-gap: 4rem;
    column-gap: 4rem;
  }
  #news .news-popular .popular-list article:first-child,
  #news .news-popular .popular-list article:last-child {
    margin-top: 0;
  }
  /* videos */
  #videos .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    -webkit-column-gap: 4rem;
    -moz-column-gap: 4rem;
    column-gap: 4rem;
  }
}

@media (min-width: 992px) {
  .navbar-toggler-close,
  .navbar-toggler-open {
    display: none;
  }
  .navbar-collapse {
    width: 100%;
    right: 0;
    position: relative;
    background-color: transparent;
    padding: 0;
  }
  .navbar-nav {
    margin-top: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
  .nav-item {
    position: relative;
    margin: 0 2.4rem 0 0;
  }
  .nav-item-dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 10;
    background-color: var(--green-color);
    border-radius: 0.3rem;
  }
  .nav-item-dropdown-content li a {
    opacity: 1;
  }
  .nav-item-dropdown-content li a:hover {
    opacity: 0.7;
  }
  /* nav item dropdown show class */
  .show-dropdown {
    padding: 1.5rem;
  }
  .nav-link:hover,
  .nav-item-dropdown:hover {
    color: #fff;
    opacity: 0.8;
  }
  /* header */
  .header-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
  }
  .header-item {
    height: 50vh;
  }
  .header-item:nth-child(1) {
    grid-column: 1 / 5;
    grid-row: 1 / 2;
  }
  .header-item:nth-child(2) {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
  }
  .header-item:nth-child(3) {
    grid-column: 3 / 5;
    grid-row: 2 / 3;
  }
}

@media (min-width: 1200px) {
  /* header */
  .header-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    height: 100%;
  }
  .header-item:nth-child(2) {
    grid-column: 3 / 5;
    grid-row: 1 / 2;
  }
  .header-item:nth-child(3) {
    grid-column: 3 / 5;
    grid-row: 2 / 3;
  }
  /* news  */
  #news .container {
    display: grid;
    grid-template-columns: auto 400px;
    -webkit-column-gap: 4rem;
    -moz-column-gap: 4rem;
    column-gap: 4rem;
  }
  /* news popular */
  #news .news-popular .popular-list {
    grid-template-columns: repeat(1, 1fr);
    -webkit-column-gap: 0;
    -moz-column-gap: 0;
    column-gap: 0;
  }
  /* video section */
  #videos .container {
    grid-template-columns: repeat(4, 1fr);
  }
  /* reviews section */
  #reviews .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* transition and animation stopper while resizing window */

.resize-animation-stopper * {
  -webkit-animation: none !important;
  animation: none !important;
  -webkit-transition: none !important;
  -o-transition: none !important;
  transition: none !important;
}

@media (max-width: 400px) {
  .header-item-text .text {
    display: none;
  }
}
