@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  color: #3c3c3c;
  font: 1rem/1.5 'Source Sans Pro', "Helvetica Neue", Helvetica, Arial,sans-serif;
  background-color: #f0f0f2;
}

h2 {
  text-transform: uppercase;
  color: #253b40;
  word-spacing: 2px;
  letter-spacing: 3px;
  padding-bottom: 5px;
}

.website-link:link,
.website-link:visited {
  color: #486b73;
  text-decoration: none;
  border-bottom: 1.5px dashed #486b73;
}

.website-link:hover {
  color: #7b9ae6;
  border-bottom: 1.5px dashed #7b9ae6;
}

/* Main header styles */

.main-header {
  color: rgba(255, 255, 255, 1);
  height: 1000px;
  padding-top: 180px;
  background: linear-gradient(to bottom, transparent, black 100%),
              url("../images/verity_wizytowka.jpg") no-repeat center;
  background-position-y: 10%;
  background-size: cover;
  text-align: center;
}

.main-header h1 {
  font-size: 5rem; /* 110px/16px  */
  color: rgba(255, 255, 255, 1);
  text-transform: uppercase;
  font-weight: normal;
  line-height: 1;
  margin-top: 160px;
  margin-bottom: 10px;
  letter-spacing: 15px;
  word-spacing: 13px;
}

.title {
  font-size: 2rem; /* 22px/16px */
  color: rgba(255, 255, 255, 1);
  text-transform: uppercase;
  font-weight: normal;
  letter-spacing: 8px;
  display: flex;
  justify-content: center;
  padding-bottom: 20px;
}

.title p {
  margin: 0 20px;
}

.cta {
  font-size: 1.2rem; /* 22px/16px */
  color: rgba(255, 255, 255, 1);
  font-weight: normal;
  word-spacing: 7px;
  padding-top: 20px;
  text-decoration: none;
}

.url-shop {
  font-size: 1.2rem; /* 22px/16px */
  color: rgba(255, 255, 255, 1);
  font-weight: normal;
  word-spacing: 7px;
  text-decoration: none;
}

.arrow {
  margin-top: 80px;
  width: 50px;
}

.arrow:hover {
  transform: scale(1.5);
}

/* Biography styles*/

#bio-section {
  margin: 0 auto;
  width: 65%;
  text-align: center;
  max-width: 1200px;
  padding-bottom: 25px;
}

.intro {
  font-size: 24px;
  line-height: 1.8;
  padding-top: 25px;
  padding-bottom: 25px;
  color: #787878;
  margin: 0 auto;
}

.intro:hover {
  color: #303030;
}

.biography {
  font-size: 1em;
  padding: 10px 30px;
  margin-bottom: 40px;
  color: #3c3c3c;
  display: flex;
}

.bio-image {
  margin-right: 15px;
  padding-bottom: 20px;
  flex: 1;
}

.bio-image img {
  width: 270px;
  max-width: 100%;
  margin-top: 30px;
  border-radius: 10px;
}

.quote {
  font-size: 17px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
  margin-top: 25px;
}

.quote-footer {
  color: #787878;
  padding-top: 10px;
  font-style: italic;
}

.bio-text {
  font-size: 1.125rem; /* 18px/16px */
  line-height: 1.7;
  padding: 0 25px;
  text-align: left;
  border-left: solid 3px #253b40;
  flex: 2;
}

.bio-text p {
  padding-bottom: 10px;
}

/* Image gallery */

#image-gallery {
  background-color: #d7d7d9;
  padding-top: 15px;
  padding-bottom: 40px;
}

.image-gallery-intro {
  max-width: 1075px;
  width: 75%;
  margin: 0 auto;
  padding-bottom: 10px;
  text-align: center;
}

.image-gallery-intro p {
  font-size: 1.25rem; /* 20px/16px */
  line-height: 1.8;
  padding-bottom: 25px;
  color: #303030;
}

.gallery-item-title {
    position: relative;
    display: flex;
    min-height: 4em;
    padding: 0.5em 0.25em;
    background: #00000080;
    backdrop-filter: blur(16px) saturate(120%);
    transition: .3s;
    color: #fff;
    z-index: 2;
    bottom: 0;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin: 0.5em;
    border-radius: 0.5em;
    text-wrap: pretty;
}

.gallery-item:hover .gallery-item-title {
    bottom: 5em;
}

.container {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  justify-content: center;
  max-width: 1300px;
}

.container img {
  margin: 0px;
  border-radius: 5px;
  box-shadow: 3px 3px 3px grey;
}

