body {
  background: radial-gradient(circle, #5290c9, #a1c8e3);
}
#navbar {
  padding-left: 2%;
  padding-right: 2%;
}
.navbar_div {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  font-size: 20px;
  font-family: "Playfair Display", serif;
}
.parts_nav {
  display: flex;
  align-items: center;
  flex-direction: row; /* This makes the p tags stack vertically */
  gap: 30px;
  padding-top: 15px;
  padding-bottom: 15px;
}
.parts_nav a {
  color: black;
  text-decoration: none;
  font-weight: 800;
}
.right_nav a {
  opacity: 1;
  transition: transform 0.3s ease-in-out;
}
.nav_btn{
  background-color: transparent;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}
.nav_btn:hover{
  background-color: rgb(255, 255, 255);
  box-shadow: 4px 4px 4px black;
}
.bottom {
  position: fixed;
  width: 100%;
  top: 95%;
}
.bottom_text {
  font-family: "Playfair Display", serif;
  padding-left: 2%;
  opacity: 0.7;
}
.main {
  height: 80vh;
  text-align: center;
  width: 90%;
  margin-left: 5%;
  display: grid;
  grid-template-rows: 1fr 1fr 1.5fr 1fr;
}
.btns {
  display: flex;
  justify-content: center;
  gap: 50px;
}
.title {
  font-size: 2.5rem;
  font-family: "Playfair Display", serif;
}
.title h1 {
  position: relative;
  top: 30%;
}
.stat {
  text-align: center;
  font-size: 2rem;
  font-family: "Playfair Display", serif;
  font-style: italic;
}
.stat h2 {
  position: relative;
  top: 10%;
}

.para {
  font-size: 1.8rem;
  font-family: "Libre Baskerville", serif;
  display: flex;
  justify-content: center;
  padding-left: 20px;
  padding-right: 20px;
  align-items: center;
  font-weight: 400;
  font-style: italic;
}
.para p {
  position: relative;
  text-align: center;
  top: 0%;
}
.create_btn a,
.post_btn a{
  font-family: "Playfair Display", serif;
  border: solid 2px white;
  padding: 20px;
  margin: 30px;
  border-radius: 15px;
  background-color: transparent;
  box-shadow: 6px 6px 4px black;
  transition: all 0.3s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}
.btn{
  font-weight: 400;
  font-style: bold;
}
.create_btn a:active {
  transform: scale(0.97);
  box-shadow: 6px 6px 4px white;
}
.post_btn a:active {
  box-shadow: 6px 6px 4px white;
  transform: scale(0.97);
}
.btns a {
  text-decoration: none;
  color: black;
  font-weight: 800;
  font-size: 1.2rem;
  transition: all 0.3s ease-in-out;
}
.create_btn a:hover,
.post_btn a:hover {
  box-shadow: 4px 4px 2px rgba(251, 251, 251, 0.684);
}
@media (min-width:300px) and (max-width:600px)
{
  #navbar {
    padding-left:0%;
    padding-right: 0%;
  }
  .navbar_div {
    font-size: 0.9rem;
  }
  
  .parts_nav a {
    color: black;
    text-decoration: none;
    font-weight: 800;
  }
  .right_nav a {
    transition: none;
  }
  .nav_btn{
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  background-color: rgb(255, 255, 255);
  box-shadow: 4px 4px 4px black;
}
.nav_btn:hover{
  background-color: rgb(255, 255, 255);
  box-shadow: 4px 4px 4px black;
}
  .right_nav a:hover {
    color: black;
    text-shadow: none;
  }
  .bottom {
    position: fixed;
    width: 100%;
    top: 95%;
  }
  .bottom_text {
    padding-left: 2%;
    opacity: 0.7;
    font-size: 0.7rem;
  }
  .main {
    height: 80vh;
    text-align: center;
    width: 90%;
    margin-left: 5%;
    display: grid;
    grid-template-rows: 1fr 1fr 1.5fr 1fr;
  }
  .btns {
    display: flex;
    justify-content: center;
    gap: 50px;
  }
  .title {
    font-size: 1.8rem;
  }
  .title h1 {
    position: relative;
    top: 10%;
  }
  .stat {
    text-align: center;
    font-size: 1.1rem;
  }
  .stat h2 {
    position: relative;
    top : 20%;
  }

  .para {
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
  }
  .para p {
    position: relative;
    text-align: justify;
    top: -5%;
  }
  .create_btn a,
  .post_btn a{
    border: solid 2px black;
    height: fit-content;
    padding: 15px;
    border-radius: 10px;
    background-color: transparent;
    box-shadow: 6px 6px 4px black;
    transition: none;
    margin: 10px;
  }
  .create_btn a:active {
    transform: none;
    box-shadow: 6px 6px 4px black;
  }
  .post_btn a:active {
    box-shadow:6px 6px 4px black;
    transform: none;
  }
  .btns a {
    text-decoration: none;
    color: black;
    font-weight: 800;
    font-size: 1.1rem;
    transition: none;
  }
  .create_btn a:hover,
  .post_btn a:hover {
    box-shadow: 6px 6px 4px black;
  }
 
}

@media (max-width:300px) {
  #navbar {
    padding-left:0%;
    padding-right: 0%;
  }
  .navbar_div {
    font-size: 0.8rem;
  }
  
  .parts_nav a {
    color: black;
    text-decoration: none;
    font-weight: 800;
  }
  .right_nav a {
    transition: none;
  }
  .right_nav a:hover {
    color: black;
    text-shadow: none;
  }
  .bottom {
    position: fixed;
    width: 100%;
    top: 95%;
  }
  .bottom_text {
    padding-left: 2%;
    opacity: 0.7;
    font-size: 0.7rem;
  }
  .main {
    height: 80vh;
    text-align: center;
    width: 90%;
    margin-left: 5%;
    display: grid;
    grid-template-rows: 1fr 1fr 1.5fr 1fr;
  }
  .btns {
    display: flex;
    justify-content: center;
    gap: 50px;
  }
  .title {
    font-size: 1.6rem;
  }
  .title h1 {
    position: relative;
    top: 10%;
  }
  .stat {
    text-align: center;
    font-size: 1rem;
  }
  .stat h2 {
    position: relative;
    top: 20%;
  }

  .para {
    font-size: 1rem;
    font-family: "Open Sans", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
  }
  .para p {
    position: relative;
    text-align: justify;
    top: -10%;
  }
  .create_btn a,
  .post_btn a{
    border: solid 2px black;
    height: fit-content;
    padding: 10px;
    border-radius: 10px;
    background-color: transparent;
    box-shadow: 6px 6px 4px black;
    transition: none;
    margin: 5px;
  }
  .create_btn a:active {
    transform: none;
    box-shadow: 6px 6px 4px black;
  }
  .post_btn a:active {
    box-shadow:6px 6px 4px black;
    transform:none;
  }
  .btns a {
    text-decoration: none;
    color: black;
    font-weight: 800;
    font-size: 1rem;
    transition: none;
  }
  .create_btn a:hover,
  .post_btn a:hover {
    box-shadow: 6px 6px 4px black;
  }
}