
/* nav start */
.navbar {
  position: relative;
  background-color: #3A506B;
  padding: 8px 16px;
  min-height: 86px;
}

.navbar ul {
  display: flex;
  gap: 24px;
  width: fit-content;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  justify-content: center;
  align-items: center;
  min-height: 70px;
}

.navbar a {
  color: white;
  text-decoration: none;
}

.navbar a.active {
  text-decoration: underline;
  text-decoration-thickness: 3px;
}

.navbar a:hover {
  color: rgb(31, 31, 132);
}

.logo {
  width: 70px;
  height: auto;
  display: block;
}

.site-title {
  color: white;
  margin: 0;
  font-size: 24px;
}





body {
  margin: 0;
  background-color: #719EC4;
  justify-content: center;
}



@media (max-width: 600px) {
  .navbar {
    padding: 16px;
  }

  .brand {
    position: static;
    transform: none;
    justify-content: center;
    margin-bottom: 16px;
  }

  .logo {
    width: 55px;
  }

  .site-title {
    font-size: 18px;
    text-align: center;
  }

  .navbar ul {
    flex-direction: column;
    gap: 12px;
    min-height: auto;
    width: 100%;
  }

  .section {
    display: block;
    margin: 16px;
    padding: 16px;
  }

  .parent {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .parent > div {
    text-align: left;
  }
}

.container {
  display: grid;
  grid-template-columns: minmax(220px, 4fr) minmax(120px, 1fr);
  grid-template-rows: repeat(2, 150px) 100px;
  grid-template-areas:
    "one two"
    "one three"
    "four four";
  gap: 10px;
  padding: 10px;
  width: 650px;
  justify-items: stretch;
  align-items: stretch;
}

.item {
  background: #5f8fe8;
  border: 2px solid #1d3fbf;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
}

.item-1 {
  grid-area: one;
  background: #d94b4b;
}

.item-2 {
  grid-area: two;
}

.item-3 {
  grid-area: three;
  background: #f2a23a;
}

.item-4 {
  grid-area: four;
  background: #3f6c8f;
  color: white;
}

@media (max-width: 700px) {
  .container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      "one"
      "two"
      "three"
      "four";
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
  }

  .item {
    font-size: 18px;
    min-height: 120px;
  }

  .site-title {
    font-size: 18px;
  }
}


 
/* table end */
