body {
    display: grid;
    grid-template-columns: 60% 40%;
    grid-template-rows: 100vh;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-style: normal;
    
}

a {
    text-decoration: none;
    color: #000;
}

a:visited {
    color: #000;
}

a:hover {
    color: #000;
}

a:active {
    color: #000;
}

/* MAIN SECTION */

main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding:10% 50px
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
}

.main-content {
    position: relative;
    z-index: 1;
} 

h1, h2, h3 {
    color: #fff;
    text-align: center;
    text-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

h2 {
    font-size: 3.5rem;
    font-weight: 700;

}

h1 {
    margin-top: 40px;
    font-weight: 700;
    font-size: 3rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 300;
    font-style: normal;

}

.logo {
    text-align: center;
    margin-bottom: 60px;

    & img {
        max-width: 120px;
    }

}

/* COUNTRIES SECTION */



aside {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: #fff;
    padding-inline: min(10% 50px);
    padding-bottom: 15%;
    padding-top: 12%;

}

.countries-header {
    font-size: 1.7rem;
    text-shadow: none;
    color: #000;
    font-weight: 300;
    text-align: center;
    margin-bottom: 100px;
}

.countries-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
  }
  

.country-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    & img {
        max-width: 150px;
        transition: transform 0.3s ease;
    }

    & img:hover {
        transform: scale(1.05);
    }

    & span {
        font-size: 1.5rem;
        text-transform: uppercase;
    }
}

/* ================================================== */
/* MEDIA QUERIES */
/* ================================================== */
@media (max-width: 1200px) {
    body {
        grid-template-columns: 50% 50%;
    }

}

@media (max-width: 992px) {
    body {
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 1fr auto; /* hero fills available space, aside fits content */         
        min-height: 100dvh;
      }

      .logo img {
        max-width: 100px;
      }

      h2 {
        font-size: 3rem;
      }

      h1 {
        font-size: 2.5rem;
      }

      h3 {
        font-size: 1.5rem;
      }

      .countries-header {
        font-size: 1.5rem;
      }

      .countries-wrapper {
        max-width: 400px;
      }

      .country-card {
      & img {
        max-width: 120px;
      }

      & span {
        font-size: 1.25rem;
      }
    }  
}

@media (max-width: 768px) {
    h2 {
        font-size: 2.2rem;
      }

      h1 {
        margin-top: 30px;
        font-size: 1.7rem;
      }

      h3 {
        font-size: 1.2rem;
      }
      .logo {
        margin-bottom: 30px;
      }

      .logo img {
        max-width: 80px;
      }

      .countries-header {
        font-size: 1.2rem;
        margin-bottom: 60px
      }
}