@import url("https://fonts.googleapis.com/css2?family=Fugaz+One&family=Monoton&display=swap");
* {
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  transition: 60s;
}
/* //HEADER SECTION// */
header {
  background: linear-gradient(to right, #2bb7da, #31d35c);
  position: sticky;
  top: 0px;
  left: 0px;
  z-index: 5;
  margin-left: -0.39rem;
  margin-right: -0.39rem;
  margin-top: -0.45rem;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem;
}

.header-logo h3,
.footer-logo h3 {
  color: white;
  font-size: 1.3rem;
}
.header-logo h3 {
  margin-left: 1rem;
}
.header-logo span,
.footer-logo span {
  color: lawngreen;
  font-size: 1.4rem;
}
.nav-toggle {
  display: none;
}
.nav-checkbox {
  display: none;
}
.nav-menu {
  display: flex;
  list-style: none;
}
.nav-menu li:not(:last-child) {
  margin-right: 1.5rem;
}
.nav-menu li a,
.nav-call-to-action a {
  text-decoration: none;
  color: white;
}
/* hover styles for the nav-link */

.nav-link:hover {
  opacity: 0.85;
}

.nav-call-to-action {
  margin-right: 2rem;
}
.nav-call-to-action a {
  border: 2px solid white;
  border-radius: 5px;
}
.nav-call-to-action a:first-child {
  padding: 0.5rem 0.5rem;
  margin-right: 0.2rem;
}
.nav-call-to-action a:last-child {
  padding: 0.6rem 0.6rem 0.5rem 0.6rem;
}

/* //MAIN SECTION// */

.section-heading-separator {
  display: flex;
  justify-content: center;
  position: relative;
  margin-bottom: 0.2em;
}

.section-heading-separator fieldset h2 {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;
  text-transform: uppercase;
  text-align: center;
}
.section-heading-separator .sub-title {
  font-size: 2.2em;
  font-family: "Times New Roman", Times, serif;
  line-height: 1.2;
  color: black;
  background-color: white;
  position: relative;
  z-index: 1;
}

.section-heading-separator fieldset {
  width: 100%;
  text-align: center;
  border-left: none;
  border-right: none;
  border-bottom: none;
  margin-top: 3%;
  letter-spacing: 5px;
  color: red;
}

.sub-title {
  margin: 20px 20px;
  text-align: center;
  font-size: bold;
}

.first {
  border-bottom: 2px solid rgb(226, 217, 217);
}

.left-section,
.right-section {
  /* width: 25%; */
}

.middle-section {
  /* width: 45%; */
  border-left: 2px solid rgb(226, 217, 217);
  border-right: 2px solid rgb(226, 217, 217);
  margin-top: 10px;
  padding-left: 50px;
  padding-right: 50px;
}

.middle img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: 15px;
}

.middle {
  padding-left: 5px;
  padding-right: 5px;
  margin-top: 10px;
}

.middle-title {
  font-size: 24px;
  text-align: center;
}

.right img,
.left img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  border-radius: 15px;
}

.news-headlines {
  display: flex;
  justify-content: space-evenly;
  gap: 100px;
  border-bottom: 1px solid rgb(226, 217, 217);
  margin-left: 25px;
  margin-right: 25px;
  padding-bottom: 50px;
}
.container-wrapper {
  display: flex;
  justify-content: center;
  /* align-items: center; */
  gap: 20px;
  margin-top: 2rem;
}

a {
  text-decoration: none;
  color: black;
}

.other-news-container {
  display: flex;
  flex-direction: column;
  gap: 100px;
  justify-content: space-between;
  margin-top: 5rem;
}

.div-wrapper {
  width: 15%;
}

.div-wrapper img {
  width: 100%;
  height: 150px;
  border-radius: 10px;
}

.div-wrapper p {
  width: 98%;
  margin-left: 5px;
  margin-top: 2.5px;
}

.other-news-row {
  /* width: 100%; */
  display: flex;
  justify-content: space-around;
  /* align-items: center; */
}

/* RESPONSIVE SECTION */
@media (max-width: 750px) {
  .news-headlines {
    flex-direction: column;
  }
  .left-section,
  .middle-section,
  .right-section {
    width: 90%;
    margin: 0 auto;
  }
  .right img,
  .left img {
    width: 100%;
    height: auto;
  }
  .middle img {
    height: auto;
  }
  .div-wrapper img {
    width: 100%;
    height: auto;
  }
  .middle-section {
    margin: 0px 0px 0px 0px;
    border-left: none;
    border-right: none;
  }

  .middle {
    padding-left: 0px;
    padding-right: 0px;
  }
  .other-news-container {
    /* gap: 0; */
  }
  .other-news-row {
    flex-direction: column;
    /* gap: 0; */
  }
  .div-wrapper {
    width: 100%;
  }
}

/* //FOOTER// */
footer {
  background-color: black;
  padding-top: 1rem;
  margin-bottom: -2rem;
  margin-left: -0.45rem;
  margin-right: -0.45rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 1.5rem;
}

.footer-form {
  display: flex;
  width: 35%;
  justify-content: space-between;
}
.form-search-wrapper {
  width: 68%;
}
.search-button {
  width: 30%;
}
.footer-form a {
  display: inline-block;
  text-decoration: none;
  background-color: white;
  color: black;
  border: 2px solid white;
  border-radius: 5px;
  padding: 1rem 1.2rem 0.5rem 1.2rem;
  margin-left: 0.3rem;
  /* width: 60%; */
  text-align: center;
}
.footer-form a:hover {
  color: #31d35c;
}
.footer-form .search-input {
  padding: 1rem;
  background: black;
  color: white;
  border: 2px solid white;
  border-radius: 5px;
  width: 100%;
}

