*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}
*::selection{
    background-color: orangered;
    color: white;
}
body {
    background-color: #eddede;
    overflow-x: hidden;
}

/* Fly-in animation */
@keyframes flyIn {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

nav {
    text-align: center;
    background-color: red;
    color: white;
    padding: 25px;
    font-size: 1.3rem;
    border-radius: 30px;
    width: 60%;
    max-width: 500px;
    min-width: 300px;
    margin: 20px auto;
    animation: flyIn 1s ease forwards;
}

label {
    border-radius: 22px 30px 0px 0px;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 5px 10px 5px 10px;
    background-color: gray;
    color: #fff;
    display: inline-block;
    animation: flyIn 0.8s ease forwards;
}

.container {
    border: 2px solid red;
    background-color: rgba(185, 6, 6, 0.144);
    width: 50vw;
    max-width: 600px;
    min-width: 300px;
    margin: auto;
    padding: 30px;
    border-radius: 30px;
    animation: flyIn 1s ease forwards;
    margin-bottom: 30px;
}

.section {
    border: 5px solid blue;
    border-radius: 30px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    animation: flyIn 1s ease forwards;
}

.location {
    border: 3px solid rgb(14, 5, 113);
    padding: 15px;
    border-radius: 30px;
    animation: flyIn 1s ease forwards;
}

.select, .input {
    width: 100%;
    padding: 12px;
    border-radius: 0px 30px 30px 30px;
    border: none;
    font-size: 1rem;
    background-color: #fff;
    color: #000;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 20px;
}


.input:hover, .select:hover {
    border: 2px solid red;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.input:focus, .select:focus {
    border: 3px solid blue;
    outline: none;
    box-shadow: 0 0 10px rgba(0,0,255,0.3);

    color: blue;
}

.butt {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

button {
    width: 20vw;
    max-width: 200px;
    padding: 10px 30px;
    border-radius: 20px;
    background: linear-gradient(135deg, red, blue);
    color: white;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive design */
@media (max-width: 1024px) {
    nav {
        width: 80%;
        font-size: 1.8rem;
    }

    .container {
        width: 70vw;
        padding: 20px;
    }

    button {
        width: 25vw;
    }
}

@media (max-width: 768px) {
    nav {
        width: 90%;
        font-size: 1.5rem;
        padding: 20px;
    }

    .container {
        width: 90vw;
        padding: 15px;
    }

    .section {
        gap: 15px;
    }

    .select, .input {
        font-size: 0.9rem;
        padding: 10px;
    }

    button {
        width: 35vw;
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    nav {
        font-size: 1.3rem;
        padding: 15px;
    }

    label {
        font-size: 1rem;
    }

    .container {
        width: 95vw;
        padding: 10px;
    }

    .select, .input {
        font-size: 0.85rem;
        padding: 8px;
    }

    button {
        width: 45vw;
        padding: 6px 15px;
        font-size: 0.85rem;
    }
}

.img{
    aspect-ratio: 1/1;
    width: 30px;
    
}
.edit{
    width: 100%;
    background-color: white;
    border-radius: 0px 30px 30px 30px;
    padding: 10px;
    
}
.inputs{
    color: white;
}
.edit:hover{
    border: 2px solid red;
    transition-duration: 0.3s;
}