/* General */
@font-face {
    font-family: Raleway;
    src: url("../fonts/Raleway-VariableFont_wght.ttf");
}

@font-face {
    font-family: Roboto;
    src: url("../fonts/Roboto-Regular.ttf")
}

@font-face {
    font-family: EmilysCandy;
    src: url("../fonts/EmilysCandy-Regular.ttf")
}

@font-face {
    font-family: Amatic-bold;
    src: url("../fonts/AmaticSC-Bold.ttf")
}

html {
  scroll-behavior: smooth;
}

* {
    font-family: Raleway;
}

.roboto {
    font-family: Roboto;
}

.emilyscandy {
    font-family: EmilysCandy;
}

.msmadi {
    font-family: MsMadi;
    font-weight: bold;
}

.charmonman {
    font-family: Charmonman-bold;
}

body, html {
    height: 100%;
}

p {
    line-height: 2;
}

/* Header */
.bgimg {
    min-height: 100%;
    background-position: center;
    background-size: cover;
    background-image: url("../images/background.jpeg");
    color: white;
}
.scroll {
    margin-bottom: 3rem;
}
.bounce {
    animation: bounce 2s infinite;
    transform: rotate(270deg);
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) rotate(270deg);
  }
  40% {
    transform: translateY(-30px) rotate(270deg);
  }
  60% {
    transform: translateY(-15px) rotate(270deg);
  }
}

/* Countdown */
.countdown-background {
    background-size: cover;
    background-position: center;
    background-image: url("../images/countdown-background.png");
    color: white;
}
.countdown-container {
    display: flex;
    width: 100%;
    max-width: 70%;
    justify-content: space-between;
  }
  
  .days-container,
  .hours-container,
  .minutes-container, 
  .seconds-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(0,0,0,0.1);
    border: 3px solid white;
    width: 100px;
    height: 100px;
    border-radius: 10px;
  }

  @media (max-width: 601px) {
    .days-container,
    .hours-container,
    .minutes-container, 
    .seconds-container {
        margin: 5px;
    }
  }
  
  .days,
  .hours,
  .minutes,
  .seconds {
    font-size: 3em; 
    margin: 0px 0;
  }
  
  
  .days-label,
  .hours-label,
  .minutes-label,
  .seconds-label {
    text-transform: uppercase;
    margin-bottom: 5px;
  }
  
  @media (max-width: 800px) {
    
    .countdown-container {
      max-width: 100%;
    }
    
    .days-container,
    .hours-container,
    .minutes-container, 
    .seconds-container {
      font-size: 0.7em;
      width: 100px;
      height: 100px;
    }
  }

/* About */
.invitatie {
    display: flex;
    flex-wrap: nowrap;
    /* margin-top: 2.5rem !important; */
    align-items: center;
}

.profile-img {
    max-width: 35% !important;
}

@media (min-width: 601px) {
    .invitatie {
        margin-left: 6rem;
    }
    .invitatie p {
        font-size: large;
    }
    .profile-img {
        width: 25%;
        margin-right: 2.5rem;
    }
}

@media (min-width: 992px) {
    .invitatie {
        margin-left: 10rem;
    }
    .invitatie p {
        font-size: larger;
    }
    .profile-img {
        width: 20%;
        margin-right: 2.5rem;
    }
}

/* Details */
#detalii a {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    /* background-color: rgb(185, 235, 69); */
}
@media (min-width: 601px) {
    #detalii img {
        margin-top: 1.8rem;
    }
}

/* RSVP */
textarea {
    resize: none;
}

.butoane {
    width: 70%;
}

@media (min-width: 601px) {
    .butoane {
        width: 30%;
    }
    .butoane-m {
        margin-right: 1rem;
    }
}

@media (min-width: 992px) {
    .butoane {
        width: 25%;
    }
    .butoane-m {
        margin-right: 1rem;
    }
}

footer {
    background-size: cover;
    background-position: center;
    background-image: url("../images/nightlife.jpg");
}