html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
  background-color: whitesmoke;
  display: grid;
  z-index: 1;
  overflow-x: hidden;
}
main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr 80px;
  background-color: whitesmoke;
  z-index: 2;
  width: 1800px;
  padding-top: 20px;
  justify-self: center;
}
article {
    display: block;
}

header {
padding-left: 10px;
grid-row: 1/2;
grid-column: 1/4;
display: grid;
grid-template-columns: 350px 1fr;
background-color: rgb(224, 224, 224);
width: 100%;
border: 3px rgb(28, 86, 148) solid;
z-index: 4;
position: fixed;
height: 75px;
}

.text {
  grid-column: 2/3;
  font-size: 20px;
  padding: 10px;
  width: 100%;
  margin: auto;
}

ul {
  display: flex;
  justify-content: space-around;
  text-align: center;
}

h2 {
  font-size: 30px;
  font-family: "agbalumo";
  padding-left: 10px;
}

.headtext {
  text-decoration: none; /* Remove the default underline */
  position: relative;
  color: black;
  transition: color 0.3s; /* Add a transition for smooth color change */
  font-family: "agbalumo";
  vertical-align: middle;
}

.headtext::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(28, 86, 148); /* Change this to your desired underline color */
  height: 2px; /* Adjust the underline height as needed */
  transform: scaleX(0); /* Initially, set the scale to zero to hide the underline */
  transform-origin: 50% 100%;
  transition: transform 0.3s ease; /* Add a transition for smooth animation */
}

.headtext:hover {
  color: #cf2917; /* Change the text color on hover if needed */
  cursor: pointer;
}

.headtext:hover::before {
  transform: scaleX(1); /* When hovering, scale the underline to 100% width */
}

#hotel {
  width: 100vw;
  height: 100vh;
  background-image: url(Images/BetterHouse.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  text-align: center;
}

h1 {
  color: aliceblue;
  font-family: "agbalumo";
  font-size: 70px;
  z-index: 3;
  text-align: center;

}

h3 {
  color: aliceblue;
  font-family: "agbalumo";
  font-size: 55px;
  z-index: 3;
  text-align: center;
}

#Logo {
  width: 35px;
  height: auto;
}

#title {
  display: flex;
  justify-content: space-around;
  padding-left: 5px;
  margin: auto;
  grid-column: 1/2;
}

#headline {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(28, 86, 148, 0.5);
  padding: 20px;
  width: auto;
}

i {
  font-size: 30px;
  background-color: white;
  border-radius: 50%;
}

#p1 {
  grid-column: 1/3;
  grid-row: 1/2;
  padding-right: 10px;
}

footer {
  grid-column: 1/5;
  grid-row: 4/5;
  line-height: 1.5;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  text-align: center;
}

h4 {
  font-size: 22px;
  font-family: 'Inter', sans-serif;
  color: rgb(28, 86, 148);
  font-weight: bold;
}

h5 {
  font-size: 20px;
  font-family: 'Inter', sans-serif;
  color: rgb(28, 86, 148);
}

hr {
  border-color: rgb(28, 86, 148);
}

p {
  font-size: 17px;
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  padding-bottom: 20px;
}

#pic1 {
  grid-column: 3/5;
  grid-row: 1/2;
  padding-left: 10px;
}

#welcome {
  width: 900px;
  height: auto;
}

#airbnb {
  color: rgb(28, 86, 148);
  font-size: 40px;
  text-decoration: none; /* Remove the default underline */
  position: relative;
  transition: color 0.3s; /* Add a transition for smooth color change */
  font-family: "agbalumo";
  vertical-align: middle;
}

#bnbair {
  display: flex;
  justify-content: center;
  padding-top: 50px;
}

#airbnb::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  background-color: rgb(28, 86, 148); /* Change this to your desired underline color */
  height:3px; /* Adjust the underline height as needed */
  transform: scaleX(0); /* Initially, set the scale to zero to hide the underline */
  transform-origin: 50% 100%;
  transition: transform 0.3s ease; /* Add a transition for smooth animation */
}

#airbnb:hover {
  color: #cf2917; /* Change the text color on hover if needed */
  cursor: pointer;
}

#airbnb:hover::before {
  transform: scaleX(1); /* When hovering, scale the underline to 100% width */
}

#p2 {
  grid-column: 1/5;
  grid-row: 2/3;
  padding-top: 20px;
}

#history {
  grid-column: 1/2;
  grid-row: 3/4;
  text-align: center;
  border: solid 3px rgb(28, 86, 148);
  padding: 10px;
  margin: 20px;
  height: 582.67px;
  background-image: url(Images/History.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
}

