body {
    background-image: url('img/header-background.jpg');
    font-family: 'Lato', sans-serif;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

header {
    background-size: cover;

    text-align: center;
    padding: 50px 20px;
    color: #505050;
    font-family: 'Great Vibes', cursive;
}

@media (max-width: 768px){ 
    header {
        display: none;
    }

 }
header h1 {
    font-size: 3em;
}


* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
    border: #c0c0c0 4px solid;
    border-radius: 10px;
  max-width: 600px;
  position: relative;
  margin: auto;
}

.slideshow-container img {
    border-radius: 5px;
}




/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  background-color: #33333388;
  font-size: 25px;
  padding: 1px 3px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
  font-family: 'Great Vibes', cursive;
}



/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1s;
}

@keyframes fade {
  from {opacity: .5}
  to {opacity: 1}
}

.countdown {
    font-size: 1.5em;
    margin: 20px 0;
}

.invitation, .livestream, .qr-codes {
    text-align: center;
    padding: 20px;
    font-family: 'Great Vibes', cursive;
}

.invitation h2, .livestream h2, .qr-codes h2 {
    font-family: 'Georgia', serif;
    font-size: 2em;
    font-family: 'Great Vibes', cursive;
}

.livestream iframe {
    border: #c0c0c0 4px solid;
    width: 80%;
    max-width: 560px;
    height: 315px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.qr-codes .qr-grid {
    text-align: center;
    display: grid;
    grid-template-columns: repeat(1, minmax(150px, 1fr));
    gap: 10px;
}


.qr-codes img {
    border: #c0c0c0 4px solid;
    border-radius: 10px;
    width: 100%;
    max-width: 150px;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
}

footer a {
    color: #ffd700;
    text-decoration: none;
}

/* RSVP button */
.rsvp {
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 20px 0;
}
#rsvpBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #616161;
    border-radius: 10px;
    color: white;
    border: none;
    cursor: pointer;
    font-family: 'Great Vibes', cursive;
    width: 50%;
    max-width: 480px;
}


#rsvpBtn:hover {
    background-color: #242424;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    
}

.overlay-content {
    background-color: rgb(209, 207, 207);
    padding: 20px;
    border-radius: 5px;
    width: 300px;
    text-align: center;
    font-family: 'Great Vibes', cursive;
}

/* Close button */
.close-btn {
    position: relative;
    top: -10px;
    right: -125px;
    font-size: 24px;
    cursor: pointer;
}

.close-btn:hover {
    color: red;
}

.textarea {
    width:90%;
    max-width:90%;
    max-height:30%;
    resize: none;
}
.fa {
    padding: 20px;
    font-size: 30px;
    width: 20px;
    text-align: center;
    text-decoration: none;
  }

#catinst{
    color:#ff00ea;
}

#daninst{
    color:#0066ff;
}