::placeholder {
  color: white;
  font-size: 1rem;
} /* Firefox */
form .search-input:focus {
  outline: none;
}
:-ms-input-placeholder {
  color: white;
} /* IE 10-11 */

.footer-middle-section {
  margin-top: 2rem;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
}
.footer-section {
  width: 20%;
  display: flex;
  flex-direction: column;
}

.footer-section a {
  text-decoration: none;
  color: white;
  margin-bottom: 0.2rem;
}
.footer-section a:hover {
  color: #31d35c;
}
.footer-subscribe-btn {
  border: 2px solid white;
  color: white;
  text-align: center;
  background-color: black;
  width: 100%;
  padding: 0.8rem 0;
  font-size: 1.1rem;
  border-radius: 5px;
  margin-top: 0.3rem;
}
.footer-subscribe-btn:hover {
  color: black;
  background-color: white;
  border: 2px solid black;
}
footer hr {
  margin: 1rem 0;
  height: 1.2px;
  background-color: white;
  border: none;
}
.footer-bottom-section {
  display: flex;
  justify-content: space-between;
  margin: 1.5rem 0 1.5rem 1.5rem;
}
.footer-bottom-link {
  flex-wrap: nowrap;
  width: 40%;
}
.footer-bottom-link a {
  text-decoration: none;
  color: white;
}
.footer-bottom-link a:hover {
  color: #31d35c;
}
.footer-bottom-link a:not(:last-child) {
  margin-right: 1.5rem;
}
.footer-bottom-section p {
  color: white;
  margin-left: 1.8rem;
}
.footer-social-links {
  width: 30%;
  margin-right: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-right: 2rem;
}
.footer-social-links a {
  text-decoration: none;
}
.footer-social-links a:hover {
  transform: scale(1.1);
}
.footer-social-links svg:hover {
  fill: #31d35c;
}
.footer-social-links p {
  margin-right: 0.5rem;
}
.footer-social-links a:not(:last-child) {
  margin-right: 0.5rem;
}
.footer-social-links svg {
  fill: white;
}
.footer-copyright {
  width: 90%;
  margin: 1rem auto 1rem auto;
}
.copyright {
  text-align: center;
  color: white;
  padding-bottom: 1rem;
  text-transform: uppercase;
  font-weight: 600;
}

@media (max-width: 750px) {
  header {
    position: sticky;
    top: 0px;
    left: 0px;
  }
  .header-logo {
    margin-left: -1.5rem;
  }
  .nav-toggle {
    display: block;
    position: absolute;
    cursor: pointer;
    margin-top: 0.4rem;
    margin-right: 1rem;
    right: 0;
  }
  nav svg {
    width: 1.3rem;
    fill: white;
  }
  .close,
  .nav-checkbox {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin: 0.1rem 0;
  }
  .nav-links {
    position: absolute;
    margin-top: 2.76rem;
    top: 20px;
    right: 0;
    width: 100%;
    z-index: 100;
  }

  li {
    display: none;
    padding: 0.2rem 1rem 0.2rem;
    font-size: 1.3rem;
  }
  .nav-checkbox:checked ~ .nav-links .nav-menu li {
    display: block;
  }
  .nav-checkbox:checked ~ label.nav-toggle .close {
    display: block;
  }
  .nav-checkbox:checked ~ label.nav-toggle .menu {
    display: none;
  }
  .nav-checkbox:checked ~ .nav-links .nav-menu {
    background: linear-gradient(to right, #2bb7da, #31d35c);
    opacity: 1.5;
    height: 55vh;
    padding-top: 2rem;
    border-radius: 3px;
  }
  .nav-call-to-action {
    display: none;
  }
  footer {
    font-size: 1rem;
  }
  .footer-form {
    margin-top: 0.5rem;
    width: 80%;
  }
  .footer-form a {
    margin-left: 0.3rem;
    padding: 0.8rem 0.95rem 0.8rem 0.95rem;
  }
  .form-search-wrapper {
    width: 80%;
  }
  .search-button {
    width: 18%;
  }
  .foter-form .search-input {
    padding: 0.8rem;
  }
  .footer-top {
    flex-direction: column;
  }

  .footer-middle-section {
    flex-wrap: wrap;
    font-size: 1rem;
  }
  .footer-section {
    margin-left: 1rem;
    width: 32%;
  }
  .footer-section:nth-child(3) {
    margin-top: 0.8rem;
  }

  .footer-section:last-child {
    margin-top: 0.8rem;
  }
  .footer-section .subscribe-btn {
    display: inline-block;
    padding: 0.4rem 2rem 0.4rem 2rem;
  }
  .footer-bottom-section {
    text-align: center;
  }
  .footer-bottom-section p {
    margin-left: 0;
  }
  .footer-bottom-section {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-bottom-link {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 1.5rem;
  }
  .footer-social-links {
    width: 55%;
    margin: 0 auto;
  }
  .social-link {
    display: flex;
    justify-content: center;
  }
  .copyright {
    font-weight: 700;
    /* line-height: 1.4; */
    font-size: 0.8rem;
  }
}
@media (max-width: 350px) {
  /*For very small devices*/
  .footer-middle-section {
    justify-content: center;
  }
  .footer-section {
    width: 90%;
    margin: 0 auto;
  }
  .footer-bottom-section {
    flex-direction: column;
    justify-content: center;
  }
  .footer-bottom-link {
    flex-direction: row;
    width: 70%;
  }
  .footer-social-links {
    width: 90%;
    margin-top: 1rem;
  }
}
