@media only screen and (min-width: 768px){
body {
    font-family: "poppins";
    font-size: 30px;
    color: #F2F2F2;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(45deg, #00c9ff, #92fe9d, #00c9ff, #6a11cb);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    min-height: 100vh;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

#birthday {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 12px;
    background: #f0f0f0;
    border-radius: 10px;
    outline: none;
    transition: background 0.3s ease;
}

#birthday::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #00C9FF;
    border: 2px solid #00C9FF;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

#birthday::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: #92FE9D;
    border-color: #92FE9D;
}

#birthday::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #00C9FF;
    border: 2px solid #00C9FF;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

#birthday::-moz-range-thumb:hover {
    transform: scale(1.2);
    background: #92FE9D;
    border-color: #92FE9D;
}

#ageValue {
    font-size: 1.2em;
    font-weight: bold;
    color: #08ffd2;
    margin-left: 10px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.bild {
    display: none;
    background-image: url("baby.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 30vw;
}

input[type="submit"] {
    background: linear-gradient(45deg, #00C9FF, #92FE9D);
    border: 2px solid #00C9FF;
    color: #fff;
    padding: 12px 30px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

input[type="submit"]:hover {
    background: linear-gradient(45deg, #85D7F0, #83FFAC);
    border-color: #ffffff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

input[type="submit"]:active {
    background: #00C9FF;
    transform: translateY(2px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.ruta {
    width: 100%;
    padding: 12px 20px;
    margin: 10px 0;
    border: 2px solid #00C9FF;
    border-radius: 10px;
    font-size: 16px;
    background-color: #f9f9f9;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.ruta:focus {
    border-color: #92FE9D;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    outline: none;
}

.ruta:invalid {
    border-color: #ff5c5c;
    background-color: #ffe6e6;
}

.input-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

form label {
    font-size: 1rem;
    color: #0fb;
    margin-bottom: 0.5em;
    display: block;
}

input[type="radio"] {
    appearance: none;
    background-color: #e0f7fa;
    margin: 0;
    font: inherit;
    color: #0fb;
    width: 1.5em;
    height: 1.5em;
    border: 0.15em solid #0fb;
    border-radius: 50%;
    display: grid;
    place-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

input[type="radio"]:checked::before {
    content: "";
    width: 0.75em;
    height: 0.75em;
    border-radius: 50%;
    background-color: #0fb;
}

input[type="radio"]:hover {
    transform: scale(1.1);
}

select {
    padding: 10px;
    background: linear-gradient(90deg, #0fb, #e0f7fa);
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    appearance: none;
    outline: none;
    cursor: pointer;
}

select:hover {
    background: linear-gradient(90deg, #0fb, #80deea);
}

select option {
    color: #333;
    background: #fff;
}

.language-container {
    margin-top: 1em;
}

.language-container label {
    display: flex;
    align-items: center;
    font-size: 40px;
    color: #333;
    margin-bottom: 0.5em;
}

.language-container select.language-level {
    padding: 5px;
    margin-left: 10px;
    background: linear-gradient(90deg, #0fb, #e0f7fa);
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    transition: background 0.3s ease;
    appearance: none;
    outline: none;
    cursor: pointer;
    font-size: 30px;
}

.language-container input[type="checkbox"] {
    margin-right: 10px;
}

.kunskaper {
    color: #e0f7fa;
    font-size: 50px;
}

.styled-textarea {
    width: 100%;
    max-width: 700px;
    padding: 10px;
    font-size: 1rem;
    color: rgb(0, 0, 0);
    background: linear-gradient(90deg, #e0f7fa, #c9f0f5);
    border: 2px solid #0fb;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    outline: none;
    resize: vertical;
    transition: all 0.3s ease;
    font-family: "Comic neue";
}

.styled-textarea:focus {
    background: #f0fbff;
    border-color: #0b9;
    box-shadow: 0px 4px 12px rgba(0, 191, 255, 0.3);
}

.welcome{
    text-align: center  ;
}

.white-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 80%;
    max-width: 600px;
    margin: 20px auto;
    color: #333;
}

}
















@media only screen and (max-width: 768px) {
    body {
        font-family: "poppins";
        font-size: 20px;
        color: #F2F2F2;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        background: linear-gradient(45deg, #00c9ff, #92fe9d, #00c9ff, #6a11cb);
        background-size: 400% 400%;
        animation: gradientAnimation 15s ease infinite;
        min-height: 100vh;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
    
    @keyframes gradientAnimation {
        0% {
            background-position: 0% 50%;
        }
        50% {
            background-position: 100% 50%;
        }
        100% {
            background-position: 0% 50%;
        }
    }
    
    #birthday {
        -webkit-appearance: none;
        appearance: none;
        width: 80vw;
        height: 12px;
        background: #f0f0f0;
        border-radius: 10px;
        outline: none;
        transition: background 0.3s ease;
        display: flex;
        justify-self: center;
        align-self: center;
    }
    
    #birthday::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 20px;
        height: 20px;
        background: #00C9FF;
        border: 2px solid #00C9FF;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, background 0.3s ease;
    }
    
    #birthday::-webkit-slider-thumb:hover {
        transform: scale(1.2);
        background: #92FE9D;
        border-color: #92FE9D;
    }
    
    #birthday::-moz-range-thumb {
        width: 20px;
        height: 20px;
        background: #00C9FF;
        border: 2px solid #00C9FF;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease, background 0.3s ease;
    }
    
    #birthday::-moz-range-thumb:hover {
        transform: scale(1.2);
        background: #92FE9D;
        border-color: #92FE9D;
    }
    
    #ageValue {
        font-size: 1.2em;
        font-weight: bold;
        color: #08ffd2;
        margin-left: 10px;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
    
    .bild {
        display: none;
        background-image: url("baby.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 30vw;
    }
    
    input[type="submit"] {
        background: linear-gradient(45deg, #00C9FF, #92FE9D);
        border: 2px solid #00C9FF;
        color: #fff;
        padding: 12px 30px;
        font-size: 1.1em;
        font-weight: 600;
        border-radius: 50px;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        transition: all 0.4s ease;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

        display: flex;
        justify-self: center;
        align-self: center;
    }
    
    input[type="submit"]:hover {
        background: linear-gradient(45deg, #85D7F0, #83FFAC);
        border-color: #ffffff;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    }
    
    input[type="submit"]:active {
        background: #00C9FF;
        transform: translateY(2px);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    }
    
    .ruta {
        width: 80vw%;
        padding: 12px 20px;
        margin: 10px 0;
        border: 2px solid #00C9FF;
        border-radius: 10px;
        font-size: 16px;
        background-color: #f9f9f9;
        color: #333;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    
    .ruta:focus {
        border-color: #92FE9D;
        background-color: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        outline: none;
    }
    
    .ruta:invalid {
        border-color: #ff5c5c;
        background-color: #ffe6e6;
    }
    
    .input-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
    
    form label {
        font-size: 1rem;
        color: #0fb;
        margin-bottom: 0.5em;
        display: block;
    }
    
    input[type="radio"] {
        appearance: none;
        background-color: #e0f7fa;
        margin: 0;
        font: inherit;
        color: #0fb;
        width: 1.5em;
        height: 1.5em;
        border: 0.15em solid #0fb;
        border-radius: 50%;
        display: grid;
        place-content: center;
        transition: background 0.2s ease, transform 0.2s ease;
    }
    
    input[type="radio"]:checked::before {
        content: "";
        width: 0.75em;
        height: 0.75em;
        border-radius: 50%;
        background-color: #0fb;
    }
    
    input[type="radio"]:hover {
        transform: scale(1.1);
    }
    
    select {
        padding: 10px;
        background: linear-gradient(90deg, #0fb, #e0f7fa);
        color: #fff;
        font-weight: bold;
        border: none;
        border-radius: 5px;
        transition: background 0.3s ease;
        appearance: none;
        outline: none;
        cursor: pointer;
    }
    
    select:hover {
        background: linear-gradient(90deg, #0fb, #80deea);
    }
    
    select option {
        color: #333;
        background: #fff;
    }
    
    .language-container {
        margin-top: 1em;
    }
    
    .language-container label {
        display: flex;
        align-items: center;
        font-size: 40px;
        color: #333;
        margin-bottom: 0.5em;
    }
    
    .language-container select.language-level {
        padding: 5px;
        margin-left: 10px;
        background: linear-gradient(90deg, #0fb, #e0f7fa);
        color: #fff;
        font-weight: bold;
        border: none;
        border-radius: 25px;
        transition: background 0.3s ease;
        appearance: none;
        outline: none;
        cursor: pointer;
        font-size: 30px;
    }
    
    .language-container input[type="checkbox"] {
        margin-right: 10px;
    }
    
    .kunskaper {
        color: #e0f7fa;
        font-size: 50px;
    }
    
    .styled-textarea {
        width: 100%;
        max-width: 700px;
        padding: 10px;
        font-size: 1rem;
        color: rgb(0, 0, 0);
        background: linear-gradient(90deg, #e0f7fa, #c9f0f5);
        border: 2px solid #0fb;
        border-radius: 8px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
        outline: none;
        resize: vertical;
        transition: all 0.3s ease;
        font-family: "Comic neue";
    }
    
    .styled-textarea:focus {
        background: #f0fbff;
        border-color: #0b9;
        box-shadow: 0px 4px 12px rgba(0, 191, 255, 0.3);
    }
    
    .welcome{
        text-align: center  ;
    }
    
    .white-box {
        background-color: #fff;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        width: 80%;
        max-width: 600px;
        margin: 20px auto;
        color: #333;
}

.gif{
    height: 10vh !important;
}
}