@import url("https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap");
:root {
  --accent-color: #949494;
  --text-color: #040403;
  --background-color: #c4c4c3;
}

body {
  margin: 0;
  font-family: "Roboto mono", sans-serif;
}
a {
  text-decoration: none;
  color: var(--text-color);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--background-color);
  padding: 4px 15px;
  font-size: 18px;
  font-weight: 700;
}
.nav_logo {
  display: flex;
  align-items: center;
}
.nav_logo img {
  padding: 0px 12px 0px 0px;
}
.nav_menu {
  width: max-content;
  display: flex;
  list-style: none;
  padding: 0px;
}
.nav_menu li {
  padding: 4px 48px;
}
.nav_menu li:hover {
  background-color: var(--accent-color);
}
.navbar_toggleBtn {
  display: none;
}
#article_1 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: linear-gradient(
      to bottom,
      rgba(250, 250, 250, 0.3),
      rgba(59, 59, 59, 0.9)
    ),
    url("../img/smiley_background.jpg");
  max-width: 100%;
  height: 400px;
  background-size: cover;
  color: white;
  padding: 0px 80px;
}
#article_1 h1 {
  margin: 4px 0px;
  font-size: 72px;
}
#article_1 h2 {
  margin: 8px 0px;
  font-size: 28px;
}
#article_2 {
  display: flex;
}
#article_2 > div {
  width: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 36px;
  font-size: 72px;
  font-weight: bold;
}
#article_2 ul {
  display: flex;
  width: 75%;
  justify-content: space-between;
  padding-right: 60px;
  align-items: center;
  font-size: 18px;
}
#article_2 ul li {
  width: 30%;
  padding: 12px 0px;
  list-style: none;
  text-align: center;
  background-color: var(--background-color);
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}
#article_3 {
  text-align: center;
  margin: 0px 0px 68px 0px;
}
#article_3 h1 {
  font-size: 48px;
}
#article_3 ul {
  padding: 0px;
}
#article_3 li {
  list-style: none;
}
#plan_list{
  font-size: 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.plan{
  transform:translateX(200%);
  transition: transform 0.4s ease;
}
.plan.show{
  transform: translateX(0);
}

footer {
  border-top: 2px solid #c4c4c3;
  text-align: center;
  padding: 10px 0px 40px 0px;
}
/*comment.html*/
#comment {
  width: 70%;
  margin: 64px 15%;
  text-align: center;
  font-size: 24px;
}
#comment > h1 {
  margin-bottom: 28px;
}
.modal_container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}
.modal {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 350px;
  transform: translateX(-50%) translateY(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: white;
  border: 3px solid #595959;
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  border-radius: 16px;
}
.remove {
  display: none;
}

/*info.html*/
#accordion_container {
  margin: 80px auto;
  width: 720px;
}
#accordion_container h1 {
  margin-left: 10px;
  font-size: 32px;
}
.accordion {
  background-color: white;
  cursor: pointer;
  padding: 20px;
  width: 100%;
  text-align: left;
  border: 1px solid #949494;
  outline: none;
  font-size: 16px;
  font-family: "Roboto mono", sans-serif;
}
.accordion:hover,
.accordion.active {
  background-color: #dcdcdc;
}
.accordion_panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.2s ease-out;
  text-align: center;
  margin: 10px 0px;
}
.accordion_panel a {
  font-size: 24px;
}
.accordion_panel a:hover {
  color: turquoise;
}
iframe {
  margin: 10px auto;
  display: block;
}
.accordion:after {
  content: "\002B";
  color: var(--accent-color);
  float: right;
}
.accordion.active:after {
  content: "\002D";
}

/*rating.html*/
#rating {
  text-align: center;
  margin: 24px;
}
.tooltip {
  position: relative;
  display: inline-block;
  margin: 24px 0px;
  font-size: 28px;
  font-weight: bold;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 200px;
  background-color: black;
  color: #fff;
  text-align: center;
  font-size: 16px;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -100px;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}
#form {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#improve_question {
  font-size: 20px;
  margin: 24px 0px 16px 0px;
}
#improve {
  width: 600px;
  margin: auto;
}
.stepper {
  display: flex;
  font-size: 24px;
  justify-content: center;
  position: relative;
}
.stepper_btn {
  font-size: 24px;
  width: 48px;
  height: 36px;
}
.range {
  width: 48px;
}
.submit_btn {
  font-family: "Roboto mono", sans-serif;
  width: 88px;
  height: 48px;
  margin: 32px;
  font-size: 16px;
}
/*photos.html*/
.carousel {
  position: relative;
  overflow: hidden;
  width: 50%;
  margin: 48px auto;
}
.slides-container {
  height: auto;
  width: 100%;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: scroll;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.slide {
  width: 100%;
  height: 100%;
  flex: 1 0 100%;
}
.slide img {
  display: block;
  width: 100%;
  height: auto;
}
.slides-container::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.slide-arrow {
  position: absolute;
  display: flex;
  top: 0;
  bottom: 0;
  margin: auto;
  height: 64px;
  background-color: white;
  border: none;
  width: 32px;
  font-size: 48px;
  padding: 0;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 100ms;
}
.slide-arrow:hover,
.slide-arrow:focus {
  opacity: 1;
}
#slide-arrow-prev {
  left: 0;
  padding-left: 4px;
  border-radius: 0 50px 50px 0;
}
#slide-arrow-next {
  right: 0;
  padding-left: 8px;
  border-radius: 50px 0 0 50px;
}
@media screen and (max-width: 800px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
  }
  .nav_menu {
    flex-direction: column;
    align-items: center;
    width: 100%;
    display: none;
  }
  .nav_menu li {
    width: 100%;
    text-align: center;
  }
  .nav_menu.active {
    display: flex;
  }
  #article_2 {
    flex-direction: column;
    align-items: center;
  }
  #article_2 div {
    width: 100%;
  }
  #article_2 ul {
    flex-direction: column;
    padding: 20px;
    width: 90%;
  }
  #article_2 ul li {
    width: 100%;
    margin: 8px 0px;
  }
  /*comment.html*/
  #comment {
    width: 100%;
    margin: 32px 0px;
    text-align: center;
  }
  .navbar_toggleBtn {
    display: block;
  }
  .nav_logo_with_toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  .modal_container {
    display: none;
  }
  /*info.html*/
  #accordion_container {
    width: 90%;
  }
  /*rating.html*/
  #improve {
    width: 90%;
  }
}
