@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');

body{
    background-color: #494949;
    margin: 0;
    font-family: 'Source Code Pro', sans-serif;
    font-weight: 400;
}

.link {
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
    color: #ff9742;
}

.centered {
    text-align: center;
}

/* navbar */
nav{
    display: flex;
    align-items: center;
    height: 60px;
    background-color: #333;
    color: white;
    font-weight: 600;
}

.nav-bar-item {
    display: flex;
    color: white;
    text-decoration: none;
    height: 60px;
    align-items: center;
    justify-content: center;
    padding-left: 1%;
    padding-right: 1%;
}

.nav-bar-logo {
    display: flex;
    height: 35px;
}

.shift-right {
    margin-left: auto;
}

.nav-bar-item:hover {
    background-color: #ff9742;
}

.nav-bar-logo{
    display: flex;
    height: 35px;
}


/* modal */
.modal {
    background: #fff;
    border-radius: 12px;
    margin: 0;

    width: 480px;
    height: auto;
    min-height: 450px;
    box-sizing: border-box;

    box-shadow: 0 24px 60px rgba(0,0,0,0.18);
    animation: modalIn 0.22s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: none; }
}

.modal-background {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;

    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.modal-content{
    margin: 30px;
    padding: 0px;
}
.modal h2{
    margin: 0px;
}

.hidden {
    display: none;
}

/* form */

form {
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

form input{
    height: 40px;
    padding: 0 10px;
    border: 1.5px solid #ddd;
    border-radius: 7px;
    outline: none;
    transition: border-color 0.15s;
}

form label{
    margin-bottom: 5px;
    margin-top: 15px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #ff9742;
}

form button{
    margin-top: 30px;
    padding: 10px;
    background: #ff9742;
    color: #fff;
    border: none;
    border-radius: 7px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.02em;
    transition: background 0.15s, transform 0.1s;
}