html, body {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #333;
    scroll-behavior: smooth;
}

body {
    padding-top: 102px;
}

#detalii-invitat, #agenda {
    display: block;
    visibility: hidden;
    position: relative;
    top: -120px;
}

p, ul li {
    font-size: 1.2rem;
    line-height: 2rem;
}

.img-wrapper {
    position: initial;
}

.img-abs {
    position: absolute;
    width: calc(50% - var(--scroll-bar-width, 0%) / 2);
    height: 717px;
    left: 0;
    overflow: hidden;
}

.img-abs img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.button {
    color: #fff;
    border-radius: .3rem;
    background-color: #89bb49;
    padding: 1.7rem 2.2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    letter-spacing: .005em;
    transition: background-color .3s;
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 1rem 0;
}

.button:hover {
    color: #fff;
    text-decoration: none;
    background-color: rgba(137, 187, 73, 0.8);
}

.header-text .text1 {
    font-size: 1.2rem;
    padding-right: 10px;
    border-right: 1px solid white;
}

.header-text .text2 {
    margin-left: 10px;
    font-weight: bold;
    letter-spacing: 1.5px;
}

footer {
    background-color: #7bad3c;
    font-size: 1.2rem;
    color: white;
}

footer a {
    color: white;
}

footer address {
    margin-bottom: 0px;
}

footer hr {
    border-color: white;
}

footer a:hover {
    color: white;
}

.navbar {
    background-color: #7bad3c;
}

#register-form input, #register-form label {
    line-height: 2rem;
    font-size: 1.2rem;
}

#register-form label {
    font-weight: bold;
    padding-left: 5px;
}

#register-form .required:after {
    content: '*';
    color: #e70909;
    margin-left: 5px;
}

#register-form .optional:after {
    content: '(optional)';
    font-size: 12px;
    font-weight: 300;
    position: relative;
    top: -2px;
    left: 5px;
}

.note {
    font-size: 1rem;
    font-style: italic;
}

.note:before {
    content: '*';
    margin-right: 5px;
    color: #e70909;
}

.register a {
    color: #7bad3c;
}

.register a:hover {
    color: #7bad3c;
}

main {
    min-height: 55vh;
}

/** sm screen */
@media screen and (max-width: 767px) {
    body {
        padding-top: 155px;
    }

    .img-abs {
        width: 100%;
        position: relative;
    }
}

/** md screen */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .img-abs {
        width: 100%;
        position: relative;
    }
}


@media screen and (min-width: 768px) and (max-width: 844px) {
    body {
        padding-top: 127px;
    }
}

@media screen and (max-width: 640px) {
    body {
        padding-top: 201px;
    }
}
