/* ---------------- General layout ---------------- */
body {
  background-color: rgb(57, 64, 132) !important;
  margin: 0;
  font-family: Arial, sans-serif;
}

main {
  margin-top: 120px;
  padding-bottom: 120px;
}

header {
  margin-bottom: 60px;
}

.move {
  margin-bottom: 15px;
}

/* ---------------- Section container ---------------- */
section {
  background-color: rgb(165, 170, 181);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

  border: solid 1px rgb(0, 0, 0);
  border-radius: 10px;
  box-shadow: 2px 2px 4px rgb(0, 0, 0);
  margin: 0 auto 60px auto;  
  max-width: 1100px;         
}

/* On very small screens */
@media (max-width: 480px) {
  section {
    width: 100%;       
    max-width: 100%;   
    padding: 15px;     
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

section img {
  border: 1px solid #000;
  border-radius: 10px;
  box-shadow: 2px 2px 4px rgb(0,0,0);
  max-width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ---------------- Text ---------------- */
.information {
  color: rgb(83, 82, 133) !important;
  margin-top: 0;
  margin-left: 60px;
  max-width: 500px;
}

#quote {
  font-size: 2rem;
  font-style: italic;
  color: #333;
  margin: 20px 0;
}

/* ---------------- Images ---------------- */
.office-images, 
.eric-images {
  border: 1px solid #000;
  box-shadow: 2px 2px 4px rgb(0,0,0);
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;  
  margin-bottom: 1rem;
}

.office, 
.eric {
  flex: 1 1 200px;   
  max-width: 250px;  
  height: auto;
  border: solid 1px rgb(0, 0, 0);
  border-radius: 0.5rem;
  box-shadow: 2px 2px 4px rgb(0,0,0);
  margin: 5px;
}

.eric {
  max-width: 300px;
  border-radius: 10px;
}

/* ---------------- Responsive adjustments ---------------- */
@media (max-width: 768px) {
  section {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }

  .information {
    font-size: 1.75rem;
    margin-left: 0;
    margin-top: 20px;
    max-width: 100%;
  }

  .office, 
  .eric {
    max-width: 200px;
    height: auto;
  }
}

@media (max-width: 480px) {
  section {
    padding: 20px;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .office, 
  .eric {
    flex: 1 1 100%;  /* stack vertically */
    max-width: 100%;
  }

  .information {
    font-size: 1.25rem;
  }
}
