@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans&family=Roboto+Slab:wght@500&display=swap");
:root {
  --black: rgba(37, 40, 40);
  --black75: rgba(37, 40, 40, 0.75);
  --black50: rgba(37, 40, 40, 0.5);
  --black25: rgba(37, 40, 40, 0.25);
  --black10: rgba(37, 40, 40, 0.1);
  --black5: rgba(37, 40, 40, 0.5);
  --primary: #f15946;
  --secondary: #07447b;
  --teritary1: #f79489;
  --teritary2: #faefd8;
  --teritary3: #a0e7e5;
  --gradient: linear-gradient(to bottom right, #f79489, #a0e7e5);
  --shadow: 2.8px 2.8px 2.2px rgba(0, 0, 0, 0.02),
    6.7px 6.7px 5.3px rgba(0, 0, 0, 0.028),
    12.5px 12.5px 10px rgba(0, 0, 0, 0.035),
    22.3px 22.3px 17.9px rgba(0, 0, 0, 0.042),
    41.8px 41.8px 33.4px rgba(0, 0, 0, 0.05),
    100px 100px 80px rgba(0, 0, 0, 0.07);
}

*::-webkit-scrollbar {
  width: 16px;
}

*::-webkit-scrollbar-track {
  background: var(--black);
}

*::-webkit-scrollbar-thumb {
  background: var(--gradient);
  border-radius: 10px;
  border: 2px solid var(--black);
}

body {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
  padding: 15px;
  background: var(--black);
  margin: 0px;
}

a {
  text-decoration: underline #551a8b;
}

.gap {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

h1 {
  font-family: Roboto Slab;
  color: var(--black);
  font-size: 48.83px;
  line-height: 75px;
  font-weight: 500;
  letter-spacing: 0px;
  font-style: normal;
  margin: 0px;
}
h2 {
  font-family: Roboto Slab;
  color: var(--black);
  font-size: 39.06px;
  line-height: 64.4px;
  font-weight: 500;
  letter-spacing: 0px;
  font-style: normal;
  margin: 0px;
}
h3 {
  font-family: Roboto Slab;
  color: var(--black);
  font-size: 31.25px;
  line-height: 64.4px;
  font-weight: 500;
  letter-spacing: 0px;
  font-style: normal;
  margin: 0px;
}
h4 {
  font-family: Roboto Slab;
  color: var(--black);
  font-size: 25px;
  line-height: 64.4px;
  font-weight: 500;
  letter-spacing: 0px;
  font-style: normal;
  margin: 0px;
}
h5 {
  font-family: Roboto Slab;
  color: var(--black);
  font-size: 20px;
  line-height: 64.4px;
  font-weight: 500;
  letter-spacing: 0px;
  font-style: normal;
  margin: 0px;
}
h6 {
  font-family: Roboto Slab;
  color: var(--black);
  font-size: 16px;
  line-height: 38.5px;
  font-weight: 500;
  letter-spacing: 0px;
  font-style: normal;
  margin: 0px;
}
p {
  font-family: Nunito Sans;
  color: var(--black);
  font-size: 16px;
  line-height: 38.5px;
  font-weight: 500;
  letter-spacing: 0px;
  font-style: normal;
  margin: 0px;
}
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  width: 100%;
}
.logo {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}
.spread {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 25px;
  align-items: center;
}
nav h1,
nav h5 {
  color: #fff;
}
nav .period {
  color: var(--primary);
}

#myLinks a {
  text-decoration: underline #551a8b;
}
#myLinks {
  display: none;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  width: 90%;
  border-radius: 20px;
}
#menu {
  display: none;
}

