:root {
  --primary-color: #130d37;
  /*secondary-color: ;
        tertiary-color: ;*/
  --pg-border-color: #8e328f;
}

* {
  padding: 0;
  margin: 0;
}

body {
  color: white;
  font-family: "Titillium Web", sans-serif;
  overflow: hidden;
}

.wrapper {
  height: 100vh;
  /* overflow-y: scroll; */
  overflow-x: hidden;
  /* scroll-snap-type: y mandatory;
        scroll-snap-points: repeat(100vh); */
}

.wrapper nav {
  /* background-image: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1)); */
  background-color: #000;
}

main {
  background-color: #240d33;
  height: 100vh;
  position: relative;
  overflow-y: scroll;
}

.nov {
  color: #eebdff;
}

@keyframes fadeIn {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}

main nav {
  background-image: black;
  z-index: 10;
  width: calc(100% - 7px);
  height: 80px;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
}

main nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100% - 7px);
}

nav h1 {
  font-size: 2em;
  padding-left: 40px;
}

.navbar {
  display: flex;
  width: 600px;
  padding-right: 70px;
  justify-content: space-between;
}

.navbar a {
  text-decoration: none;
  color: white;
}

.nov {
  color: #eebdff;
}

.navbar a div {
  padding: 5px;
  border-bottom: 2px solid transparent;
}

.navbar a div:hover {
  border-bottom: 2px solid white;
  animation: fadein 0.5s;
}

@keyframes fadein {
  0% {
    border-bottom: 2px solid transparent;
  }

  100% {
    border-bottom: 2px solid white;
  }
}

@media screen and (max-width: 850px) {
  main nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    padding: 20px 0 !important;
  }

  main nav div h1 {
    padding: 0 !important;
  }

  .navbar {
    padding: 10px 0px 0px 0px !important;
    width: 80%;
  }
}

@media screen and (max-width: 420px) {
  .navbar {
    display: none;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px !important;
    background-color: #000;
    width: 100%;
  }

  .hamburger-nav {
    background-color: #000;
  }

  .upper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 40px !important;
    overflow: hidden;
    /* fix overflow issue */
    width: calc(100% - 80px);
  }

  .hamburger-menu {
    display: block;
    cursor: pointer;
  }

  .hamburger-menu .bar {
    width: 30px;
    height: 5px;
    background-color: #333;
    margin: 6px 0;
    transition: 0.4s;
  }
}

#content {
  display: flex;
  width: 100%;
  height: calc(100% - 80px);
  padding-top: 80px;
  align-items: center;
}

