:root {
  --header-background-color: #91dbe9; /* global scope */
  --header-text-color: #143239;
  --body-background-color: white;
  --body-text-color: black;
  --title-text-color: #4f535e;
}
.header-style {
  background-color: var(--header-background-color);
  color: var(--header-text-color);
  padding: 40px 0px 0px 0px;
  position: relative;
}

.body-style {
  grid-template-rows: auto 1fr auto;
  display: grid;
  min-height: 100vh;
  width: 100%;
  background-color: var(--body-background-color);
  background-image: url(../images/sea.jpg) ;
  background-size: cover;
}

.main-style {
  padding: 20px 20px;
  font-size: 1.5 rem;
}

.fotter-style {
  background-color: black;
  color: white;
  padding: 10px 0px;
  text-align: center;
}

.title {
  display: flex;
  justify-content: center;
  width: 100%;
  color: var(--title-text-color);
  margin: 20px 0px 20px 0px;
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: 600;
  font-style: italic;
}

.a {
  background-color: blue;
  color: white;
  border-radius: 10px;
  padding: 2px 4px;
  text-decoration: none;
}

.menu {
  display: inline-flex;
  justify-content: left;
  padding: 10px 10px;
}

a {
  color: white;
  font-size: 1.4rem;
}

a:hover {
  color: blue;
  cursor: pointer;
}
footer {
  background-color: black;
  color: white;
}

.flag {
  width: 32px;
  height: 32px;
}

.flag-style {
  padding: px;
  border-radius: 2px;
}

.flag-style:active {
  border: 1px solid blue;
}

#begin,
#contact {
  padding: 10px 20px;
  display: block;
}

#burgerMenu {
  display: none;
}

.course {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border: 1px solid black;
  border-radius: 10px;
  justify-content: space-between;
  width: 300px;
  margin: 10px 20px;
}

.courses-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  align-items: stretch;
}

a {
  width: auto;
  text-decoration: none;
}

a:active > .description {
  background-color: blue;
  color: white;
}

a > .description {
  padding: 10px 20px;
  background-color: blue;
  color: white;
  border-radius: 0px 0px 10px 10px;
  justify-items: end;
}

a:hover {
  text-decoration: none;
  background-color: lightblue;
  color: black;
}
/* 
@media (max-width: 468px) {
  .menu {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 0px;
    left: 0px;
  }

  #burgerMenu {
    display: flex;
    cursor: pointer;
    justify-content: left;
    padding: 10px 10px;
  }
  #begin,
  #contact {
    display: none;
  }
} */

.image {
  width: 100%;
  object-fit: contain;
  position: relative;
  border-radius: 10px 10px 0px 0px;
}

@media (max-width: 768px) {
  .flag {
    width: 24px;
    height: 24px;
  }
}

@media (min-width: 768px) {
  .main-style {
    margin: 0px 30px;
  }
}