main {
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
  width: 90%;
  margin: auto;
  border-radius: 25px;
  padding: 25px;
  display: flex;
  gap: 50px;
  text-align: center;
  flex-direction: column;
  background-image: linear-gradient(
    to right bottom,
    #212529,
    #24292d,
    #282d31,
    #2b3136,
    #2f353a,
    #32383e,
    #363c42,
    #393f46,
    #3d434a,
    #41474e,
    #454c53,
    #495057
  );
}
main hr {
  width: 100%;
  color: white;
}
main .posts div {
  width: 400px;
  height: 400px;
  border-radius: 5px;
  color: white;
}
main h1 {
  text-shadow: -0.5px -0.5px 0 #a0e7e5, 0.5px 0.5px 0 #a0e7e5,
    1px 1px 1px #f79489, 2.5px 2.5px 5px rgba(0, 0, 0, 0.5),
    5px 10px 10px rgba(0, 0, 0, 0.5);
  font-weight: 500;
  font-style: normal;
  margin: 0px;
  padding: 0px;
  color: white;
}
main h2,
main h4,
main h3 {
  color: white;
}
.posts div img {
  width: 250px;
  height: 250px;
  border-radius: 25px;
}
.post-section h4:hover {
  cursor: pointer;
  padding: 1px 8px;
  transform: scale(1.05);
  color: var(--teritary3);
}
main h1:hover {
  cursor: pointer;
  padding: 2px 16px;
  transform: scale(1.05);
}
main .posts div img:hover {
  transform: scale(1.05);
  transition: 0.5s ease;
}

.action {
  text-decoration: none;
}
.action:hover {
  cursor: pointer;
  padding: 1px 2px;
  transform: scale(1.005);
  color: var(--teritary3);
  text-decoration: none;
}

/* Media Queries */
@media screen and (max-width: 1475px) {
  section .items {
    box-shadow: var(--shadow);
    padding: 0px 16px;
    border-radius: 100px;
    display: inline-block;
    justify-items: start;
    width: fit-content;
    transition: 0.5s ease;
  }
  section .items h3 {
    font-size: 25px;
  }
  #menu {
    display: none;
  }
}

@media screen and (max-width: 1300px) {
  section .photo {
    height: 475px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    width: 30%;
  }
  section .intro1 h1 {
    font-size: 39.06px;
  }
  #menu {
    display: none;
  }
}

@media screen and (max-width: 1175px) {
  section .photo {
    height: 430px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    width: 30%;
  }
  section .items h3 {
    font-size: 16px;
  }
  #menu {
    display: none;
  }
}

@media screen and (max-width: 1075px) {
  section .intro1 h1 {
    font-size: 31.25px;
  }
  section .photo {
    height: 400px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    width: 30%;
  }
  #menu {
    display: none;
  }
}

@media screen and (max-width: 950px) {
  section .photo {
    height: 350px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    width: 30%;
    align-self: center;
  }
  main {
    background: white;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
    width: 85%;
    border-radius: 25px;
    padding: 25px;
    display: flex;
    gap: 75px;
    justify-content: space-evenly;
    flex-direction: column;
    align-items: center;
  }
  section .items {
    padding: 0px 24px;
  }
  section .items {
    box-shadow: var(--shadow);
    padding: 0px 16px;
    border-radius: 100px;
    display: inline-block;
    justify-items: start;
    width: fit-content;
    transition: 0.5s ease;
  }
  #menu {
    display: none;
  }
}

