:root {
  --background: #7f1d1d;
  --text-color: #ffffff;
}

@font-face {
  font-family: "Formula1-Bold";
  src: url("/assets/fonts/Formula1-Bold_web.ttf");
}

html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  background-color: var(--background);
}

.container {
  width: 100vw;
  height: 100vh;

  display: flex;
  flex-direction: row;

  position: fixed;

  justify-content: flex-end;
  align-items: center;
}

.car {
  position: absolute;
  width: 80rem;

  transform: rotate(5deg);
}

.wrapper {
  float: right;
  z-index: 1;

  display: flex;

  flex-direction: column;

  justify-content: center;
  align-items: center;

  margin-right: 5.5rem;

  width: 50%;
}

.logo {
  width: 25%;

  margin-bottom: 2.5rem;
}

.text-container {
  display: flex;

  flex-direction: column;

  justify-content: center;
  align-items: center;

  margin-bottom: 3.5rem;
}

.text {
  font-size: 3.75rem;
  font-family: "Formula1-Bold";
}

#timer-container {
  width: 80%;

  display: flex;

  flex-direction: row;
  justify-content: center;
  align-items: center;

  margin-bottom: 4.5rem;
}

#timer-container div {
  display: flex;
  flex-direction: column;

  align-items: center;

  margin: 0 1.2rem;

  font-size: 30px;
  font-family: "Lato", sans-serif;
  font-weight: 700;

  color: var(--text-color);
}

#timer-container div span {
  font-weight: 400;
}

.timer {
  padding: 0 1.2rem;

  font-size: 30px;
  font-family: "Lato", sans-serif;
}

.socialMediaIcons {
  width: 80%;

  display: flex;
  justify-content: center;
}

.icon {
  width: 1.8rem;

  margin: 0 0.5rem;
}

.color {
  color: var(--text-color);
}

@media (min-width: 375px) {
  .car {
    right: -60%;
    width: 80rem;
  }

  #timer-container div {
    margin: 0 1rem;
    font-size: 1.2rem;
  }
}

@media (min-width: 768px) {
  .car {
    right: 22%;
    width: 80rem;
  }

  #timer-container div {
    margin: 0 1rem;
    font-size: 2rem;
  }
}

@media (min-width: 1280px) {
  .car {
    right: 53%;
    width: 80rem;
  }

  #timer-container div {
    margin: 0 1.2rem;
    font-size: 2rem;
  }
}

@media (min-width: 1920px) {
  .car {
    right: 61%;
    width: 100rem;
  }

  #timer-container div {
    margin: 0 1.2rem;
    font-size: 2rem;
  }
}
