@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  color: #000;
  font-family: "Rubik", sans-serif;
}

html,
body {
  width: 100%;
  height: 100%;
}

a {
  text-decoration: none;
}

main {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 5rem;
  padding: 0 5rem;
  padding-top: 12rem;
}

.left {
  width: 48%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
  row-gap: 20px;
}

h1 {
  font-size: 8vw;
  font-weight: 400;
  position: relative;
}

.period {
  font-family: serif;
}

.down {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.down .circle {
  padding: 10px;
  margin: 10px 0 30px 0;
  border: 1px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 50px;
  height: 30px;
  width: fit-content;
}

.down .circle div {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin: 0 2px;
}

.brown {
  background-color: burlywood;
}

.black {
  background-color: #000;
}

#left-lower-2 {
  margin-bottom: 30px;
}

#left-lower-2 h2 {
  font-weight: 600;
  margin: 10px 0;
}

#left-lower-2 p {
  color: #333;
  line-height: 1.3;
  width: 80%;
}

/* right */

.right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 40%;
  height: 100%;
  position: relative;
}

.info {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  font-weight: 600;
}

.info h4 {
  font-size: 1rem;
}

.rating-container {
  display: flex;
  column-gap: 10px;
}

.info i {
  display: inline-block;
  margin: 0 2px;
  color: #fff066;
}

.right .header-graphic {
  height: 100%;
  width: 100%;
  background-image: url("https://images.unsplash.com/photo-1642953973257-e5b5a946b367?q=80&w=686&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  margin-top: 10px;
  position: relative;
}

.black-gola {
  position: absolute;
  width: 120px;
  height: 120px;
  top: 25%;
  right: -10%;
  border-radius: 50%;
  background-color: #0e0e0e;
}

.black-gola p {
  position: absolute;
  color: rgb(179, 179, 170);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.right .out {
  position: absolute;
  left: -10%;
  bottom: 10%;
  height: 200px;
  width: 30px;
  /* border: 1px solid black; */
}

.right .tilted-heading {
  margin-top: 6rem;
  white-space: nowrap;
  transform: rotate(270deg);
  font-size: 1.5rem;
}

@media (max-width: 800px) {
  main {
    padding: 0 2rem;
    padding-top: 8rem;
  }

  .right {
    width: 45%;
  }

  .black-gola {
    width: 90px;
    height: 90px;
  }
  .right .out {
  left: -14%;
}
.rating-container {
  display: flex;
  column-gap: 4px;
}

.info h4 {
    font-size: 0.7rem;
}
.info {
  font-size: 0.7rem;
}

}


@media (max-width: 500px) {

}