body {
  margin: 0;
  padding: 0; 
  font-family: 'Open Sans', sans-serif; 
  line-height: 1.5;
  color: #333;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  font-family: 'Raleway', sans-serif;
  font-weight: normal; 
}

h1 {
  font-weight: bold;
}

h1 {
  font-size: 48px;
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding: 20px;
}

.logo-header-block {
  width: 800px;
  height: 200px;
  display: flex;
  background-color: #F2C40F;
  position: relative;
  overflow: hidden;
  align-items: center;
}

.logo-header-image {
  width: 240px;
  height: 200px;
}

.logo-header-overlay {
  flex-grow: 1;
  width: 560px;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  padding: 20px;
  box-sizing: border-box;
}

main {
  margin: 0 auto 20px;
  padding-bottom: 44px;
  max-width: 800px;
}

.slogan-text {
  font-size: 22px;
  margin: 20px;
}

section {
  margin-bottom: 20px;
  padding: 20px;
  background-color: #f0f0f0;
  border-radius: 8px;
}

a:link {
  color: #333;
}

a:visited {
  color: #333;
}

a:hover {
  color: #F2C40F;
}

a:active {
  color: #F2C40F;
} 

.menu {
  position: fixed;
  bottom: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;          
  gap: 0.75rem;              
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 10px 0;
  font-family: 'Raleway', sans-serif;
  color: #fff;
}

.menu a {
  text-decoration: none;
  margin: 0 10px;
  color: #fff;
  white-space: nowrap; 
}

.menu a:hover {
  text-decoration: underline;
}

.menu .selected {
  font-weight: bold;
  color:#EDC300;
}

@media only screen and (max-width: 767px) {

    .logo-header-block {
    width: 100%; 
  }
  
  .logo-header-image {
    order:2;
  }

  .logo-header-overlay {
    order: 1; 
  }

  section {
    margin-left: 20px;
    margin-right: 20px;
  }
}

@media (max-width: 500px) {
  .logo-header-image {
      display: none;
  }
}  

