:root {
  --pink: #E20079;
  --blue: #A5D8F4;
  --green: #AECB00;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: #F5F5F5;
  
  color: #4A4C4E;
  font-size: 16px;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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


header {
  background: #000;
  padding: 12px 40px;
}

  header img {
    display: block;
    height: 65px;
  }


main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  min-height: calc(100vh - 76px);
  max-width: 1224px;
  margin: 0 auto;
  padding: 50px 24px;
}

h1, h2 {
  color: #303033;
  font-size: 60px;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 800;
  line-height: 1.2em;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-align: center;
}

.subtitle {
  color: #303033;
  font-size: 30px;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 800;
  line-height: 1.2em;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-align: center;
  margin-bottom: 20px;
}

.container {
  display: flex;
  gap: 25px;
  width: 100%;
}

  .container.reversed {
    flex-direction: row-reverse;
  }


  .left,
  .right {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  .left {
    flex-basis: 40%;
  }
  
  .right {
    flex-basis: 60%;
  }
  
  .container .block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    
    background-color: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    padding: 28px 24px;
  }
  
    .block.event-meta h2 {
      font-size: 28px;
      letter-spacing: 1px;
    }
  
    .date {
      display: flex;
      gap: 10px;
    }
    
      .date__left {
        display: flex;
        flex-direction: column;
        gap: 3px;
        font-size: 20px;
        line-height: 1.2;
        text-transform: uppercase;
      }
      
        .date__left strong {
          font-weight: 800;
        }
        
        .date__left span {
          font-size: 12px;
        }
        
      .date__right {
        padding-top: 5px;
        font-size: 50px;
        font-weight: 800;
      }
      
      .date__time {
        font-size: 14px;
        margin-top: -25px;
      }
  
    .block.image {
      flex-grow: 1;
      background-image: url(../img/image2.avif);
      background-position: center center;
      background-size: cover;
    }
    
  
  .block.info {
    padding-left: 32px;
    padding-right: 32px;
    text-align: left;
    align-items: flex-start;
    font-size: 14px;
  }
  
  .block.info a {
    color: #4A4C4E;
    text-decoration: none;
  }
  
    .cta-button {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 28px;
      background: linear-gradient(135deg, #111 0%, #444 100%);

      color: #fff;
      font-family: "Roboto Condensed", sans-serif;
      font-weight: 700;
      text-decoration: none;
      text-transform: uppercase;
      letter-spacing: 2px;
    }
    
      .cta-button:hover {
        background: linear-gradient(135deg, #000 0%, #333 100%);
      }
      
      .cta-button span {
        font-size: 20px;
        color: var(--pink);
      }

    /*
    .cta-button {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      padding: 14px 28px;
      background-color: #fff;
      border: 2px solid #303033;
      
      color: #303033;
      letter-spacing: 1px;
      text-decoration: none;
      text-transform: uppercase;
      transition: all 300ms ease-in-out;
    }
    
      .cta-button:hover {
        background-color: #303033;
        color: #fff;
      }

      .cta-button span {
        font-size: 20px;
        color: var(--pink);
      }
      */


.mobile-only {
  display: none;
}


@media (max-width: 768px) {
  
  .desktop-only {
    display: none;
  }
  
  .mobile-only {
    display: flex;
  }
  
  main {
    margin: 0;
    padding: 24px;
    min-height: auto;
  }

  h1 {
    font-size: 40px;
  }
  
  .subtitle {
    font-size: 26px;
  }

  .container {
    flex-direction: column !important;
  }

  .left {
    flex-direction: column-reverse;
  }
  
  .block.image {
    aspect-ratio: 16 / 9;
    background-position: center center;
  }
  
  .block.event-meta h2 {
    font-size: 23px;
  }
  
  .block.info {
    width: 100%;
    padding: 32px 24px;
  }
  
  .cta-button {
    width: 100%;
    justify-content: center;
  }
}