#attractions {
  grid-column: 2/3;
  grid-row: 3/4;
  text-align: center;
  border: solid 3px rgb(28, 86, 148);
  padding: 10px;
  margin: 20px;
  height: 582.67px;
  background-image: url(Images/Fishing.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
}

#photos {
  grid-column: 3/4;
  grid-row: 3/4;
  text-align: center;
  border: solid 3px rgb(28, 86, 148);
  padding: 10px;
  margin: 20px;
  height: 582.67px;
  background-image: url(Images/Photos.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
}

#contactus {
  grid-column: 4/5;
  grid-row: 3/4;
  text-align: center;
  border: solid 3px rgb(28, 86, 148);
  padding: 10px;
  margin: 20px;
  height: 582.67px;
  background-image: url(Images/Phone.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
}

#history2 {
  grid-column: 1/2;
  grid-row: 3/4;
  text-align: center;
  border: solid 3px rgb(28, 86, 148);
  padding: 10px;
  margin: 20px;
  height: 582.67px;
  background-image: url(Images/History.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  grid-row: 2/3;
}

#attractions2 {
  grid-column: 2/3;
  grid-row: 3/4;
  text-align: center;
  border: solid 3px rgb(28, 86, 148);
  padding: 10px;
  margin: 20px;
  height: 582.67px;
  background-image: url(Images/Fishing.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  grid-row: 2/3;
}

#photos2 {
  grid-column: 3/4;
  grid-row: 3/4;
  text-align: center;
  border: solid 3px rgb(28, 86, 148);
  padding: 10px;
  margin: 20px;
  height: 582.67px;
  background-image: url(Images/Photos.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  grid-row: 2/3;
}

#contactus2 {
  grid-column: 4/5;
  grid-row: 3/4;
  text-align: center;
  border: solid 3px rgb(28, 86, 148);
  padding: 10px;
  margin: 20px;
  height: 582.67px;
  background-image: url(Images/Phone.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  grid-row: 2/3;
}

.deck {
  text-decoration: none; /* Remove the default underline */
  position: relative;
  color: black;
  transition: transform 0.3s; /* Add a transition for smooth color change */
  font-family: "agbalumo";
  height: 100%;
}
.deck h4 {
  top: 50%;
  transform: translate(0, -50%);
  text-decoration: none; /* Remove the default underline */
  position: relative;
  color: black;
  transition: transform 0.3s; /* Add a transition for smooth color change */
  font-family: "agbalumo";
  font-size: 30px;
  background: rgba(255, 255, 255, 0.8);
  display: inline-flex;
  height: 30px;
  justify-content: center;
  align-items: center;
}


.deck:hover {
  color: #cf2917; /* Change the text color on hover if needed */
  cursor: pointer;
  transform: translateY(-10px);
}

.deck:hover h4{
  color: #cf2917; /* Change the text color on hover if needed */
  cursor: pointer;
  transform: translateY(-50px);
}

ol li {
  line-height: 2;
  list-style-type: circle;
  font-size: 17px;
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  padding-bottom: 20px;
}

#collage1 img {
  grid-column: 1/3;
  grid-row: 1/2;
  width: 900px;
  height: auto;
  margin: 20px;
  border: rgb(28, 86, 148) 3px solid;
}

#collage2 img {
  grid-column: 3/5;
  grid-row: 1/2;
  width: 900px;
  height: auto;
  margin: 20px;
  border: rgb(28, 86, 148) 3px solid;
}

#contact {
grid-column: 1/5;
  grid-row: 1/2;
}

input {
  width: 100%;
  font-size: 20px;
  padding: 10px;
  border-radius: 60px;
  margin: 15px auto;
  border: 2px solid black;
}

textarea {
  width: 100%;
  font-size: 20px;
  margin: 15px auto;
  border-radius: 25px;
  border: 2px solid black;
  padding: 15px 10px 10px 10px;
}

textarea, text {
text-indent: 15px;
}

.input, text {
text-indent: 7px;
}

label {
  font-family: Arial, Helvetica, sans-serif;
}

form {
  text-align: center;
  margin: 100px 10px 0;
  padding: 10px 10px 15px 10px;
}

#button {
  background-color: rgb(28, 86, 148);
  color: white;
  text-shadow: 0 0 3px #000000, 0 0 5px #000000;
  border-radius: 50px;
  width: 100%;
}

span {
  color: rgb(255, 0, 0);
  font-weight: bold;
}

#address {
  display: none;
}