/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
  min-height: 100%;
}
body {
    font-family: "Questrial"; 
  height: 100%;
  background: linear-gradient(to bottom right,#dbfebe, #75c1f0);
  color: #2e2e2e; 
}

/* Navbar styles */
.navbar {
  background-color:#ffffff;
    color:#91DCF2;
    padding: 10px 0; 
  overflow: hidden;
}

.dropdown {
  float: left;
  overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
  border: none;
  outline: none;
    color: #0076a8;
  font-size: 25px;
  padding: 20px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

.dropdown .dropbtn:hover{
    background-color: #dff9fb;
  transform: transitionY(-10px);
  transition: all ease 0.8s;
  border-radius: 15px;
}
/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}



.show {
  display: block;
}
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
  width: 250px;
}

.logoClass{
  margin-left: 0%;
}
.nav-links {
    list-style: none;
    display: flex;

}

.nav-links a:hover{
  background-color: #dff9fb;
  transform: transitionY(-10px);
  transition: all ease 0.8s;
  border-radius: 15px;
}
.nav-links li {
    margin-right: 20px;
    padding: 20px;
}

.nav-links li:last-child {
    margin-right: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #0076a8;
    font-weight: 500;
  font-size: 25px;
  font-family: "Questrial"; 
  padding: 20px;
}

/* Hamburger menu styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #91DCF2;
    margin: 3px 0;
}

/* Media query for responsive design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #ddf3ea;
        position: absolute;
        top: 90px;
        left: 0px;
        width: 100%;
        padding: 20px 0;
      padding-left: 20px;
        z-index: 1;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger-menu {
        display: flex;
    }
}


.title{
  text-align: center;
}



h1{
  font-size: 45px;
  margin-top: 5%;
  margin-left: 15%;
  margin-right: 15%;
}

.home-text{
  font-size: 28px;
  margin-top: 5%;
    margin-left: 15%;
  margin-right: 15%;
  margin-bottom: 20%;

}


/* scrolling pics */
 .factsBox{
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
  }

  li{
    text-align: left;
  }

  ul{
    align-items: center;
  }

  ul li {
  list-style-position: inside;
}

  img{
    width: 40%;
  }

  .tile{
    text-align: center;
    height: 60%;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
    margin-bottom: 5%;
    background-color: #f3eded;
    padding: 25px;
    position: relative;
    transform: translateX(150px);
    opacity: 0;
    transition: 2s all ease;
    font-size: 20px;
    color: #26a8e8;
    border-radius: 15px;
  }
  .tile.active {
    transform: translateX(0);
    opacity: 1;
    }

.tile img{
  margin: 15px;
  width: 50%;
  border-radius: 10px;
  border: solid 5px pink;
}
.button1{
  margin-left: auto;
  margin-right: auto;
  text-align: center;

}
/* button */
input{
  padding: 2%;
  margin-top: 3%;
  margin-bottom: 2%;
  border-radius: 15px;
  background-color: white;
  color:  #60c1e1;
  border: solid #8cdaee;
  font-family: "Questrial";
  font-size: 20px;
}

input:hover{
  background: linear-gradient(#b89eff,#60c1e1); 
  color: white;
  font-weight: bold;
  transform: translateY(-10px);
  transition: 0.5s all ease;
    border: solid #ffffff;
}