:root {
  --primary-color: #ffffff;
  --secondary-color: #362487;
  --box-bg-color: #f4f4f4;
  --border-color: #dcdcdc;
}

@font-face {
  font-family: "roboto";
  src: url("../font/Roboto-Regula.ttf");
}
@font-face {
  font-family: "Poppins";
  src: url("../font/Poppins-Regular.ttf");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins";
}

body {
  background-color: var(--primary-color);
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: var(--secondary-color);
}

main {
  margin: 0 auto;
  margin-top: 80px;
  max-width: 1200px;
  padding: 20px 8px 0px 8px;
}

.page-header {
  width: 95%;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-align: center;
  padding: 1.3rem 0;
  letter-spacing: 2px;
  text-align: center;
  margin: 0px auto 35px auto;
  border-radius: 5px;
  transition: ease-in-out 0.3s;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  border-bottom: 1px solid var(--secondary-color);
  background: linear-gradient(rgba(44, 20, 124, 0.9), rgba(11, 21, 108, 0.8)),
    url("../images/container-ship-vector.jpg");
  background-position: 50% 60%;
  background-size: cover;
  color: var(--primary-color);
}

.page-header:hover h1 {
  letter-spacing: 0px;
}

.page-header h1 {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  font-weight: 600;
  transition: ease-in-out 0.3s;
}

.page-header h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--primary-shade);
  margin: 10px auto 0;
  border-radius: 20px;
}

.page-header h1::after:hover {
  background: black;
}

.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.section-box {
  background-color: var(--box-bg-color);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  flex: 1 1 calc(33.33% - 1rem);
  min-width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-box:hover {
  transform: translateY(-5px);
  box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px,
    rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px,
    rgba(0, 0, 0, 0.09) 0px 32px 16px;
}

.section-box h2 {
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 0.5rem;
}

.inner-box {
  padding: 1rem;
}

main ul {
  list-style-type: none;
  padding: 0;
}

main ul li {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

@media (max-width: 768px) {
  .section-box {
    flex: 1 1 calc(50% - 1rem);
  }

  .section-box h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .section-box {
    flex: 1 1 100%;
  }
  .page-header h1,
  .page-header h1 i {
    font-size: 1.8rem;
    letter-spacing: 0px;
  }
  .page-header h1::after {
    height: 3px;
  }
}
