@font-face {
  font-family: 'btcosmo-bold';
  src: url('BTCosmo-Bold.woff2') format('woff2'), url('BTCosmo-Bold.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

body {
  margin: 0;
  overflow: hidden;
}

.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
}

#top-left {
  width: 210px;
  height: 230px;
  position: absolute;
  left: 0;
  top: 0;
  background-image: url('top-left.png');
  background-position: bottom right;
}

#bottom-right {
  width: 210px;
  height: 230px;
  position: absolute;
  right: 0;
  bottom: 0;
  background-image: url('bottom-right.png');
  background-position: top left;
}

#center-content {
  align-self: center;
}

#main-text {
  font-family: 'btcosmo-bold';
  font-weight: 400;
  font-size: 32px;
  line-height: 48px;
  text-align: center;
  padding-top: 20px;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

#cosmote-logo {
  max-width: 250px;
}

#tgroup-logo {
  max-width: 150px;
}

.black {
  background-color: black;
  background-image: url('black-friday.jpg');
  background-repeat: no-repeat;
  background-size: 100%;
}

.black #main-text {
  color: white;
}

.black #tgroup-logo {
  max-width: 110px;
}

.black #center-content {
  position: absolute;
  left: 10%;
  top: 40%;
}

@media (max-width: 1400px) {
  .black #main-text {
    padding-top: 10px;
    font-size: 26px;
  }

  .black #cosmote-logo {
    max-width: 210px;
  }

  .black #tgroup-logo {
    max-width: 90px;
  }

  .black #center-content {
    left: 4%;
    top: 35%;
  }

  .black #top-left {
    width: 300px;
    left: -175px;
    top: -60px;
  }
}

@media (max-width: 910px) {
  #cosmote-logo {
    max-width: 187px;
  }

  #tgroup-logo {
    max-width: 116px;
  }

  #top-left {
    background-size: 350px;
    background-repeat: no-repeat;
    width: 150px;
    height: 160px;
    z-index: -1;
  }

  #bottom-right {
    background-size: 350px;
    background-repeat: no-repeat;
    width: 150px;
    height: 160px;
    z-index: -1;
  }

  #main-text,
  .black #main-text {
    padding-top: 0;
    font-size: 24px;
  }

  .black #center-content {
    left: unset;
    top: 35%;
  }

  .black {
    background-size: 120%;
    background-position: 80% 100%;
  }
}

@media (max-width: 480px) {
  .black {
    background-size: 215%;
    background-position: 80% 100%;
  }
}

@media (max-width: 370px) {
  #main-text,
  .black #main-text {
    font-size: 20px;
  }
}
