header {
    color:white;
    text-align: center;
    font-family: sans-serif;
    font-size:x-large;
}
body {
  background:url(../images/blue-back.jpeg) center center / cover no-repeat fixed;

}
h1 {
    font-family: fantasy;
    font-size:36px;
    color:white;
   
}
h2 {
    font-family: fantasy;
    font-size:22px;
    color:white;
    margin-top:10px;
}
h3 {
    color:rgb(15, 14, 14);
    font-family:fantasy;
    font-size:28px;
    text-align:center;   
}

#h3why {

    font-family: fantasy;
    color:rgb(13, 13, 13);
    
}
h4{
    font-family:eb garamond;
    font-family:cursive;
    text-align:center;
    font-size: xx-large;
}

.text-center {
    text-align: center;
}


.navbar ul {
    background-color:rgb(173, 114, 166);
    list-style-type: none;
    flex-direction: row;
    justify-content: space-between;
    display:flex;
    align-items: center;
    height:30px;
    padding:1em;
    margin: 0;
    font-size: 14px;
}
/*navbar styling*/

.navbar a {
    color:rgb(251, 251, 251);
    text-decoration:none;
    display:inline-block;
    text-align:center;
    padding:15px;
    position:relative;
    font-family: calibri;
   
   
}
.navbar a:hover {
background-color: rgb(173, 114, 166);
}

/*homepage styling*/

.imgHeader {
    background-image:url(../images/lisbackground.jpeg); 
    height:330px;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-blend-mode:normal;
    padding-top:10px;
  
}
.whyLisbon p {
  font-size: 16px;
  text-align: center;
}

.alfamaContainer,
.bairroContainer,
.belemContainer,
.baixaContainer,
.chiadoContainer,
.benContainer,
.fadoContainer,
.belContainer,
.jerContainer,
.gloriaContainer,
.pasteisContainer,
.timeContainer,
.mercadoContainer,
.tapasContainer,
.wineContainer {
  margin: 10px auto;
  width: 90%;
  text-align: center;
}

.alfamaContent,
.bairroContent,
.belemContent,
.baixaContent,
.chiadoContent,
.benContent,
.fadoContent,
.belContent,
.jerContent,
.gloriaContent,
.pasteisContent,
.timeContent,
.mercadoContent,
.tapasContent,
.wineContent {
  display: flex;
  flex-direction: column;
}

.alfamaImage img,
.bairroImage img,
.belemImage img,
.baixaImage img,
.chiadoImage img,
.benImage img,
.fadoImage img,
.belImage img,
.jerImage img,
.gloriaImage img,
.pasteisImage img,
.timeImage img,
.mercadoImage img,
.tapasImage img,
.wineImage img {
  width: 450px;
  height: 300px;
  border: 2px solid black;
  border-radius: 10px;
  margin-bottom: 15px;
}

.alfamaText p,
.bairroText p,
.belemText p,
.baixaText p,
.chiadoText p,
.benText p,
.fadoText p,
.belText p,
.jerText p,
.gloriaText p,
.pasteisText p,
.timeText p,
.mercadoText p,
.tapasText p,
.wineText p {
  font-size: 18px;
}

.h4 {
  font-size: 25px;
}
  
.seeHeader,
.tasteHeader,
.contactHeader {
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-blend-mode: normal;
    padding-top: 10px;
}

.seeHeader {
    background-image: url(../images/fado.jpeg);
    height: 310px;
    padding-bottom: 10px;
}

.tasteHeader {
    background-image: url(../images/Lisbon-Wine-Tapas-Best-Places.jpg);
    height: 150px;
    padding-top: 100px;
    padding-bottom: 100px;
}

.contactHeader {
    background-image: url(../images/contactheader.jpeg);
    height: 130px;
    padding-top: 100px;
    padding-bottom: 100px;
}

.galleryContainer {
  padding: 20px 5%;
  background-color: rgb(0, 0, 0);
}

.ul{
  list-style-type: none;
}
.imagegallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  
}
.imagegallery > li {
  flex-basis: 350px; 
  position: relative;
  cursor: pointer;
}
.imagegallery::after {
  flex-basis: 350px;
}
.imagegallery li img {
  object-fit: cover;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-radius: 5px;
}
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(57, 57, 57, 0.502);
  top: 0;
  left: 0;
  transform: scale(0);
  transition: all 0.2s 0.1s ease-in-out;
  color: #fff;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.imagegallery li:hover .overlay {
  transform: scale(1);
}


/*taste gallery */