@media screen and (max-width: 900px) {
  section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    align-items: center;
    width: 100%;
  }
  section .intro {
    background: var(--gradient);
    height: 300px;
    box-shadow: var(--shadow);
    border-radius: 25px;
    width: 90%;
    padding: 25px;
    display: flex;
    gap: 40px;
  }
  section .items {
    box-shadow: var(--shadow);
    padding: 0px 64px;
    border-radius: 100px;
    display: inline-block;
    justify-items: start;
    width: fit-content;
    transition: 0.5s ease;
  }
  #menu {
    display: none;
  }
}
@media screen and (max-width: 820px) {
  section .photo {
    height: 300px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    width: 30%;
    align-self: center;
  }
  #menu {
    display: none;
  }
}
@media screen and (max-width: 700px) {
  section .photo {
    height: 250px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    width: 30%;
    align-self: center;
  }
  section .items {
    box-shadow: var(--shadow);
    padding: 0px 32px;
    border-radius: 100px;
    display: inline-block;
    justify-items: start;
    width: fit-content;
    transition: 0.5s ease;
  }
  #menu {
    display: none;
  }
}
@media screen and (max-width: 760px) {
  section .items {
    box-shadow: var(--shadow);
    padding: 0px 30px;
    border-radius: 100px;
    display: inline-block;
    justify-items: start;
    width: fit-content;
    transition: 0.5s ease;
  }
  #menu {
    display: none;
  }
}
@media screen and (max-width: 650px) {
  section .under .one {
    background-color: var(--primary);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 80px;
    transition: 0.5s ease;
  }
  section .under .two {
    background-color: var(--teritary2);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 80px;
    transition: 0.5s ease;
    text-align: center;
  }
  section .under .three {
    background-color: var(--teritary3);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 80px;
    transition: 0.5s ease;
  }
  #menu {
    display: none;
  }
}
@media screen and (max-width: 610px) {
  section .photo {
    height: 225px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    width: 30%;
    align-self: center;
  }
  section .items {
    box-shadow: var(--shadow);
    padding: 0px 24px;
    border-radius: 100px;
    display: inline-block;
    justify-items: start;
    width: fit-content;
    transition: 0.5s ease;
  }
  #menu {
    display: none;
  }
}
@media screen and (max-width: 555px) {
  nav .spread:nth-child(2) a {
    display: none;
  }
  #menu {
    display: flex;
  }
  section .under {
    margin: 10px;
    width: 95%;
    border-radius: 20px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: space-evenly;
  }
  section .under .one {
    background-color: var(--primary);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 125px;
    transition: 0.5s ease;
  }
  section .under .two {
    background-color: var(--teritary2);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 125px;
    transition: 0.5s ease;
  }

  section .under .three {
    background-color: var(--teritary3);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 125px;
    transition: 0.5s ease;
  }
  section .photo {
    width: 150px;
    height: 300px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    width: 45%;
    align-self: center;
    display: none;
  }

  section .intro {
    background: var(--gradient);
    height: 500px;
    box-shadow: var(--shadow);
    border-radius: 25px;
    width: 90%;
    padding: 25px;
    display: flex;
    gap: 10px;
    flex-direction: column;
    text-align: center;
    align-self: center;
  }
  section .intro1 {
    width: 100%;
    gap: 10px;
    display: flex;
    flex-direction: column;
  }
  section .intro2 {
    width: 100%;
    display: flex;
    height: fit-content;
    gap: 35px;
    flex-direction: column;
    align-items: center;
  }
}
@media screen and (max-width: 500px) {
  section .photo {
    width: 150px;
    height: 300px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    width: 50%;
    align-self: center;
  }
  footer {
    background: var(--gradient);
    height: fit-content;
    border-radius: 25px;
    width: 95%;
    box-shadow: var(--shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 10px;
  }
}

@media screen and (max-width: 450px) {
  section .photo {
    width: 150px;
    height: 300px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    width: 60%;
    align-self: center;
  }
  nav {
    gap: 10px;
  }
}

@media screen and (max-width: 400px) {
  section .intro {
    background: var(--gradient);
    height: 600px;
    box-shadow: var(--shadow);
    border-radius: 25px;
    width: 90%;
    padding: 25px;
    display: flex;
    gap: 40px;
    flex-direction: column;
    text-align: center;
  }
  section .photo {
    width: 150px;
    height: 300px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    width: 65%;
    align-self: center;
  }
  main .reviewStars {
    height: 19.7596796px;
    width: 100px;
  }

  main .review .one {
    height: 63.5px;
    width: 200px;
    border-radius: 5px;
  }
  main .review .two {
    height: 65px;
    width: 200px;
    border-radius: 5px;
  }

  main .review .three {
    height: 75px;
    width: 75px;
    border-radius: 5px;
  }
}
