html {
  height: 100%;
}

body {
  font-family: "Segoe UI", "Arial", "sans-serif";
  font-weight: 350;
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

ul {
  margin: 10px;
  list-style-position: inside;
}

li {
  margin-left: 20px;
}

.collapsable-content .item {
  user-select: none;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  background-color: #002a51;
  margin: 0.5em 0;
  padding: 0 1em;
}

.collapsable-content .button {
  cursor: pointer;
}

.collapsable-content .content {
  margin: 20px;
}

.collapsable-content .sub-content {
  margin-left: 32px;
}

.collapsable-content.open .button {
  color: white;
}

.collapsable-content.open .plus-sign {
  display: none;
}

.collapsable-content.open .minus-sign {
  display: block;
}

.collapsable-content.open .content {
  display: block;
}

.collapsable-content.open .sub-content {
  display: block;
}

.collapsable-content.closed .button {
  color: rgba(255, 255, 255, 0.5);
}

.collapsable-content.closed .plus-sign {
  display: block;
}

.collapsable-content.closed .minus-sign {
  display: none;
}

.collapsable-content.closed .content {
  display: none;
}

.collapsable-content.closed .sub-content {
  display: none;
}

#header {
  width: 90%;
  max-width: 1000px;
  padding: 20px;
  margin: auto;
  display: flex;
  justify-content: center;
}

#header #title-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

#header #title-container #phone-container {
  background-color: red;
  display: flex;
  align-items: center;
  padding: 16px;
  border-radius: 30px;
  cursor: pointer;
}

#header #title-container #phone-container img {
  height: 25px;
}

#header #title-container #phone-container #phone {
  color: white;
  font-weight: 700;
  margin: 0 10px;
  font-style: normal;
}

#header #title {
  font-weight: 800;
  color: #002a51;
  margin: 0;
}

#header #quote {
  color: #002a51;
  font-style: italic;
  font-weight: 500;
  margin: 0;
}

#header #logo {
  width: 0;
}

#navbar {
  background-color: #002a51;
  transition: max-height 0.2s ease-out;
  margin: 0 20px;
  overflow: hidden;
  flex: 1 0 auto;
}

#navbar.open {
  max-height: 300px;
}

#navbar.closed {
  max-height: 60px;
}

#navbar #toggle-button {
  height: 40px;
  margin: 10px 20px;
  padding: 0 10px;
  background-color: transparent;
  border: solid 1px rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

#navbar #toggle-button:focus {
  outline: none;
}

#navbar #toggle-button .bar {
  width: 24px;
  height: 2px;
  margin: 6px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}

#navbar #menu-items {
  list-style-type: none;
  padding: 0;
  margin: 0;
  margin-bottom: 20px;
}

#navbar #menu-items li {
  margin: 10px 20px;
}

#navbar #menu-items li a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

#navbar #menu-items li a.active {
  color: white;
}

#main-content {
  display: flex;
  justify-content: center;
  margin: 20px;
  flex: 1 0 auto;
}

#main-content ul {
  padding: 0;
}

#main-content p {
  text-align: justify;
  margin: 0;
}

#main-column {
  width: 870px;
}

#carousel-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#carousel {
  position: relative;
}

#carousel #images {
  display: flex;
  overflow: hidden;
}

#carousel #images img {
  display: none;
  width: 100%;
  min-width: 100%;
  transition: transform 0.75s;
}

#carousel #images img.shown {
  display: block;
}

#carousel #images img.move-left {
  display: block;
  transform: translateX(-100%);
}

#carousel #images img.move-right {
  display: block;
  transform: translateX(100%);
}

#carousel .button-area {
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#carousel #left-area {
  left: 0;
}

#carousel #right-area {
  right: 0;
}

#carousel .button-area .button {
  border: solid rgba(255, 255, 255, 0.5);
  width: 30px;
  height: 30px;
}

@media (hover: hover) {
  #carousel .button-area .button:hover {
    border-color: white;
  }
}

#carousel .button-area .button:active {
  border-color: white;
}

