/* Font */
@font-face {
  font-family: 'sans-serif';
  src: url('https://restwellinsurance.neocities.org/font/virtue.ttf') format('truetype');
}

/* Global Styles */
body {
  font-family: 'Charcoal', sans-serif;
  background-color: #B5D5FF;
  color: #000;
  margin: 0;
  padding: 0;
}

/* Container Window */
main {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: #FFF;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 0 40px rgba(0, 0, 0, 0.1) inset;
  border-radius: 10px;
  position: relative;
}

main::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background-color: #C0C0C0;
  border-radius: 5px;
  z-index: -1;
}

/* Header */
header {
  background-color: #C0C0C0;
  padding: 5px;
  box-shadow: inset -1px -1px #FFF, inset 1px 1px #000, inset -2px -2px #808080, inset 2px 2px #808080;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav li {
  position: relative;
}

nav a {
  color: #000;
  text-decoration: none;
  padding: 2px 5px;
  border-radius: 3px;
  transition: background-color 0.3s ease;
  
}

nav a:hover {
  background-color: #B5D5FF;
}

/* Dropdown Menu */
nav li ul {
  display: none;
  position: absolute;
  background-color: #C0C0C0;
  box-shadow: inset -1px -1px #FFF, inset 1px 1px #000, inset -2px -2px #808080, inset 2px 2px #808080;
  z-index: 1;
}

nav li:hover > ul {
  display: block;
}

nav li ul li {
  width: 150px;
}

/* Sections */
section {
  margin-bottom: 20px;
}

h1, h2 {
  color: #000;
  font-weight: bold;
}

.cta {
  display: inline-block;
  background-color: #C0C0C0;
  color: #000;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 3px;
  box-shadow: inset -1px -1px #FFF, inset 1px 1px #000, inset -2px -2px #808080, inset 2px 2px #808080;
  transition: background-color 0.3s ease;
}

.cta:hover {
  background-color: #B5D5FF;
}

/* Footer */
footer {
  background-color: #C0C0C0;
  padding: 5px;
  text-align: center;
  box-shadow: inset -1px -1px #FFF, inset 1px 1px #000, inset -2px -2px #808080, inset 2px 2px #808080;
}

footer nav ul {
  justify-content: center;
}

/* Mobile Styles */
@media (max-width: 768px) {
  main {
    margin: 20px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    margin-top: 5px;
  }

  nav li {
    margin-bottom: 2px;
  }

  nav li ul {
    position: static;
    box-shadow: none;
  }

  nav li:hover > ul {
    display: none;
  }

  nav li ul li {
    width: 100%;
  }
}