@font-face {
  font-family: "Shrikhand";
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: local("Shrikhand Regular"), local("Shrikhand-Regular"),
    url(https://fonts.gstatic.com/s/shrikhand/v5/a8IbNovtLWfR7T7bMJwrA4KR.woff2)
      format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

:root {
  overflow-x: hidden;
  --clr-primary: #70c9d5;
  --clr-secondary: rgb(186, 95, 122);
  --clr-text: rgb(59, 59, 59);
  --clr-white: #fff;
  --clr-black: #222;
  --ff-primary: "Roboto", sans-serif;
  --ff-secondary: "Open Sans", sans-serif;
  --transition: all 0.3s linear;
  --spacing: 0.25rem;
  --radius: 0.5rem;
  scroll-behavior: smooth;
}

body {
  height: 100vh;
  background: linear-gradient(to bottom, #fff, #fff, rgb(255, 251, 224));
}

ul {
  list-style-type: none;
}
a {
  text-decoration: none;
  color: var(--clr-primary);
  transition: var(--transition);
}

a:active {
  color: var(--clr-primary);
}

a:visited {
  color: var(--clr-primary);
}

a:hover {
  color: var(--clr-secondary);
}

/* TITLE */

.title {
  width: auto;
  display: flex;
  flex-direction: column;
  place-content: center;
  margin: 0;
  padding: 0;
  text-align: center;
}

.title h1 {
  color: var(--clr-primary);
  font-family: "Shrikhand";
  text-align: center;
  font-size: 4rem;
  line-height: 1;
  transition: var(--transition);
}

.title h2 {
  font-size: 2rem;
  font-family: "Roboto", sans-serif;
  margin-top: -1rem;
  margin-bottom: 3rem;
  color: var(--clr-primary);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: var(--spacing);
}

h1:hover {
  color: var(--clr-secondary);
}

h1:active {
  color: #222;
}

.title__bottom {
  width: 5%;
  margin-bottom: 4rem;
  margin-top: -1rem;
  margin-left: auto;
  margin-right: auto;
  border-bottom: 3px solid rgb(73, 206, 213);
}

/* section */
.section {
  padding: 5rem 0;
}

.section-center {
  width: 90vw;
  margin: 0 auto;
  max-width: 1170px;
}

main {
  /* min-height: 100vh; */
  display: grid;
  place-items: center;
}

/*
=============== 
Reviews
===============
*/

.container {
  width: 80vw;
  max-width: 80rem;
}
.review {
  background: var(--clr-white);
  /* padding: 1.5rem 2rem; */
  margin-top: -3rem;
  padding-top: -1.5rem;
  padding-bottom: 1.5rem;
  padding-left: 2rem;
  padding-right: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--light-shadow);
  transition: var(--transition);
  text-align: center;
  border-radius: var(--radius);
}

.review:hover {
  box-shadow: var(--dark-shadow);
}

#rating {
  /* margin-bottom: 3rem; */
  font-size: 2.5rem;
  color: rgb(253, 197, 76);
}

#reviewer {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: var(--clr-text);
}
#info {
  font-family: "Times New Roman", Times, serif;
  margin-top: 2rem;
  margin-bottom: 3rem;
  line-height: 1.2;
  color: var(--clr-text);
}

.prev-btn,
.next-btn {
  color: var(--clr-primary);
  font-size: 1.25rem;
  background: transparent;
  border-color: transparent;
  margin: 0 0.5rem;
  transition: var(--transition);
  cursor: pointer;
}
.prev-btn:hover,
.next-btn:hover {
  color: var(--clr-secondary);
}
.random-btn {
  margin-top: 0.5rem;
  background: var(--clr-primary-10);
  color: var(--clr-primary-5);
  padding: 0.25rem 0.5rem;
  text-transform: capitalize;
  border-radius: var(--radius);
  transition: var(--transition);
  border-color: var(--clr-primary-5);
  cursor: pointer;
}
.random-btn:hover {
  background: var(--clr-primary-5);
  color: var(--clr-primary-1);
}

@media screen and (max-width: 650px) {
  .title h1 {
    font-size: 3rem;
  }

  .title h2 {
    font-size: 1.5rem;
  }

  .review {
    margin-top: -5rem;
  }

  .rating {
    margin-bottom: 1.5rem;
  }
}

@media screen and (max-width: 400px) {
  .title h1 {
    font-size: 2.5rem;
  }

  .title h2 {
    font-size: 1rem;
  }

  .title__bottom {
    display: none;
  }
  .review {
    margin-top: -4rem;
  }
}
