@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&display=swap");

:root {
  --primary-color: #410403;
  --secondary-color: #e7c18a;
  --primary-font: "Noto sans", sans-serif;
  --secondary-font: "Playfair", sans-serif;
}

body {
  font-family: var(--primary-font);
  padding-top: 60px;

}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--secondary-font);
  font-style: italic;
  font-weight: 700;
  color: var(--primary-color);
}

h5 {
  font-weight: 800;
}
img {
  object-fit: cover;
}

article p {
    text-align: justify;
    /* to avoid big gaps between words */
    hyphens: auto;
    word-spacing: 0.02em;
    
    
}

/* navigation */
.navbar {
  background-color: var(--primary-color);
  border: var(--primary-color);
  font-family: var(--secondary-font);
  font-style: italic;
  font-weight: 600;
  font-size: x-large;
  letter-spacing: 0.2rem;
}
header {
  background-color: #ffff; /* your custom color */
  color: var(--primary-color);
  font-weight: 700;
}
.custom-card{
  background-color: 	#fff9e6
}
.dropdown-menu {
  background-color: var(--primary-color);
  border: var(--primary-color);
  font-size: 1.5rem;
}

.navbar-brand {
  font-weight: 600;
  font-size: x-large;
  letter-spacing: 0.2rem;
}

.dropdown-menu li {
  margin-bottom: 1.5rem;
}

/* to make sure screen scroll exacly at the title of article linked to a specific li */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}
:target {
  scroll-margin-top: 40px;
}

[id] {
  scroll-margin-top: 40px;
}

article {
  margin-bottom: 2.5rem;
  scroll-margin-top: 68px;
}
/* index page */
#hero {
  width: 100%;
  height: 37.5rem;
  background: url("../images/boccadesse.webp") no-repeat center center / cover;
  background-position: bottom center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#hero figure {
  max-width: 300px;
  margin: 0 auto;
  text-align: center;
}
.blockquote, .blockquote-footer {
  background-color: rgba(13, 6, 6, 0.5);
  font-size: large;
  font-weight: 600;
}
.objections {
  font-size: 1.2rem;
}

.lead {
  font-weight: 400;
}
/* directories */

.card-title  {
  font-weight: 800;
  font-size: 1.7rem;
  text-shadow: 2px 3px 6px black; 
}

#directories .card img {
  transition: 0.3s ease;
  filter: brightness(50%);
}

#directories .card:hover img {
  filter: brightness(30%); /* dims image */
}

.card:hover {
    transform: scale(1.05);
    transition: 0.3s ease-in-out;
    
}
/* destinations cards */
.card {
  box-shadow: 6px 6px 6px rgba(76, 73, 73, 0.5);
}

.venere .card-img-top,
.dublin .card-img-top,
.alhambra .card-img-top {
  min-height:240px;
  object-fit: cover;
}



/* buttons */
.custom-button-outline {
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  font-weight: 700;
}
.custom-button-outline:hover {
  border: 2px solid var(--primary-color);
  background-color: var(--secondary-color);
  transition: 0.3s ease-in-out;
}
.custom-button-filled {
  background-color: var(--primary-color);
  color: white;
  align-items: flex-end;
  font-weight: 700;
}

.custom-button-filled:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  transition: 0.3s ease-in-out;
}

/* ignite the wanderlust */
#intro img {
  max-height: 30rem;
}

.carousel-item img {
  height: 300px;
  object-fit: cover;
}

#tips ol li, #money ol li, #steps ol li{
  line-height: 2.5rem;
  font-weight: 700;
  color: rgb(85, 122, 245);
}
/* internal links */
#accommodation li, 
#flights li,
#activities li,
#Europe li,
#america li {
  line-height: 3rem;
  font-weight: 700;
  font-size: 1.3rem;
  list-style: none; 
}

a {
  text-decoration: none; 
} 
ul, 
ol {
  padding-left: 0;
}

ol li {
  margin-left: 20px;
}


/* ways to get cheap flight */
.search-engines a {
  text-decoration: none;
}

/* ways to find cheap accommodation */
#couchsurfing li {
  line-height: 2rem;
  font-weight: 500;
  margin-left: 1rem;
  
}

/* make the most of it */
#advice li {
  line-height:2rem;
  margin-left: 1rem;
}

/* europe and america*/

  
  #europe-ideas img,
  #europe-nature img,
  #get-around img
   {
  max-height: 30rem;
}
.spezia,
.usa {
  max-height:30rem;
}

#american-ideas img,
#roadtrip img {
  max-height: 30rem;
}


/* contact form */

form {
  padding: 1.5rem;
  background: #fff9e6;
  box-shadow: 0 0 5px 6px  rgba(76, 73, 73, 0.4);
  border-radius: 5px;
  position: relative;
}

.form-control:focus {
  border: 1px solid var(--primary-color);
  outline: 0 none;
  box-shadow: 0 0 0 3px  var(--secondary-color);
}
 
  input:hover, textarea:hover {
    border-color: var(--primary-color);
  }


/* footer */
footer {
  background-color: var(--primary-color);
}
#contact h2 {
  color: white;
}
#contact .custom-button-filled {
  background-color: var(--secondary-color);
  justify-self: center;
  color: var(--primary-color);
}
#contact .custom-button-filled:hover {
  border: 2px solid var(--secondary-color);
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

#contact h3 {
  color: white;
}
#socials {
  font-size: 1.8rem;
  
}

#socials i {
  margin-right: 4px;
  color: var(--secondary-color);
}

#socials i:hover {
    transform: scale(1.35);
    transition: 0.3s ease-in-out;
}

@media screen and (min-width: 768px) {
  #question {
    max-width: 15rem;
  }
 
}
 
  #money ol {
    line-height: 2rem;
  }
   

@media screen and (min-width: 992px) and (max-width:1199.9px){
  #money ol {
    line-height: 3rem;
  }
/* objection text */
  .objections{
      line-height: 2rem;
  }

  .alhambra .card-img-top {
  min-height:200px;
  object-fit: cover;
}
}

@media screen and (min-width: 1200px){
  .alhambra .card-img-top {
    min-height: 240px;
    object-fit: cover;
  }
}

@media screen and (min-width:1400px) {
  .alhambra .card-img-top {
    min-height: 280px;
    object-fit: cover;
  }
}
  