.form {
  
  width: 70%;
  height: 85%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.reviews {
  border-left: 1px solid rgb(121, 120, 120);
  min-height: 85%;
  width: 30%;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  justify-content: center;
}

.reviews h2 {
  color: #eebdff;
  text-align: center;
}

.review {
  width: 90%;
  padding: 15px;
  border-radius: 10px;
  border: 1px solid white;
}

.review-top {
  display: flex;
  height: 60px;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
}

.review-top .person {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-top .person p {
  color: lightgray;
}

.review-top img {
  height: 60px;
  width: 60px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.review-bottom {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-container {
  display: flex;
  flex-direction: column;
  width: 80%;
}

.plan h3 {
  font-size: 1.8em;
}

.plan button {
  padding: 15px 30px;
  background: none;
  border: 1px solid rgb(188, 99, 211);
  color: rgb(188, 99, 211);
  margin: 10px 0 10px 0px;
  font-family: "Titillium Web", sans-serif;
  font-size: 1em;
  border-radius: 10px;
  width: calc(100% / 3);
}

button.selected {
  background-color: rgb(188, 99, 211);
  color: black;
}

.buttons {
  display: flex;
  gap: 10px;
}

.plan button:hover {
  cursor: pointer;
  background-color: rgb(188, 99, 211);
  color: black;
  transition: all 1s;
}

.name input {
  width: 100%;
}

.name {
  padding: 30px 0px;
}

.email-and-phone {
  padding: 30px 0px;
  display: flex;
  gap: 20px;
}

.email-and-phone input {
  width: 50%;
}

.name input,
.email-and-phone input {
  font-size: 1em;
  padding: 15px 0;
  font-family: "Titillium Web", sans-serif;
  background: none;
  border: none;
  border-bottom: 2px solid gray;
  color: white;
  outline: none;
}
.name input:focus,
.email-and-phone input:focus {
  border-color: white;
  transition: all 0.5s;
}

#sign-up {
  padding: 15px 0;
  margin-top: 30px;
  width: 100%;
  align-self: flex-start;
  background: none;
  border: 1px solid rgb(188, 99, 211);
  color: rgb(188, 99, 211);
  font-family: "Titillium Web", sans-serif;
  font-size: 1em;
  border-radius: 10px;
}

.rv-hidden {
  display: none;
}

#sign-up:hover {
  cursor: pointer;
  background-color: rgb(188, 99, 211);
  color: black;
  transition: all 1s;
}

::-webkit-scrollbar {
  width: 7px;
  background-color: black;
}

::-webkit-scrollbar-thumb {
  background-color: #333;
  width: 7px;
  border-radius: 5px;
}

@media screen and (max-height: 680px) and (min-width: 850px) {
  #content {
    padding-top: 0px;
    margin-top: 150px;
    margin-bottom: 100px;
  }

  .reviews h2 {
    margin-top: 120px;
  }
}

@media screen and (max-width: 1200px) {
  .review-top img {
    height: 40px;
    width: 40px;
  }

  .review-top .person h3 {
    font-size: 1em;
  }

  .review-top .person p {
    font-size: 0.8em;
  }

  .review-text {
    font-size: 0.75em;
  }

  .fa-solid,
  .fas,
  .fa-regular,
  .far {
    font-size: 0.7em;
  }

  .review-top {
    margin-bottom: 0px;
  }

  .plan h3 {
    font-size: 1.5em;
  }

  .plan button {
    font-size: 0.8em;
  }

  #sign-up {
    font-size: 0.8em;
  }

  .name input,
  .email-and-phone input {
    font-size: 0.8em;
  }

  .form {
    width: 65%;
  }

  .reviews h2 {
    font-size: 1.3em;
  }
}

@media screen and (max-width: 850px) {
  .form {
    border-right: none;
    margin-top: 80px;
    width: 100%;
  }

  #content {
    flex-direction: column;
    overflow-y: scroll;
  }

  .reviews {
    flex-direction: row;
    width: 80%;
    height: 90%;
    margin-bottom: 25px;
  }

  .review {
    height: 80%;
  }

  .review-top {
    height: auto;
    justify-content: center;
  }

  .review-bottom {
    text-align: center;
    margin-top: 5px;
    margin-bottom: 20px;
  }

  .reviews h2 {
    display: none;
  }

  .rv-hidden {
    display: block;
    margin-top: 50px;
    color: #eebdff;
    font-size: 1.3em;
  }

  .plan {
    text-align: center;
  }
}

@media screen and (max-width: 700px) {
  .reviews {
    flex-direction: column;
    width: 100%;
  }

  .review {
    width: 75%;
  }
}

@media screen and (max-width: 500px) {
  .plan h3 {
    font-size: 1.2em;
  }

  .form,
  .reviews {
    width: 90%;
  }

  .form-container {
    width: 100%;
    padding: 10px;
  }

  .review {
    width: 85%;
  }

  .plan button {
    font-size: 0.7em;
    padding: 10px 20px;
    text-align: center;
    width: calc(100% / 2);
  }

  .rv-hidden {
    font-size: 1.1em;
  }

  .review-top .person h3 {
    font-size: 0.8em;
  }

  .review-top img {
    height: 35px;
    width: 35px;
  }
}
