@import url("https://fonts.googleapis.com/css2?family=Albert+Sans&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro&display=swap");

* {
  margin: 0px;
  padding: 0px;
  font-family: "Albert Sans", sans-serif;
}

body {
  height: 100%;
  width: 100%;
  background: linear-gradient(
    to bottom right,
    rgb(245, 230, 200) 0%,
    rgb(191, 235, 250) 100%
  );
  background-repeat: no-repeat;
  background-size: cover;
  overflow-x: hidden;
}

#navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  width: 80vw;
  height: 100px;
}

.nav-left {
  display: flex;
  align-items: center;
}

.nav-left span {
  font-weight: bolder;
  font-size: 30px;
  position: relative;
  bottom: 4px;
  cursor: pointer;
}

.nav-left ul {
  margin-left: 80px;
  display: flex;
  align-items: center;
}

.nav-left ul li {
  list-style: none;
  margin: 0px 25px;
}

.nav-left ul li a {
  color: black;
  font-size: 21px;
  text-decoration: none;
  font-weight: bold;
}

.nav-left ul li a:hover {
  color: #743030;
}

.nav-right input {
  padding: 4px 6px;
  font-size: 14px;
  margin-right: 10px;
  text-align: left;
  padding-left: 20px;
  border: 2px solid black;
  border-radius: 12px;
  width: 140px;
  background: transparent;
}

.nav-right input::placeholder {
  font-weight: 600;
}

.nav-right input:hover {
  outline: #5e7572 solid 2px;
  cursor: pointer;
}

.nav-right .btn {
  padding: 3.5px 0px;
  font-size: 14px;
  text-align: center;
  border: 2px solid black;
  border-radius: 12px;
  width: 90px;
  background: transparent;
  cursor: pointer;
}

.nav-right .btn:hover {
  font-weight: bold;
  color: #743030;
  outline: #5e7572 solid 2px;
}

.content {
  align-items: center;
  display: flex;
  height: 320px;
  max-width: 80vw;
  margin: auto;
  margin-top: 30px;
}

.content-left {
  display: flex;
  flex-direction: column;
  margin-right: 25px;
}

.content-left h1 {
  text-align: center;
  position: relative;
  bottom: 20px;
}

.content-left p {
  font-size: 1.1rem;
}

.content-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-right img {
  border: 2px solid black;
  border-radius: 50%;
  height: 280px;
}

.home-articles {
  max-width: 80vw;
  margin: auto;
}

.home-articles h2 {
  font-size: 1.8rem;
  text-align: center;
}

.article-box {
  display: flex;
  justify-content: center;
  margin: 20px auto;
  padding: 10px;
  text-transform: uppercase;
}

.article-box:hover {
  transform: scale(1.01);
}

.article-box-image {
  width: 30%;
}
.article-box-image img {
  height: 235px;
  border: 2px solid black;
  border-radius: 10%;
}

.article-box-text {
  display: flex;
  width: 50%;
  flex-direction: column;
  justify-content: center;
  margin-left: 50px;
  text-align: left;
  line-height: 1.4;
  font-size: 1.15rem;
}

.article-box-text a {
  text-decoration: none;
  color: black;
}

.article-box-text h3:hover {
  cursor: pointer;
  color: #743030;
}

.article-box-text span {
  font-family: "Source Sans Pro", sans-serif;
}

#footer {
  color: black;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
}

#footer:hover {
  color: #743030;
}

/* Utility Class */
h1,
h2,
h3 {
  font-family: "Albert Sans", sans-serif;
}

p {
  font-family: "Source Sans Pro", sans-serif;
}

hr {
  max-width: 90vw;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 30px;
}

@media screen and (max-width: 1350px) {
  .home-articles {
    max-width: 100vw;
  }

  .article-box {
    flex-direction: column;
    align-items: center;
  }

  .article-box-image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .article-box-text {
    width: 100%;
    align-items: center;
    margin-left: 0px;
  }
}

@media screen and (max-width: 1250px) {
  .content {
    max-width: 88vw;
  }
  .article-box-text {
    font-size: 1.07rem;
  }
}

@media screen and (max-width: 1100px) {
  .content {
    max-width: 90vw;
  }
  .content-left h1 {
    font-size: 1.6rem;
    bottom: 15px;
  }
  .content-left p {
    font-size: 1rem;
  }
  .home-articles h2 {
    font-size: 1.6rem;
  }
  .article-box-text {
    font-size: 1rem;
  }
}

@media screen and (max-width: 915px) {
  .content {
    max-width: 94vw;
    height: 300px;
  }
  .content-left h1 {
    font-size: 1.3rem;
  }
  .content-left p {
    font-size: 0.8rem;
  }
  .content-right img {
    height: 200px;
  }
  .article-box-image img {
    height: 200px;
  }
  .article-box-text {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 660px) {
  .content {
    max-width: 96vw;
    height: 260px;
  }
  .content-left h1 {
    font-size: 1.1rem;
  }
  .content-left p {
    font-size: 0.6rem;
  }
  .content-right img {
    height: 180px;
  }
  .article-box-image img {
    height: 180px;
  }
  .article-box-text {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 500px) {
  .content {
    flex-direction: column-reverse;
    max-width: 96vw;
    height: 360px;
  }
  .content-left {
    margin-top: 30px;
  }
  .content-left h1 {
    font-size: 1rem;
  }
  .content-left p {
    margin-left: 10px;
    font-size: 0.6rem;
  }
  .content-right img {
    border-radius: 15%;
    height: 170px;
  }
  .article-box-image img {
    height: 160px;
  }
  .article-box-text {
    font-size: 0.7rem;
  }
}

@media screen and (max-width: 360px) {
  .content {
    max-width: 100vw;
  }
  .content-left h1 {
    margin-left: 5px;
    font-size: 0.8rem;
  }
  .content-left p {
    font-size: 0.5rem;
  }
  .article-box-text {
    font-size: 0.55rem;
  }
}

@media screen and (max-width: 275px) {
  .content {
    height: 380px;
  }
  .content-left h1 {
    margin-left: 10px;
    font-size: 0.7rem;
  }
  .article-box-text {
    font-size: 0.5rem;
  }
}
