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

body {
    font-family: Martel, serif;
    font-weight: normal;
    font-style: normal;
    min-width: 375px;
    background-color: #000;
    color: #fff;
    min-height: 100dvh;
}

.container {
    max-width: 1360px;
    min-width: 375px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #fff;
}

.bold {
    font-weight: bold;
}

.title {
    font-size: 1.5rem;
}

.logo {
    font-size: 1.2rem;
}

.navbar-nav {
    align-items: center;
}

main {
    flex: 1;
}

/* background video */
.video-background {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    top: 0;
    z-index: -99;
    overflow: hidden;
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgb(79 0 79 / 25%);
    z-index: -99;
}

.video-background video {
    object-fit: cover;
    object-position: center;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -100;
    filter: grayscale(100%);
}

.content {
    position: relative;
    z-index: 100;
    margin-top: 56px;
}

/* footer */
.copyright {
    font-size: 0.6rem;
}

/* login page */
.field {
    border-radius: 5px;
    border: none;
    background-color: rgba(79 0 79 / 0.4);
}

.error-block {
    height: 2rem;
}

/* contact us */
.error {
    color: red;
    font-size: 0.9rem;
    margin-left: 1rem;
}

.form-check-input {
    width: 1.2rem;
    height: 1.2rem;
}

#message {
    height: 10rem;
}

#referralInfo {
    font-size: 0.85rem;
    margin-top: -0.7rem;
}

#referredError {
    margin-top: -1rem;
}


#professionalNameError {
    margin-top: -1rem;
}

#messageError {
    margin-top: -1rem;
}

.success-alert {
    position: fixed;
    top: 7rem;
    left: calc(50% - 10rem);
    width: 20rem;
    box-shadow: 0 4px 4px 0 #000;
}

@media (min-width: 576px) {
    .title {
        font-size: 2rem;
    }

    .copyright {
        font-size: 0.9rem;
    }

    .success-alert {
        top: 5rem;
        left: 2rem;
    }
}

@media (min-width: 768px) {
    .nav-link {
        padding: 0 !important;
    }

    #referralInfo {
        margin-top: 2px;
    }

    .success-alert {
        top: 5rem;
        left: 5rem;
    }
}