/*footer styling*/

.footer { 
  display:flex;
  background-image: url(../images/footerimage.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode:normal;
  justify-content:space-evenly;
  color:white;
  flex-direction: row;
  padding:10px;
}
.footer h4 {
  font-size:22px;
}

.contactText {
  list-style-type:initial;
  font-size: 18px;
  color:white;
  margin:0;
  padding:0;
}
.followText {
  color:white;
  margin:0;
}
.followUs {
  margin-top:50px;
  padding:10px;
}
.footer i {
  color:white;
  margin:10px 10px;
}

/*contact page styling*/


.message-box {
  width:500px;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  background-color: white;
}
form {
  margin:35px;
}
.inputGroup {
  display:flex;
  flex-direction:column;
  justify-content: center;
  align-items: center;
  gap:10px;
  margin:auto;

}
.input-field {
  width:300px;
  height:40px;
  margin-top:20px;
  padding-left:10px;
  padding-right:10px;
  border: 2px solid black;
  border-radius:14px;
  outline:none;
}

.textarea-field {
  height:150px;
  padding-top:10px;
}
.btn {
  border-radius: 20px;
  margin-top: 18px;
  padding:10px;
  font-size: 12px;
  border:none;
  cursor:pointer;
  background-color:rgb(180, 213, 235);
  align-items: center;
  justify-content: center;
}

input:invalid, textarea:invalid {
  border: 2px solid rgb(205, 31, 31);
}

input:valid, textarea:valid {
  border: 2px solid rgb(5, 172, 5);
}



/*media queries*/
/*for screens 800px and down*/


@media screen and (max-width: 800px) {
  .contactText {
    font-size: 14px;
}

.footer h4 {
    font-size: 20px;
    }
}

    @media screen and (max-width: 600px) {
      .contactText {
          font-size: 12px;
      }
  
      .footer h4 {
          font-size: 18px;
      }
  }

 @media screen and (max-width:500px) {
  .imgHeader,
  .seeHeader,
  .tasteHeader,
  .contactHeader {
      display: none;
  }

  .navbar ul {
    top: -10px; 
    height:150px;
    width: 100%;
    max-width: 400px;
    margin-left: 25px; 
    padding-bottom: 50px;
    display: block;
    text-align: center;
    justify-content: flex-start;
    border-top: 20px;
    text-overflow: inherit;
    font-size: 12px;
  }
  
navbar li {
  justify-content: space-evenly;
  margin-top:15px;
}

ul.imagegallery {
  padding-right: 20px;
}

.galleryContainer {
    padding-right: 20px;
}
 
.contactText {
  font-size: 10px;
}

.footer h4 {
  font-size: 16px;
}

.alfamaContainer,
.bairroContainer,
.belemContainer,
.baixaContainer,
.chiadoContainer,
.benContainer,
.fadoContainer,
.belContainer,
.jerContainer,
.gloriaContainer,
.pasteisContainer,
.timeContainer,
.mercadoContainer,
.tapasContainer,
.wineContainer {
  width: 100%;
}

.alfamaImage img,
.bairroImage img,
.belemImage img,
.baixaImage img,
.chiadoImage img,
.benImage img,
.fadoImage img,
.belImage img,
.jerImage img,
.gloriaImage img,
.pasteisImage img,
.timeImage img,
.mercadoImage img,
.tapasImage img,
.wineImage img {
  width: 100%;
  height: auto;
}

.input-field {
  width: 100%;
}

.message-box {
  width: 100%;
}

.message-box form {
  margin: 0;
  padding: 10px;
}

.inputGroup {
  width: 100%;
}
}

@media screen and (max-width:475px) {
.navbar ul {
  top:0;
  left:0;
  width:80%;
  max-width:400px;
  display:block;
  text-align:center;
  justify-content: flex-start;
  border-top: 20px;
  text-overflow: inherit;
  margin-left: 25px;
  font-size: 12px;
  padding-bottom: 100px;
  margin-top: -10px;
 
}
.navbar li {
  justify-content: space-evenly;
  margin-top:15px;
 }
}
@media screen and (max-width:375px) {
  .navbar ul {
    top:0;
    left:0;
    width:80%;
    max-width:400px;
    display:block;
    text-align:center;
    justify-content: flex-start;
    border-top: 20px;
    text-overflow: inherit;
    font-size: 12px;
    padding-bottom: 100px;
    margin-top: -10px;
}

.navbar li {
  justify-content: space-evenly;
  margin-bottom: 15px;
 }
}