@import url("/resources/css/colors.css");

.modal {
    opacity: 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    width: 450px;
    z-index: 99;
    right: 0px;
    padding: 25px;
    border-radius: 5px;
    top: -300px;
    font-family: "Orbitron", sans-serif;
    color: var(--light-color);
    backdrop-filter: blur(10px) brightness(0.5);
    transition: all 0.8s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.form-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: auto;
}

.modal-h3 {
    margin-bottom: 0px;
}

.send-button {
    margin-top: 15px;
    border-radius: 5px;
    border: var(--light-color) 0px none;
    background-color: var(--light-color);
    color: var(--bg-color);
    font-family: "Orbitron", sans-serif;
    font-weight: 600;
    padding: 10px;
    transition: all 0.3s ease-in-out;
}



.send-button:hover {
    cursor: pointer;
    background-color: var(--highlight);
}



.close-modal-button {
    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 1.2rem;
    background-color: transparent;
    border: transparent;
    color: var(--light-color);
    transition: all 0.3s ease-in-out;
}
.close-modal-button:hover {
    cursor: pointer;
    rotate: 90deg;
}


.form-content input {
    font-family: "Nunito", sans-serif;
    margin-bottom: 7px;
    padding: 5px;
    border-radius: 5px;
    border-style: none;
}


.form-content textarea {
    font-family: "Nunito", sans-serif;
    padding: 5px;
    border-radius: 5px;
    border-style: none;
}



/* MODAL MENU */
.menu-modal {
    opacity: 0;
    width: 100vw;
    position: fixed;
    z-index: 99;
    left: 0px;
    padding: 5%;
    border-radius: 5px;
    top: -300px;
    font-family: "Orbitron", sans-serif;
    color: var(--light-color);
    backdrop-filter: blur(10px) brightness(0.5);
    transition: all 0.8s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.menu-modal a {
    -webkit-text-fill-color: var(--light-color);
    /* För att det ska se bra ut i iOS */
    text-decoration: none;
}

.navbar-link-modal-ul {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    gap: 25px;
}

.menu-modal li {
    list-style: none;
    font-size: 1.7rem;
}

a:visited {
    color: var(--light-color);
}