#carousel #left-button {
  border-width: 0 0 10px 10px;
  transform: rotate(45deg);
}

#carousel #right-button {
  border-width: 0 10px 10px 0;
  transform: rotate(-45deg);
}

#photos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

#photos #photo-card {
  display: flex;
  width: 80px;
  height: 80px;
  padding: 10px;
  overflow: hidden;
}

#photos img {
  cursor: pointer;
  object-fit: cover;
  width: 100%;
  box-shadow: 0 0 10px black;
}

#backdrop {
  display: none;
  position: fixed;
  z-index: 100;
  width: 100%;
  height: 100%;
  background-color: #000C;
}

#photo-container {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

#photo-viewer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 900px;
  height: 600px;
  max-width: 95%;
}

#photo-frame {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#photo-frame #exit-button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 40px;
  height: 40px;
  background-color: black;
  border-radius: 4px;
  cursor: pointer;
}

#photo-frame #exit-button:hover #part-1 {
  background-color: white;
}

#photo-frame #exit-button:hover #part-2 {
  background-color: white;
}

#photo-frame #exit-button #part-1 {
  position: absolute;
  top: 45%;
  left: 20%;
  width: 60%;
  height: 10%;
  background-color: gray;
  border-radius: 2px;
  transform: rotate(-45deg);
}

#photo-frame #exit-button #part-2 {
  position: absolute;
  top: 45%;
  left: 20%;
  width: 60%;
  height: 10%;
  background-color: gray;
  border-radius: 2px;
  transform: rotate(45deg);
}

#photo-frame img {
  max-width: 100%;
  max-height: 100%;
}

#about {
  margin-left: 10px;
  margin-right: 10px;
}

#about p {
  margin-top: 10px;
  margin-bottom: 10px;
}

#footer {
  width: 100%;
  background-color: #002a51;
  margin: 0;
  flex-shrink: 0;
}

#footer #phone-link {
  cursor: pointer;
  padding: 10px;
  border: 2px solid white;
  border-radius: 20px;
}

#footer #phone-link #phone #large-view {
  display: none;
}

#footer #phone-link #phone #small-view {
  display: block;
}

#footer #facebook-link {
  cursor: pointer;
}

#footer ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 20px;
  padding: 10px 0;
}

#footer ul li {
  display: flex;
  align-items: center;
  margin: 10px;
}

#footer ul li img {
  height: 20px;
}

#footer ul li p {
  color: white;
  margin: 0 10px;
}

#footer ul li a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
}

#footer ul li #name {
  font-weight: bold;
}

#footer ul li #phone {
  font-weight: bold;
}

/* GENERAL STYLING ABOVE */
/* ==================================================================================================== */
/* VIEWPORT SPECIFIC STYLING BELOW */

@media(min-width: 500px) {

  #photos #photo-card {
    width: 120px;
    height: 120px;
  }

}

@media(min-width: 600px) {

  #header {
    justify-content: space-between;
  }

  #header #title-container {
    align-items: flex-start;
    margin: 0 20px;
  }

  #header #title-container #phone {
    margin-top: 10px;
  }

  #header #title-container #title {
    margin-top: 10px;
  }

  #header #logo-container {
    margin: 0 20px;
  }

  #header #logo {
    width: 128px;
  }

  #navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
  }

  #navbar #toggle-button {
    display: none;
  }

  #navbar #menu-items {
    display: flex;
    justify-content: space-around;
    width: 800px;
    margin: 0 20px;
  }

  #navbar #menu-items li {
    margin: 10px 0;
  }

  #photos #photo-card {
    width: 120px;
    height: 120px;
  }

  #footer ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  #footer #phone-link {
    border: none;
  }

  #footer #phone-link #phone #large-view {
    display: block;
  }

  #footer #phone-link #phone #small-view {
    display: none;
  }

}

@media(min-width: 750px) {

  #photos #photo-card {
    width: 160px;
    height: 160px;
  }

}

@media(min-width: 900px) {
  
  #photos #photo-card {
    width: 200px;
    height: 200px;
  }

  #about p {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: large;
  }

}
