body {
    margin: 0;
}

* {
    box-sizing: border-box;
}

.topnav ul {
    list-style-type: none;
    overflow: hidden;
    padding: 0;
    margin: 0;
    width: 100%;
    background-color: #ffffff;
}

.topnav ul li {
    float: left;
    margin:  30px 10px 30px 50px;
}

.topnav ul li a {
    text-decoration: none;
    text-align: center;
    color: #000000;
    font-size: 25px;
    font-weight: bolder;

}

.topnav ul li a:hover {
    color: #04AA6D;
}

.topnavul li a:active {
    color: #04AA6D;
}

/*style the search bar*/
.search {
    margin: 30px 10px 30px 50px;
    float: left;
}

/*style the search bar*/
.topnav [type="search"] {
    outline: none;
    padding: 10px 5px;
    font-weight: bold;
    color: #000000;
    background: transparent;
    border: 2px solid #04AA6D;
    border-right: none;
    border-radius: 20px;
}

.topnav button {
    border: 2px solid #04AA6D;
    padding: 10px 20px 10px 20px;
    background-color: #04AA6D;
    font-family: verdana;
    font-weight: bold;
    border-radius: 20px;
    margin-left: -40px;

}

img {
    max-width: 100%;
    height: auto;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.head {
    text-align: center;
    padding: 20px;
    color: #ffffff;
    background-color: rgb(37, 135, 173);
    font-weight: bold;
}

.head h1 {
    font-family: verdana;
    font-size: 35px;
}

.main {
    width: 90%;
    margin: auto;
    background-color: #ddd;
    margin-top: 40px;
}

/* Add padding BETWEEN each column */
.row,
.row > .column {
  padding: 8px;
}

.row::after {
    content: "";
    display: table;
    clear: both;
}

.column {
    width: 33.3%;
    float: left;
    background-color: #f2f2f2;
    color: white;
}

.content {
    background-color: #ffffff;
    padding: 10px;
}

.content p {
    color: #000000;
}

.close-foot {
    background-color: #000000;
    padding: 20px;
    font-size: 20px;
    font-weight: bold;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 900px) {
    .column {
      width: 50%;
    }
  }
  
  /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 600px) {
    .column {
      width: 100%;
    }
  }

   .first {
    margin-bottom: 40px;
   }

  .first ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 50%;
    margin: auto;
    overflow: hidden;
  }


  .first ul li a{
    margin: 30px 20px;
    text-decoration: none;
    color: #ffffff;
    text-align: center;
  } 

  .first ul li {
    float: left;
  }

  .second ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 40%;
    margin: auto;
    overflow: hidden;
  }

  .second ul li {
    float: left;
  }

  .second ul li a{
    margin: 30px 30px;
    text-decoration: none;
    color: #ffffff;
    font-size: 30px;
    padding: 20px;
    text-align: center;
  } 

  

  @media screen and (max-width:600px){
    .first ul {
        display: block;
    }
  }

  

  @media screen and (max-width:600px){
    .second ul li {
        display: inline;
    }
  }

  .close-foot p {
    color: #ffffff;
    font-size: 30px;
    text-align: center;
  }

  footer {
    color: #ffffff;
    background-color: #000000;
    width: 100%;
    text-align: center;
    border-top: 5px solid #ffffff;
    padding: 10px;
  }