@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville&display=swap");

/* Body */

* {
  box-sizing: border-box;
  overflow: auto;
}

body {
  font-family: "Libre Baskerville";
  margin: 0;
  /* min-height: 100%; */
}

/* Header */

header {
  width: 100%;
  background-color: #c2edce;
}

.header-text,
.footer-text {
  text-align: center;
  padding: 0 20px;
}

nav {
  text-align: center;
  background-color: #35787e;
  color: white;
}

/* nav ul {
  margin: 0;
} */

nav ul li {
  display: inline-block;
  margin-left: 2.5rem;
  margin-right: 2.5rem;
  /* padding: 1px 0; */
}

a {
  overflow: visible;
  text-decoration: none;
  color: black;
  /* padding: 1rem 0; */
  /* border-top: 1px solid black; */
}

nav a {
  color: white;
}

nav a:visited {
  color: white;
  text-decoration: none;
}

/* Main */

.grid-1 {
  display: grid;
  margin-top: 3rem;
  column-gap: 7%;
  grid-template-columns: 30% 30%;
  justify-content: center;
  /* width: fit-content; */
  /* align-items: center; */
  /* padding: 0 10rem; */
  /* grid-template-rows: 100%; */
}

.grid-1 h1 {
  color: #35787e;
}

.grid-1 img {
  width: 70%;
}

/* Footer */
footer {
  margin-top: 4rem;
  background-color: #c2edce;
}

/* Universal */

.theme-button {
  background-color: #c2edce;
  display: flex;
  font-size: 1rem;
  justify-content: space-around;
  color: #35787e;
  border: none;
  font-weight: bold;
  padding: 1rem 2.5rem;
  border-radius: 10px;
  cursor:pointer;
}

.text {
  color: #666666;
}

.theme-button i {
  margin-left: 10px;
}

.logo {
  font-size: 25px;
}

.active {
  font-size: 23px;
  font-weight: bold;
}

@media screen and (max-width: 1025px) {
  .grid-1 {
    grid-template-columns: 40% 40%;
  }

  .grid-1 img {
    width: 80%;
  }
}

@media screen and (max-width: 769px) {
  .grid-1 {
    grid-template-columns: 90%;
    row-gap: 50px;
  }

  .grid-1 img {
    width: 80%;
    margin: auto;
  }

  nav ul li {
    font-size: 16px !important;
  }

  .logo {
    font-size: 20px;
  }

  #row-2 {
    grid-row: 2 !important;
  }

  nav li {
    margin: 0 !important;
  }

  nav li:nth-child(2) {
    margin-left: 2rem !important;
  }
}
