/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

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

a {
  text-decoration: none;
  color: black;
}

body {
  background-image: url(assets/cabin.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  color: #4e3b31;
  font-family: monospace;
  font-size: 0.875em;
}

.banner {
  max-width: 900px;
  margin: 1rem auto;
  margin-bottom: 0;
  padding: 10px;
  text-align: center;
  font-family: 'english-towne';
  font-style: italic;
  font-size: 4em;
  border: 2px solid #4e3b31;
  background-color: #D3A376;
  border-bottom: none;
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
}

.hyperlink {
  text-decoration: underline;
  color: blue;
}

/* main section starts here */

.overview {
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
}

.outer-main {
  background-color: #a57d69;
  border: 2px solid #6b4635;
  border-top: none;
  max-width: 900px;
  margin: 1em auto;
  margin-top: 0;
  padding: 2em;
}

.main {
  display: flex;
  flex-direction: row;
  max-width: 900px;
  margin: 0 auto;
  gap: 2em;
  padding: 2em;
  background-color: #d6b19a;
}

.main .box {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #f5e0c2;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.main .box .content {
  padding: 0.8em;
}

.main #clock-container {
  border-radius: 16px;
}

.main .box #clock-box {
  text-align: center;
  font-size: 1.5em;
  font-family: fantasy;
  padding: 4px;
}

.main .box #calendar {
  text-align: center;
  border-spacing: 2px;
}

.main .box #calendar #now {
  background-color: rgba(211, 163, 118, 0.24)
}

.main .box #calendar th, .main .box #calendar td {
  padding: 6px 2px;
  border: 1px solid #3E2522;
}

.main .box #calendar td {
  font-weight: bold;
}

.main .box .content .outer-list {
  margin-left: 1em;
}

.main .box .content .outer-list .outer-item {
  padding-bottom: 0.8em;
}

.main .box .content .outer-list .inner-list {
  margin-left: 1em;
  list-style-type: '- ';
}

.main .title {
  text-align: center;
  padding: 0.8em;
  background: #D3A376;
}

/* left section */

.main .left-section {
  display: flex;
  flex-direction: column;
  width: 30%;
  gap: 1em;
}

.main .left-section .box .nav-section a {
  display: flex;
  flex-direction: row;
  align-items: center;
  border-bottom: solid 1px #3E2522;
  padding: 0.5em;
  width: 100%;
}

.main .left-section .box .nav-section a:last-child {
  border-bottom: none;
}

.main .left-section .box .webring {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 0.5em;
}

.main .left-section .box .buttons {
  text-align: center;
}

/* middle section */

.main .middle {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 1em;
}

.main .middle .box .profile-section {
  display: flex;
  flex-direction: row;
}

.main .middle .box .image-container {
  padding: 1em;
  padding-top: 4em;
}

.main .middle .box .image-container #butterfly {
  position: absolute;
  margin-top: -8em;
  width: 10em;
  height: 10em;
}

.main .middle .box .image-container #halo {
  position: absolute;
  margin-left: 6em;
  margin-top: -5.5em;
  width: 15em;
  height: 15em;
  rotate: 1 1 0 60deg;
}

.main .middle .profile-section .introduction {
  width: 100%;
  padding: 1em;
  border-left: 1px #3E2522 solid;
}

.main .middle .facts-and-interests {
  display: flex;
  flex-direction: row;
  gap: 0.5em;
}

.main .middle .explore-section {
  padding: 1em;
}

/* right section */

.main .right-section {
  display: flex;
  flex-direction: column;
  width: 30%;
  gap: 1em;
}

.main .right-section .box .content ul {
  margin-left: 1.5em;
}

/* bottom section starts here */

.bottom-section {
  text-align: center;
  margin: auto;
}

footer {
  width: 100%;
  text-align: center;
}

/* @media queries section below */

@media (max-width: 800px) {
  body {
    padding-bottom: 2em;
  }

  .main {
    flex-direction: column;
    align-items: center;
    gap: 1em;
  }

  .main .left-section,
  .main .right-section {
    width: 100%;
  }

  .overview {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .main .left-section .box .webring {
    flex-direction: row;
  }

  .main .left-section .box #calendar {
    width: 100%;
  }

  .main .middle .box .profile-section {
    flex-direction: column;
  }

  .main .middle .box .profile-section .image-container {
    width: 100%;
    text-align: center;
  }

  .main .middle .box .profile-section .introduction {
    border-left: none;
    border-top: 1px solid #3E2522;
  }
}