@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 18px;
    font-family: "Roboto", sans-serif;
}

body {
    max-width: 1100px;
    margin: auto;
    padding: 0 8%;
}

a {
    text-decoration: none;
    color: rgb(100, 100, 100);
}

h1,
h2,
h3,
h4 {
    max-width: 800px;
    text-align: center;
}

h1 {
    font-size: 35px;
}

h2 {
    font-size: 25px;
}

header {
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    transition: 0.15s;
    cursor: pointer;
    color: rgb(255, 255, 255);
}

.btn:hover {
    background: rgb(220, 220, 220);
}

input {
    padding: 10px;
    border: 1px solid rgb(220, 220, 220);
    border-radius: 10px;
    outline: none;
    background: rgb(240, 240, 240);
}

main {
    padding: 50px;
}

main,
form {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

form {
    max-width: 250px;
}

form input,
form button {
    width: 100%;
}

#logo {
    border-bottom: 4px solid rgb(0, 80, 255);
    font-size: 25px;
    font-weight: bold;
    font-style: italic;
    text-decoration: none;
    color: rgb(150, 150, 150);
}

#menu {
    display: flex;
    gap: 30px;
    list-style: none;
}

#hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.blue {
    background: rgb(0, 80, 255);
}

.red {
    background: rgb(255, 0, 0)
}

.yellow {
    background: rgb(255, 200, 0)
}

.green {
    background: rgb(0, 200, 0)
}

.hidden {
    display: none;
}

@media (max-width: 800px) {
    #hamburger {
        display: block;
    }

    #menu {
        position: absolute;
        top: 70px;
        right: 20px;
        background: white;
        flex-direction: column;
        width: 180px;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        display: none;
    }

    #menu.show {
        display: flex;
    }

    #menu li {
        margin: 10px 0;
    }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal {
    background: white;
    padding: 24px;
    border-radius: 8px;
    min-width: 320px;
}

.modal label {
    display: block;
    margin-bottom: 12px;
}

.modal input,
.modal textarea {
    width: 100%;
}

.hidden {
    display: none;
}