body {
  font-family: "Century Gothic", CenturyGothic, Geneva, AppleGothic, sans-serif; 
  margin: 0; 
  padding: 0;
  background-color: lightskyblue
}

header {
  background-color: #333; 
  height: 50px; 
}


.mobile-nav {
	display: none;
}

nav ul {
  list-style: none; 
  margin: 0; 
  padding: 0; 
}

nav li {
  float: left;
}

nav a {
  display: block; 
  color: blue; 
  text-align: center; 
  padding: 14px 16px;
  text-decoration: none;
}

nav a:hover {
  background-color: white;
  color: black;
}

search input[type=text]{
        width:300px;
        height:25px;
        border-radius:25px;
        border: none;
    }
         
    search{
        float:right;
        margin:20px;
    }

search button{
        background-color: #0074D9;
        color: #f2f2f2;
        float: right;
        padding: 5px 10px;
        margin-right: 16px;
        font-size: 12px;
        border: none;
        cursor: pointer;
    }

::placeholder {
  color: #fff;
  opacity: 0.7;
}
.topnav input[type=text] {
  float: right;
  padding: 6px;
  border: none;
  margin-top: 8px;
  margin-right: 16px;
  font-size: 17px;
}

main {
  margin: 50px;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

h1 {
  font-size: 36px;
  text-align: center;
}

p {
  font-size: 18px; 
  line-height: 1.5;
  text-align: center;
}

.image-container {
  overflow: hidden;
  width: 100%;
  height: 0; 
  padding-bottom: 30%; 
  position: relative; 
}

.overlay-text {
  position: absolute;
  top: 50%; 
  left: 50%;
  transform: translate(-50%, -50%); 
  text-align: center; 
  color: #fff;
  font-size: 36px; 
  font-weight: bold;
  text-shadow: 2px 2px 2px rgba(0,0,0,0.8); 
  z-index: 2;
}


.image-container img {
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: auto; 
}

footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 0px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6%;
}

@media screen and (max-width: 768px) {
  header {
    height: 50px;
  }
  
  nav li {
    float: none;
    display: inline-block;
  }
  
  main {
    margin: 20px;
  }
  
  h1 {
    font-size: 28px;
  }
	
  p {
    font-size: 16px;
  }
  
}

@media screen and (max-width: 480px) {
	
	.main-nav {
		display: none;
	}
	.mobile-nav {
		display: block;
	}
	
	nav a {
		padding: 10px 12px;
	}
	
	main {
		margin: 10px;
	}
	
	h1 {
		font-size: 24px;
	}
	
	p {
		font-size: 12px;
	}
}
