* {
  box-sizing: border-box;
  border: 0;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;

  background-image: url("IMG_1264.JPG");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-color: #263b3b;
}

/* Header */

.site-header {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  text-align: center;
  padding: 18px 12px;
  color: white;
}

.site-header h1 {
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 700;
  line-height: 1.2;
}

/* Main layout */

.site-layout {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: stretch;
  min-height: 0;
}

/* Left menu */

.side-nav {
  flex: 0 0 clamp(220px, 18vw, 300px);
  background-color: rgba(0, 0, 0, 0.55);
  color: white;
  display: flex;
  flex-direction: column;
}

.nav-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  display: block;
}

.menu-list {
  list-style-type: none;
  padding: 10px 0;
}

.menu-list li {
  width: 100%;
}

.menu-list a {
  display: block;
  color: white;
  padding: 11px clamp(14px, 1.4vw, 22px);
  text-decoration: none;
  font-size: clamp(14px, 0.95vw, 17px);
  line-height: 1.25;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.menu-list a:hover,
.menu-list a:focus {
  color: #ff4d4d;
  background-color: rgba(255, 255, 255, 0.08);
}

/* Content */

.content-area {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(20px, 4vw, 72px);
}

.home-card {
  width: min(820px, 100%);
  color: #05076e;
  background-color: rgba(255, 255, 255, 0.32);
  border-radius: 18px;
  padding: clamp(20px, 3vw, 42px);
  line-height: 1.65;
}

.home-card h2 {
  font-size: clamp(24px, 2vw, 34px);
  margin-bottom: 18px;
}

.home-card p {
  font-size: clamp(16px, 1.1vw, 19px);
}

/* Footer */

.site-footer {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  text-align: center;
  padding: 12px;
  color: white;
  font-size: clamp(12px, 0.9vw, 15px);
}

.site-footer p {
  margin: 0;
}

/* Tablet / small screen */

@media (max-width: 900px) {
  body {
    background-position: center top;
  }

  .site-layout {
    flex-direction: column;
  }

  .side-nav {
    flex: 0 0 auto;
	width: 100%;
	background-color: rgba(0, 0, 0, 0.30);
  }

  .nav-photo {
    height: 180px;
    aspect-ratio: auto;
  }

  .menu-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
  }

  .menu-list a {
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.25);
  }

  .content-area {
    padding: 18px;
  }

  .home-card {
    background-color: rgba(255, 255, 255, 0.30);
    font-weight: 700;
  }
}

/* Phone */

@media (max-width: 520px) {
  .site-header {
    padding: 14px 10px;
  }

  .site-header h1 {
    font-size: 20px;
  }

  .nav-photo {
    height: 135px;
  }

  .menu-list {
    grid-template-columns: 1fr;
  }

  .menu-list a {
    font-size: 14px;
    padding: 9px 10px;
  }

  .content-area {
    padding: 12px;
  }

  .home-card {
    border-radius: 14px;
    padding: 16px;
  }

  .home-card p {
    font-size: 15px;
  }

  .site-footer {
    padding: 10px;
    font-size: 12px;
  }
}