/********************** Global Styles ********************/

@font-face {
  font-family: 'Speedee_Rg'; /* Nombre que usarás para aplicar la fuente */
  src: url('../Fonts/Speedee_Rg.ttf') format('truetype'); /* Ruta del archivo .ttf */
  font-weight: normal;
  font-style: normal;
}

* {
  padding: 0;
  margin: 0;
  border: 0;
  position: relative;
  font-family: 'Speedee_Rg';
  box-sizing: border-box;
}

body {
  height: 100vh;
  max-height: 100vh;
  width: 100%;
}

main {
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
}

img {
  max-width: 100%;
  max-height: 100%;
}

h1 {
  font-weight: 700;
  font-size: 30px;
}

p {
  font-weight: 400;
  font-size: 24px;
}

/********************** Logo Styles ********************/

.LogoSection {
  display: flex;
  max-width: 50%;
  height: 100vh;
  flex: 1.5;
  background-image: url('../Images/logoBackground.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  justify-content: center;
  align-items: center;
}

.LogoImage {
  z-index: 1;
  width: 45%;
  object-fit: contain;
}

/********************** Buttons Styles ********************/

.CountriesSection {
  z-index: 1;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  align-items: center;
  padding: 0 2rem;
  gap: 1rem;
}

.ButtonsContainer {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 100%;
  justify-content: center;
  row-gap: 2rem;
  column-gap: 4rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  align-items: center;
}

.CountryButton {
  display: flex;
  width: 240px;
  min-width: 240px;
  height: 67px;
  border-radius: 4px;
  border: solid 1px #c3c3c3;
  padding: 24px;
  gap: 16px;
  background-color: #ffffff;
  cursor: pointer;
  flex-wrap: wrap;
  text-decoration: none;
  color: inherit;
}

.CountryButton p {
  font-weight: 400;
  font-size: 18px;
}

.CountryButton:hover {
  background-color: #ffeaad;
}

/************************ Responsive **********************/

@media (max-width: 900px) {
  main {
    flex-direction: column;
  }

  h1 {
    font-size: 24px;
  }

  p {
    font-size: 20px;
  }

  .LogoSection {
    max-width: 100%;
    height: 20vh;
    background-position: top;
  }

  .LogoImage {
    z-index: 1;
    height: 100%;
    width: auto;
  }

  .LogoImage figure {
    height: 100%;
    margin-top: 36%;
  }

  .CountriesSection {
    padding-top: 14vh;
    width: 100%;
    height: 80vh;
    justify-content: start;
  }

  .ButtonsContainer {
    flex-direction: column;
    justify-content: center;
  }
}

@media (pointer: coarse) {
  .CountryButton:not(:active) {
    background-color: #ffffff;
  }
}
