html {
  color: #fff;
  min-height: 100%;
  font-family: "Commissioner", sans-serif;
  font-optical-sizing: auto;
  text-transform: uppercase;
  font-variation-settings:
    "slnt" 0,
    "FLAR" 0,
    "VOLM" 0;
}

body {
  display: flex;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
}

.orange {
  color: #cc3838;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("bg-desktop.webp");
  background-repeat: no-repeat;
  background-size: cover;
}

img {
  height: auto;
}

h1, h2, p, a {
  margin: 0;
  padding: 0;
  text-decoration: none;
}

p,a {
  font-weight: 700;
}

p {
  font-size: 18px;
}

a {
  font-size: 16px;
}

h2, h1 {
  font-weight: 800;
  margin: 0;
}

h1 {
  font-size: 60px;
}

h2 {
  font-size: 36px;
}

.all {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20%;
  box-sizing: border-box;
  
  margin: 0 auto;
  padding: 90px;
}

.date,
.inscricao {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.left img {
  width: 300px;
}

.date {
  margin-top: 30px;
}

.right {
  display: flex;
}

.right a:last-of-type {
  margin-top: 24px;
}

.inscricao {
  padding: 100px 100px 50px 100px;
  position: relative;
  min-width: 610px;
  top: 30%;
  box-sizing: border-box;
}

.inscricao::before, .inscricao::after {
  content: "";
  position: absolute;
  width: 96px;
  height: 96px;
}

.inscricao::after {
  top: 0;
  left: 0;
  border-top: 7px solid #fff;
  border-left: 7px solid #fff;
  border-top-left-radius: 20px;
}

.inscricao::before {
  bottom: 0;
  right: 0;
  border-bottom: 7px solid #fff;
  border-right: 7px solid #fff;
  border-bottom-right-radius: 20px;
}

.bottom img {
  width: 180px;
}

@media (max-width: 1340px) {
  .all {
    gap: 10%;
    padding: 40px;
  }
}


@media (max-width: 768px) {
  body::before {
    background-image: url("bg-mobile.webp");
  }

  h1 {
    font-size: 36px;
  }
  
  h2 {
    font-size: 24px;
  }

  .all {
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }

  .date,
  .inscricao {
    gap: 4px;
  }

  .left img {
    width: 150px;
  }

  .left {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .inscricao {
    padding: 50px 50px 25px 50px;
    position: relative;
    min-width: 100%;
  
  }


  .inscricao::before, .inscricao::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
  }
  
}

@media (max-width: 474px) {
  .date p {
    font-size: 14px;
  }

  .date h2 {
    font-size: 20px;
  }
}

@media (max-width: 398px) {
  .left {
    flex-direction: column;
  }
}
