* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Roboto", "helvetica", sans-serif;
  text-decoration: none;
  font-size: 16px;
}

body {
  width: 100%;
  height: 100vh;
  background-color: rgb(255, 255, 255);
}

/*nav starts here*/
nav {
  width: 100%;
  height: 100px;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  right: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 8%;
  padding-right: 8%;
}
.logo img {
  max-width: 90px;
  height: auto;
}
ul li {
  display: inline-block;
  margin-left: 50px;
  font-size: 1rem;
  font-weight: 500;
}
ul li a {
  color: black;
}
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
}

nav label {
  display: none;
}
nav label i {
  color: black;
  cursor: pointer;
  font-size: 1.5rem;
}

/*nav ends here*/
.main-heading {
  text-align: center;
  margin-top: 150px;
}
.main-heading h1 {
  color: black;
  font-size: 2rem;
  font-weight: 700;
}
.exhibit-section {
  margin: 50px 8% 50px 8%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(5, 1fr);
  grid-template-areas:
    "box1 box1 box2"
    "box4 box3 box3"
    "box5 box5 box6"
    "box8 box7 box7"
    "box9 box9 box10";
  grid-gap: 25px;
  height: auto;
}
.exhibit-text {
  background-color: #d4e6f7;
  color: rgb(0, 0, 0);
  padding: 50px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.exhibit-text h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #000000;
}
.exhibit-text p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}
.box1 {
  background: url("../images/cosmology.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  grid-area: box1;
}
.box2 {
  grid-area: box2;
}
.box3 {
  background: url("../images/evolution-2.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  grid-area: box3;
}
.box4 {
  grid-area: box4;
}
.box5 {
  background: url("../images/biology-medicine.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  grid-area: box5;
}
.box6 {
  grid-area: box6;
}
.box7 {
  background: url("../images/robotic.jpg");
  background-position: 70% 30%;
  background-size: cover;
  background-repeat: no-repeat;
  grid-area: box7;
}
.box8 {
  grid-area: box8;
}
.box9 {
  background: url("../images/ecology.jpg");
  background-position: 50% 80%;
  background-size: cover;
  background-repeat: no-repeat;
  grid-area: box9;
}
.box10 {
  grid-area: box10;
}
/*footer starts here*/
.footer-section {
  width: 100%;
  background-color: #de0202;
  height: 305px;
  align-content: center;
}
.footer-inner-section {
  display: flex;
  justify-content: space-between;
  margin-left: 8%;
  margin-right: 8%;
}
.footer-section-1 {
  display: flex;
  flex-direction: column;
}

.footer-section-1 a {
  color: white;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 400;
  margin-bottom: 12px;
}
.footer-section-1 p {
  color: white;
  font-size: 0.9375rem;
  font-weight: 400;
  margin-bottom: 12px;
}
.footer-section-2 a {
  color: white;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 400;
  margin-bottom: 12px;
}
.footer-section-2 p {
  color: white;
  font-size: 0.9375rem;
  font-weight: 400;
  margin-bottom: 12px;
}
.footer-section-2 {
  display: flex;
  flex-direction: column;
}
.email-form h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
}
#footer-email {
  width: 300px;
  height: 40px;
  border: none;
  background-color: #fff;
  color: black;
  font-size: 0.875rem;
  font-weight: 500;
  padding-left: 15px;
  padding-top: 25px;
  padding-bottom: 25px;
  margin-bottom: 12px;
}
#footer-email-btn {
  border: none;
  padding: 18px 35px;
  background-color: black;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
}
.social-div {
  display: flex;
  align-items: center;
  justify-content: left;
}
.social-media h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
}
.social-media a {
  height: 32px;
  width: 32px;
  background-color: #fff;
  border-radius: 50%;
  margin-right: 20px;
  text-align: center;

  line-height: 32px;
  color: #ec0000;
}
.social-media a i {
  transition: all 0.3s linear;
}
.social-media a:hover i {
  transform: scale(1.2);
}
/*footer ends here*/
@media only screen and (max-width: 1200px) {
  .main-heading h1 {
    color: black;
    font-size: 1.75rem;
    font-weight: 700;
  }
  .exhibit-section {
    margin: 50px 8% 50px 8%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, 1fr);
    grid-template-areas:
      "box1 box2"
      "box4 box3 "
      "box5 box6"
      "box8 box7"
      "box9 box10";
    grid-gap: 20px;
    height: auto;
  }
  .exhibit-text {
    padding: 30px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media only screen and (max-width: 1024px) {
  nav {
    width: 100%;
    height: 90px;
    padding-left: 7%;
    padding-right: 7%;
  }
  .logo img {
    max-width: 75px;
    height: auto;
  }
  ul li {
    font-size: 0.9375rem;
    margin-left: 40px;
  }
  nav label i {
    color: black;
    cursor: pointer;
    font-size: 1.5rem;
  }

  /*nav ends here*/
  .main-heading {
    margin-top: 130px;
  }
  .main-heading h1 {
    color: black;
    font-size: 1.625rem;
    font-weight: 700;
  }
  .exhibit-section {
    margin: 40px 7% 40px 7%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, 1fr);
    grid-template-areas:
      "box1 box2"
      "box4 box3 "
      "box5 box6"
      "box8 box7"
      "box9 box10";
    grid-gap: 20px;
    height: auto;
  }
  .exhibit-text {
    padding: 30px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .exhibit-text h2 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
  }
  .exhibit-text p {
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.6;
  }
  /*footer starts here*/
  .footer-section {
    width: 100%;
    background-color: #de0202;
    height: 280px;
    align-content: center;
  }
  .footer-inner-section {
    display: flex;
    justify-content: space-between;
    margin-left: 8%;
    margin-right: 8%;
  }
  .footer-section-1 {
    display: flex;
    flex-direction: column;
  }

  .footer-section-1 a {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 12px;
  }
  .footer-section-1 p {
    color: white;
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 12px;
  }
  .footer-section-2 a {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 12px;
  }
  .footer-section-2 p {
    color: white;
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 12px;
  }
  .footer-section-2 {
    display: flex;
    flex-direction: column;
  }
  .email-form h3 {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
  }
  #footer-email {
    width: 275px;
    height: 40px;
    border: none;
    background-color: #fff;
    color: black;
    font-size: 0.8125rem;
    font-weight: 500;
    padding-left: 15px;
    padding-top: 25px;
    padding-bottom: 25px;
    margin-bottom: 12px;
  }
  #footer-email-btn {
    padding: 18px 35px;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 500;
  }
  .social-media h3 {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  /*footer ends here*/
}
@media only screen and (max-width: 850px) {
  nav {
    width: 100%;
    height: 85px;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    right: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding-left: 7%;
    padding-right: 7%;
  }
  .logo img {
    max-width: 68px;
    height: auto;
  }
  ul {
    height: 60vh;
    width: 100%;
    background: #de0202;
    position: absolute;
    top: 85px;
    left: -100%;
    text-align: center;
    transition: all 0.5s;
  }

  ul li {
    margin-top: 50px;
    margin-left: 0;
    font-size: 0.9375rem;
    font-weight: 500;
    display: block;
  }
  ul li a {
    color: white;
  }
  nav label {
    display: block;
  }
  input[type="checkbox"]:checked ~ ul {
    left: 0;
  }

  /*nav ends here*/

  /*footer starts here*/
  .footer-section {
    width: 100%;
    background-color: #de0202;
    height: 280px;
    align-content: center;
  }
  .footer-inner-section {
    margin-left: 7%;
    margin-right: 7%;
  }
  .footer-section-2 {
    display: flex;
    flex-direction: column;
  }
  #footer-email {
    width: 200px;
    height: 40px;
    border: none;
    background-color: #fff;
    color: black;
    font-size: 0.8125rem;
    font-weight: 500;
    padding-left: 15px;
    padding-top: 22px;
    padding-bottom: 23px;
    margin-bottom: 12px;
  }
  #footer-email-btn {
    padding: 16px 25px;
  }

  /*footer ends here*/
}
@media only screen and (max-width: 800px) {
  .exhibit-section {
    margin: 30px 7%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1.5fr 1fr 1.5fr 1fr 1.5fr 1fr 1.5fr 1fr 1.5fr 1fr;
    grid-template-areas:
      "box1"
      "box2"
      "box3"
      "box4 "
      "box5"
      "box6"
      "box7"
      "box8"
      "box9"
      "box10";
    grid-gap: 20px;
    height: auto;
  }
}
@media only screen and (max-width: 768px) {
  nav {
    width: 100%;
    height: 85px;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    right: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding-left: 8%;
    padding-right: 8%;
  }
  .logo img {
    max-width: 68px;
    height: auto;
  }
  ul {
    height: 60vh;
    width: 100%;
    background: #de0202;
    position: absolute;
    top: 85px;
    left: -100%;
    text-align: center;
    transition: all 0.5s;
  }

  ul li {
    margin-top: 50px;

    margin-left: 0;
    font-size: 0.9375rem;
    font-weight: 500;
    display: block;
  }
  ul li a {
    color: white;
  }

  nav label {
    display: block;
  }
  input[type="checkbox"]:checked ~ ul {
    left: 0;
  }

  /*nav ends here*/
  .main-heading {
    text-align: center;
    margin-top: 100px;
  }
  .main-heading h1 {
    color: black;
    font-size: 1.25rem;
    font-weight: 700;
  }
  .exhibit-section {
    margin: 30px 7%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1.25fr 1fr 1.25fr 1fr 1.25fr 1fr 1.25fr 1fr 1.25fr 1fr;
    grid-template-areas:
      "box1"
      "box2"
      "box3"
      "box4 "
      "box5"
      "box6"
      "box7"
      "box8"
      "box9"
      "box10";
    grid-gap: 20px;
    height: auto;
  }

  /*footer starts here*/
  .footer-section {
    width: 100%;
    background-color: #de0202;
    height: 260px;
    align-content: center;
  }
  .footer-inner-section {
    display: flex;
    justify-content: space-between;
    margin-left: 7%;
    margin-right: 7%;
  }
  .footer-section-1 {
    display: flex;
    flex-direction: column;
  }

  .footer-section-1 a {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 12px;
  }
  .footer-section-1 p {
    color: white;
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 12px;
  }
  .footer-section-2 a {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 12px;
  }
  .footer-section-2 p {
    color: white;
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 12px;
  }
  .footer-section-2 {
    display: flex;
    flex-direction: column;
  }
  .email-form h3 {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
  }
  #footer-email {
    width: 180px;
    height: 40px;
    border: none;
    background-color: #fff;
    color: black;
    font-size: 0.8125rem;
    font-weight: 500;
    padding-left: 15px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 12px;
  }
  #footer-email-btn {
    border: none;
    padding: 14px 18px;
    background-color: black;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 500;
  }
  .social-div {
    display: flex;
    align-items: center;
    justify-content: left;
  }
  .social-media h3 {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
  }
  .social-media a {
    height: 30px;
    width: 30px;
    background-color: #fff;
    border-radius: 50%;
    margin-right: 20px;
    text-align: center;
    line-height: 32px;
    color: #ec0000;
  }
  .social-media a i {
    transition: all 0.3s linear;
  }
  .social-media a:hover i {
    transform: scale(1.2);
  }
  /*footer ends here*/
}
@media only screen and (max-width: 600px) {
  .exhibit-section {
    margin: 30px 7%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-areas:
      "box1"
      "box2"
      "box3"
      "box4 "
      "box5"
      "box6"
      "box7"
      "box8"
      "box9"
      "box10";
    grid-gap: 20px;
    height: auto;
  }
  .footer-section {
    width: 100%;
    background-color: #de0202;
    height: 80vh;
    align-content: center;
  }
  .footer-inner-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 0%;
    margin-right: 0%;
    text-align: center;
  }
  .footer-section-1 {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
  }

  .footer-section-1 a {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 12px;
  }
  .footer-section-1 p {
    color: white;
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 12px;
  }
  .footer-section-2 a {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 12px;
  }
  .footer-section-2 p {
    color: white;
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 12px;
  }
  .footer-section-2 {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
  }
  .email-form h3 {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
  }
  #footer-email {
    width: 180px;
    height: 40px;
    border: none;
    background-color: #fff;
    color: black;
    font-size: 0.8125rem;
    font-weight: 500;
    padding-left: 15px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 12px;
  }
  #footer-email-btn {
    border: none;
    padding: 14px 18px;
    background-color: black;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 20px;
  }
  .social-div {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .social-media h3 {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
  }
  .social-media a {
    height: 30px;
    width: 30px;
    background-color: #fff;
    border-radius: 50%;
    margin-right: 20px;
    text-align: center;

    line-height: 32px;
    color: #ec0000;
  }
  .social-media a i {
    transition: all 0.3s linear;
  }
  .social-media a:hover i {
    transform: scale(1.2);
  }
  /*footer ends here*/
}
@media only screen and (max-width: 400px) {
  .main-heading {
    text-align: center;
    margin-top: 90px;
  }
  .main-heading h1 {
    color: black;
    font-size: 1.125rem;
    font-weight: 700;
  }
  .exhibit-section {
    margin: 30px 7%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 0.75fr 0.5fr 0.75fr 0.5fr 0.75fr 1fr 0.75fr 0.5fr 0.75fr 0.5fr;
    grid-template-areas:
      "box1"
      "box2"
      "box3"
      "box4 "
      "box5"
      "box6"
      "box7"
      "box8"
      "box9"
      "box10";
    grid-gap: 30px;
    height: auto;
  }
  .box9 {
    background: url("../images/ecology.jpg");
    background-position: 00% 80%;
    background-size: cover;
    background-repeat: no-repeat;
    grid-area: box9;
  }
  /*footer starts here*/
  .footer-section {
    width: 100%;
    background-color: #de0202;
    height: 80vh;
    align-content: center;
  }
  .footer-inner-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 0%;
    margin-right: 0%;
    text-align: center;
  }
  .footer-section-1 {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
  }

  .footer-section-1 a {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 12px;
  }
  .footer-section-1 p {
    color: white;
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 12px;
  }
  .footer-section-2 a {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 12px;
  }
  .footer-section-2 p {
    color: white;
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 12px;
  }
  .footer-section-2 {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
  }
  .email-form h3 {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
  }
  #footer-email {
    width: 180px;
    height: 40px;
    border: none;
    background-color: #fff;
    color: black;
    font-size: 0.8125rem;
    font-weight: 500;
    padding-left: 15px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 12px;
  }
  #footer-email-btn {
    border: none;
    padding: 14px 18px;
    background-color: black;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 20px;
  }
  .social-div {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .social-media h3 {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 12px;
  }
  .social-media a {
    height: 30px;
    width: 30px;
    background-color: #fff;
    border-radius: 50%;
    margin-right: 20px;
    text-align: center;

    line-height: 32px;
    color: #ec0000;
  }
  .social-media a i {
    transition: all 0.3s linear;
  }
  .social-media a:hover i {
    transform: scale(1.2);
  }
  /*footer ends here*/
}
