html {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100%;
}
header {
  width: 100vw;
}

main {
  margin: 100px 25px 0 25px;
}

.content-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-icon {
  display: none;
  background-color: white;
  @media (max-width: 600px) {
    display: block;
    width: 1.5rem;
    height: 25px;
    margin: 1rem;
    border: 0;
  }
}

.navbar {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 3rem;
  background-color: white;
  border-bottom: 1px solid #c1c1c1;
  position: fixed;
  width: 100vw;
  height: 60px;
  top: 0;
  z-index: 1000;
  @media (max-width: 600px) {
    flex-direction: column;
  }
}

.navbar-links-list {
  width: 100%;
  display: flex;
  list-style-type: none;
  justify-content: space-evenly;
  @media (max-width: 600px) {
    flex-direction: column;
    height: 100%;
    align-items: flex-start;
    justify-content: space-around;
  }
}

.navbar-btn-container {
  display: flex;
  align-items: center;
  align-items: center;
  height: 60px;
  margin: 0 1rem 0;
  @media (max-width: 600px) {
    margin-bottom: 16px;
    width: 100%;
    justify-content: space-between;
  }
}

.logo {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 40px;
  text-decoration: none;
  color: black;
  margin: 0 1rem 0;
}

.slide-in {
  @media (max-width: 600px) {
    transition: height 0.75s ease;
    height: 100%;
  }
}

.slide-out {
  @media (max-width: 600px) {
    transition: height 0.25s ease;
    height: 60px;
  }
}

.navbar-button-close {
  display: none;
}
.navbar-button-open {
  display: none;
}

.navbar-link {
  text-decoration: none;
  color: black;
  font-size: 24px;
  font-family: Arial, Helvetica, sans-serif;
  @media (max-width: 600px) {
    visibility: hidden;
    padding: 0;
    margin: 0 0 3rem 1rem;
    height: fit-content;
    font-size: 36px;
  }
}
.nav-links-visible {
  @media (max-width: 600px) {
    visibility: visible;
    transition: opacity 2.25s ease 0.1s;
    opacity: 1;
  }
}

.nav-links-hidden {
  @media (max-width: 600px) {
    transition: opacity 1s ease 0.1s;
    opacity: 0;
  }
}

#logout-btn {
  background-color: white;
  border: none;
  text-decoration: none;
  color: black;
  font-size: 24px;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  @media (max-width: 600px) {
    padding: 0;
    margin: 0 0 3rem 1rem;
    height: fit-content;
    font-size: 36px;
  }
}

#logout-btn:hover {
  cursor: pointer;
}

.page-title {
  margin-top: 100px;
  text-align: center;
}

h1 {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 36px;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto auto 3rem auto;
}

.slide-img {
  width: 700px;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: black;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border: 0;
  background-color: transparent;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
  color: black;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: black;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animation */

@keyframes fade {
  from {
    opacity: 0.4;
  }

  to {
    opacity: 1;
  }
}

.main-section {
  margin: 1rem 0;
}
div.scroll-container {
  background-color: whitesmoke;
  overflow: auto;
  white-space: nowrap;
  border-color: black solid;
}

footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: black;
  background-color: gainsboro;
  min-height: 100px;
  width: 100%;
  text-align: center;
  margin-top: 3rem;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
  margin: 0px;
  padding: 0px;
  font-family: Arial, sans-serif;
}

.card-title {
  font-size: 20px;
  padding: 10px;
  margin: 8px 16px 8px 16px;
}
.card {
  display: flex;
  flex-direction: column;
  width: 450px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  border-radius: 15px;
}

.card-image {
  width: 100%;
  height: 320px;
  margin-top: 16px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.card-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  margin: 0 16px 8px 16px;
}
.card-button {
  background-color: #3b5998;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
}
.card-button:hover {
  background-color: #2f4f7f;
}

.flex-container {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  row-gap: 2rem;
  justify-content: space-evenly;
  @media (max-width: 600px) {
    margin: 20px;
  }
}

.flex-item {
  width: 30%;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
}

.flex-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.link-text {
  color: #3b5998;
}

/* Add padding to containers */
.container {
  padding: 16px;
}

.about-us-container {
  width: 50%;
  margin: 1rem 2rem;
  display: flex;
  justify-content: center;
  margin: auto;
  @media (max-width: 600px) {
    width: 80%;
  }
}

/* Full-width input fields */
input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  border: none;
  background: #f1f1f1;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="password"]:focus {
  background-color: #ddd;
  outline: none;
}

/* Overwrite default styles of hr */
hr {
  border: 1px solid #f1f1f1;
  margin-bottom: 25px;
}

/* Set a style for the submit/register button */
.registerbtn {
  background-color: #2e4053;
  color: white;
  padding: 16px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  /* opacity: 0.9; */
}

.registerbtn:hover {
  opacity: 1;
}

/* Set a grey background color and center the text of the "sign in" section */
.signin {
  background-color: #f1f1f1;
  text-align: center;
}

.form-container {
  width: 30%;
  margin: 0 auto 0 auto;
  @media (max-width: 600px) {
    width: 100%;
  }
}

.slide-container {
  width: 100%;
  display: flex;
  justify-content: center;
}
