/*------------------------------------ 
    Flex Layout Example
------------------------------------*/   
    
body {
  color: #555;
  font-size: 1.1em;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: #f7fbfd; /* very light blue background */
  margin: 0;
  padding: 0;
}

/*------------------------------------ 
   Header & Footer (same pastel blue)
------------------------------------*/

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 75px;
  text-align: center; 
  background-color: #89c9e8; /* unified pastel blue */
  color: white;
  width: 100%;
  padding: 0 10%;
  box-sizing: border-box;
}

header .logo {
  font-size: 1.8em;
  color: white;
  font-weight: 600;
  letter-spacing: 1px;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #89c9e8; /* same pastel blue */
  color: white;
  line-height: 75px;
  text-align: center; 
  margin: 0;
  width: 100%;
  height: 75px;
  border-top: 3px solid #a4d7f5; /* subtle accent line */
}

/*------------------------------------ 
   Navigation (clean, no background)
------------------------------------*/

.navigation {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  background: none; /* remove background bar */
}

.navigation a {
  text-decoration: none;
  color: white; /* single consistent color */
  font-weight: 500;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.navigation a:hover {
  color: #035e82; /* darker blue-gray hover effect */
  border-bottom: 2px solid #035e82; /* subtle underline */
}

/*------------------------------------ 
   Form styling
------------------------------------*/

form {
  display: flex;
  justify-content: right;
  margin-top: 255px;
}

.f_class {
  margin-top: 5px;
}

form input {
  height: 20px;
  margin-right: 10px;
}

/*------------------------------------ 
   Content sections
------------------------------------*/

section {
  flex: 2 1 500px;
  margin-right: 1%;
}

#left_content {
  display: flex;
  justify-content: center;
  background-color: #e9f5fb; /* pastel blue tone */
  width: 300px;
  margin-left: 20%;
  height: 300px;
  border-radius: 10px;
}

#right_content {
  display: flex;
  justify-content: center;
  background-color: #edf8fc; /* slightly lighter pastel blue */
  width: 600px;
  margin-left: 20%;
  height: 300px;
  border-radius: 10px;
}

.container {
  display: flex;
}

/*------------------------------------ 
   Buttons
------------------------------------*/

.button_class {
  margin-top: 5%;
  margin-left: 80%;
  background-color: #a4d7f5; /* pastel sky blue */
  color: #033e55;
  border: none;
  border-radius: 15px;
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button_class:hover {
  background-color: #8bcff2; /* slightly darker blue on hover */
}

/*------------------------------------ 
   Responsive Design
------------------------------------*/

@media screen and (max-width: 800px) {
  .container {
    flex-direction: column;
  }

  header {
    flex-direction: column;
    text-align: center;
  }

  .navigation {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }
}

@media screen and (max-width: 500px) {
  section {
    margin-right: 0;
    flex-basis: auto;
  }
}

@media all and (max-width: 375px) {
  .navigation {
    flex-flow: column wrap;
    padding: 0;
  }
  
  .navigation a { 
    text-align: center; 
    padding: 10px;
    border: none;
  }
}