.container img:hover {
  opacity: 0.65;
  filter: alpha(opacity=50); /* For IE8 and earlier */
  transform: scale(1.02);
}

/* Main footer */

.main-footer {
  background-color: #253b40;
  height: auto;
  text-align: center;
  padding: 14px 2px;
  color: white;
}

.main-footer > p {
    margin: 10px 0;
}

/* Media Queries ----------------------------------*/

@media (max-width: 1024px) {
  .main-header {
    max-height: 800px;
  }

  .main-header h1 {
    font-size: 5rem; /* 80px/16px */
    margin-top: 120px;
  }

  .arrow {
    display: none;
  }

  #bio-section {
    width: 85%;
  }
}

@media (max-width: 768px) {
  .main-header {
    max-height: 620px;
  }

  .main-header h1 {
    margin-top: 70px;
    font-size: 4rem; /* 65px/16px */
  }

  .title,
  .cta {
    font-size: 2rem; /* 18px/16px */
  }



  .intro {
    font-size: 1.25rem; /* 20px/16px */
  }

  #bio-section {
    width: 95%;
  }

  .biography {
    flex-direction: column;
  }

  .bio-image {
    width: 100%;
  }

  .quote- {
    padding-bottom: 20px;
  }

  .bio-text {
    width: 100%;
  }

  .image-gallery-intro,
  .image-gallery-intro p {
    font-size: 1.125rem; /* 18px/16px */
    width: 95%;
  }
}

@media (max-width: 675px) {
  .main-header {
    background-position: 60%;
  }

  .title {
    flex-direction: column;
  }
}

@media (max-width: 500px) {
  .main-header {
    background-position: 70%;
  }

  .main-header h1 {
    margin-top: 200px;
    font-size: 2rem; /* 50px/16px */
  }

  .title {
    font-size: 1.2rem; /* 12px/16px */
  }

  .cta {
    font-size: 0.75rem; /* 12px/16px */
  }

  .intro {
    font-size: 1.125rem; /* 18px/16px */
    padding-left: 20px;
    padding-right: 20px;
  }

  .bio-image img {
    width: 250px;
  }

  #bio-section {
    width: 100%;
  }
  .gallery-item-title {
    bottom: 5em;
    font-size: 1.2rem;
  }
}

.fill {
  background: none;
  border: 2px solid;
  font: inherit;
  line-height: 1;
  margin: 0.5em;
  padding: 1em 2em;
  color: #fff;
  transition: 0.25s;
}


.fill:hover,
.fill:focus, .url-shop:hover, .url-shop:focus {
  border-color: #eee;
  background-color: #111;
}

/*

All grid code is placed in a 'supports' rule (feature query) at the bottom of the CSS (Line 77). 
        
The 'supports' rule will only run if your browser supports CSS grid.

Flexbox is used as a fallback so that browsers which don't support grid will still recieve an identical layout.

*/

.gallery {
  display: flex;
  flex-wrap: wrap;
}

.gallery-item {
  /* Minimum width of 24rem and grow to fit available space */
  flex: 1 0 18rem;
  /* Margin value should be half of grid-gap value as margins on flex items don't collapse */
  margin: 1rem;
  box-shadow: 0.3rem 0.4rem 0.4rem rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.gallery-image {
  display: block;
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  transition: transform 400ms ease-out;
}

.gallery-image:hover {
  transform: scale(1.15);
}

#consentDialog {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    opacity: 0.98;
    border-top: 1px solid #4b3e4b; /* subtle top border */
    padding: 15px 10px;
    text-align: center;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1); /* subtle shadow for depth */
    font-family: Arial, sans-serif; /* Change as per your website's font */
    color: ghostwhite;
}

/*Button One*/
#consentDialog button  {
  background: none;
  border: 1px solid;
  font: inherit;
  line-height: 1;
  margin: 0.25em 0.5em;
  padding: 0.8em 1em;
  color: #fff;
  transition: 0.25s;
  min-width: 100px;
}

#consentDialog button#denyConsent{
    border-color: lightgrey;
    color: lightgrey;
}

#consentDialog button:hover,
#consentDialog button:active{
  border-color: green;
  color: green;
}

#consentDialog button#denyConsent:hover,
#consentDialog button#denyConsent:active {
    border-color: red;
    color: red;
}

.consent-buttons {
    white-space: nowrap; /* Prevents line breaks inside this div */
    padding-top: 10px;
}

a.footer-link {
    text-decoration: none;
    color: white;
}

