html {
    font-family: Inter;
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    background-color: #252B2F;
    margin: 0;
}

h2 {
    color: white;
    margin-top: 2rem;
}

nav {
    display: flex;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    gap: min(41px, 7vw);
    align-items: center;
    margin: 0;
    background-color: white;
    z-index: 3;
    height: clamp(55px, 10vh, 70px);
}

.nav-link {
    cursor: pointer;
}

.nav-link:hover {
    text-decoration: underline;
}

#nav-CTA {
    margin-right: 1%;
}

#menu {
    display: none;
    margin-right: 10px;
    width: 50px;
    height: 50px;
    background-image: url(/static/images/menu.png);
    background-size: 50px 50px;
    border: none;
    background-color: transparent;
}

.menu-rotate {
    animation: rotate 0.5s forwards;
}

.menu-rotate2 {
    animation: rotate2 0.5s forwards;
}

#nav-bar.nav-hide {
    display: none;
}

#nav-bar.nav-display {
    display: flex;
}

#nav-bar {
    display: none;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
    border-bottom: 1px solid black;
    background-color: white;
    z-index: 1;
}

#nav-bar-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: calc(100px + min(41px, 7vw) + 50px);
}

#logo {
    margin-right: auto;
    margin-left: 10px;
    height: auto;
    width: 100px;
    padding: 3px;
}
  
#logo:hover {
    cursor: pointer;
}

a {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.CTA {
    position: relative;
    /* background-image: linear-gradient(to right, rgba(115, 115, 115, 1), rgba(255, 106, 0, 0.63)); */
    /* color: white; */
    border-radius: 3px;
    border: none;
    width: 14rem;
    height: 2rem;
    font-size: 14px;
    font-weight: bold;
    z-index: 1;
    /* background-color: navy; */
    background-color: white;
    color: black;
    outline: 5px solid rgba(0, 0, 128, 0.2);
}

/* .CTA::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
    width: 100%;
    height: 100%;
    padding: 5px;
    background-color: rgba(0, 0, 128, 0.2);
    z-index: -1;
    display: none;
}

.CTA:hover::after {
    background-color: rgba(0, 0, 128, 0.5);
}

.CTA:active::after {
    background-color: rgba(0, 0, 128, 0);
} */

.CTA:hover {
    background-color: black;
    color: white;
}

.CTA:active {
    outline: 0;
}

button {
    cursor: pointer;
    touch-action: manipulation;
}

button:hover {
    filter: contrast(115%);
}

p {
    color: white;
}

#reviews {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid cornflowerblue;
    border-radius: 7px;
    width: min(500px, 80vw);
    margin: 0.5rem;
    background-color: white;
}

.stars {
    margin-top: 1em;
    color: grey;
}

.description {
    margin: 1em;
    /* color: silver; */
    color: #232b2b;
}

.line {
    position: relative;
    width: 90%;
    margin-top: 5px;
    background-color: lightgrey;
    height: 1px;
}

#message {
    display: none;
    color: white;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

#contact-h2 {
    color: black;
}

#contact-popup {
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: -5;
    display: flex;
    align-items: center;
    justify-content: center;
}

#contact-popup-inner {
    position: relative;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    padding: 15px 25px;
    text-align: center;
    width: 380px;
}

#contact-popup.open {
    opacity: 1;
    z-index: 5;
}

.close-popup {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    color: white;
    background-color: black;
}

.close-popup:active {
    background-color: white;
    color: black;
}

@keyframes rotate {
    from {transform: rotate(0deg);}
    to {transform: rotate(90deg)}
}

@keyframes rotate2 {
    from {transform: rotate(90deg);}
    to {transform: rotate(180deg);}
}

@media only screen and (max-width: 700px) {
    .back {
        margin: 1rem;
    }

    #form {
        flex-direction: column;
        align-items: start;
        left: 0px;
    }

    nav {
        justify-content: center;
    }

    .nav-link {
        display: none;
    }

    #nav-CTA {
        display: none;
    }

    #menu {
        display: inline;
        margin: 0;
    }

    #logo {
        margin: 0;
    }

    a {
        margin: 1rem;
        margin-left: 0;
    }
}