/*RESET CSS =================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    --primary-color: #175906;
    --second-color: #068FDC;
    --color-text: #fff; 
    --bg-color: #F0F0F0;
    --paragraph: ;
  
    --nav-height: 7.2rem;
  
    font-size: 62.5%; /* 1rem = 10px */
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  html,
  body {
    width: 100%;
    height: 100%;
  }
  
  ul {
    list-style: none;
  }

/*====BASE============================ */

  .wrapper {
    width: min(50rem, 100%);
    margin-inline: auto;
  
    padding-inline: 2.4rem;
  }

/*====  scrollbar ============================ */

::-webkit-scrollbar {
    width: 1rem;
  }
  
  ::-webkit-scrollbar-thumb {
    width: 1rem;
    background-color: var(--primary-color);
  }

/*====EVENTS============================ */
header h1 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 5rem;
    font-weight: 700;

    margin-bottom: 3rem;

    margin-top: var(--nav-height);
}

#events {
  background-color: var(--bg-color);
  padding-block: 5rem;
}

#events .cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  gap: 5rem;
}

#events .card {
    padding: 2rem;
    width: 33rem;
    border-radius: 2rem;
    background: #e8e8e8;
    box-shadow: 5px 5px 6px #dadada,
                 -5px -5px 6px #f6f6f6;
    transition: 0.4s;
  }
  
  #events .card:hover {
    translate: 0 -1rem;
  }
  
  #events .card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2e54a7;
    margin: 1.2rem 0 0 1rem;
  }
  
  #events .card-image {
    min-height: 17rem;
    background-color: #c9c9c9;
    border-radius: 1.5rem;
    box-shadow: inset 8px 8px 10px #c3c3c3,
              inset -8px -8px 10px #cfcfcf;
  }

  #events .card-image img {
    object-fit: cover;
    width: 100%;
  }
  
  #events .card-desc {
    margin: 1.3rem 0 0 1rem;
    color: rgb(31, 31, 31);
    font-size: 1.5rem;
  }
  
  #events .card-header {
    margin: 1.5rem 0 0 1rem;
    font-size: 1.2rem;
    color: #636363;

    margin-left: -.2rem;
  }

  #events .card-header span {
    display: flex;
    align-items: center;
    gap: .5rem;
  }

  #events .cards .card .card-header span svg {
    fill: #000;
    opacity: .4;
  }

  #events .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-inline: 1rem;
  }
  
  #events .by-name {
    font-weight: 700;
  }

  .saiba-mais {
    border: none;
    background: none;

    margin: 1.5rem 0 0 1rem;
  }

  .saiba-mais a {
    text-decoration: none;
  }
  
  .saiba-mais span {
    font-weight: 700;
    padding-bottom: .7rem;
    letter-spacing: .2rem;
    font-size: 1.4rem;
    padding-right: 1.5rem;
    text-transform: uppercase;

    color: #2e54a7;
  }
  
  .saiba-mais svg {
    transform: translateX(-8px);
    transition: all 0.3s ease;
    fill: #2e54a7;
  }
  
  .saiba-mais:hover svg {
    transform: translateX(0);
  }
  
  .saiba-mais:active svg {
    transform: scale(0.9);
  }
  
  .hover-underline-animation {
    position: relative;
    color: black;
    padding-bottom: 2rem;
  }
  
  .hover-underline-animation:after {
    content: "";
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #2e54a7;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
  }
  
  .saiba-mais:hover .hover-underline-animation:after {
    transform: scaleX(1);
    transform-origin: bottom left;
  }

  #event {
    background-color: var(--bg-color);
    padding-block: 3rem;
  }

  #event .infos {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    gap: 2rem;
  }

  #event .info {
    text-align: left;

    display: flex;
    flex-direction: column;
  }

  #event h2 {
    font-size: 3rem;
    color: var(--second-color);
    margin-bottom: 2rem;
  }

  #event .date-and-local {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }

  #event img {
    width: min(60rem, 90%);

    border-radius: 25px;
    background: #e0e0e0;
    box-shadow:  20px 20px 60px #bebebe,
                -20px -20px 60px #ffffff;
  }

  #event .date-and-local {
    margin-block: 2rem;
  }

  #event .date-and-local span {
    display: flex;
    align-items: center;
    gap: .3rem;

    font-size: 1.4rem;
    color: #636363;
  }

  #event .date-and-local span svg {
    fill: #cbcbcb;
  }

  #event .buttons {
    margin-bottom: 2rem;
  }

  #event .buttons button {
    font-size: 1.6rem;
    
    padding: .7rem 2rem;
    border-radius: 1.3rem;
    box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.75);
    -webkit-box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 2px 2px 6px 0px rgba(0,0,0,0.75);

    color: var(--color-text);
    border: none;

    transition: all 200ms ease-in-out;
  }

  #event .buttons .button-map {
    background-color: var(--primary-color);

    margin-right: 2rem;
  }

  #event .buttons .button-map:hover {
    background-color: transparent;
    outline: 1px solid var(--primary-color);
    color: var(--primary-color);
  }

  #event .buttons .button-paxtu {
    background-color: #edd100;
  }

  #event .buttons .button-paxtu:hover {
    background-color: transparent;
    outline: 1px solid #edd100;
    color: #edd100;
  }

  #event .buttons button:hover {
    cursor: pointer;
  }

  #event .text {
    margin-top: 3rem;
    font-size: 1.6rem;
  }

  #event .text p {
    margin-bottom: 2rem;
  }

  #event .text span {
    font-weight: 700;
  }

  #event .text ul {
    list-style: circle;
    margin-bottom: 2rem;
  }

  #event .text .button-pdf button {
    background-color: var(--second-color);
    border: none;

    padding: .8rem 1.2rem;
    color: var(--color-text);

    transition: all 200ms;
  }

  #event .text .button-pdf button:hover {
    cursor: pointer;
    background-color: #2e54a7;
  }

  @media (min-width: 1000px) {
    /* geral 1300px =================== */
    
    .wrapper {
      width: min(100rem, 100%);
    }

    /* events 1300px =================== */

    section#events .cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
      }

    section#event .infos {
      flex-direction: row;
      gap: 2rem;
    }
    }

  @media (min-width: 1300px) {
    /* geral 1300px =================== */
    
    .wrapper {
      width: min(133rem, 100%);
    }

    /* events 1300px =================== */

    section#events .cards {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
      }
    }

  