html, body {
    height: 100%;
}

body {
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 10px;
}

main {
    flex: 1;
}

/* ____________________text___________________________*/

h1 {
    font-family: "Helvetica", serif;
    font-weight: 600;
    font-size: clamp(24px, 4vw, 35px);
}

h2 {
    font-family: "Helvetica", serif;
    font-weight: 400;
    font-size: clamp(20px, 4vw, 24px);
}

.h3 {
    text-decoration: none;
}

h3,
.menu-2 a,
.menu a,
.account a,
.footer a,
.foto-text label,
.dropdown,
.dropdown-content,
.h3,
.drop-btn,.input-felter,
.input-felter label,
.input-felter input,
button
{
    font-family: "Helvetica", serif;
    font-weight: 250;
    font-size: clamp(14px, 4vw, 18px);
}

.error-text{
    color: red;
    padding-bottom: 10px;
}

/* _______________________________________________*/
.account {
    flex-wrap: nowrap;
    display: flex;
    gap: 15px;
    list-style: none;
    margin-left: auto;
    white-space: nowrap;
    margin-right: 20px;
}

.account a {
    display: block;
    text-decoration: none;

}



/*_____________image and logo___________________  */

.logo-size {
    width: clamp(120px, 20%, 150px);
    height: auto;
}

.logo-place {
    left: 90px;
    display: flex;
}


.foto-size {
    height: auto;
    max-width: 450px;
    width: 100%;
}

.foto-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.foto-text label {
    margin-bottom: 10px;
}


/* _______________________________________________*/

.menu {
    text-align: center;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    justify-content: center;
    align-items: center;
    padding: 1%;
    max-width: 60%;
    margin: 0 auto;
    list-style: none;
    column-gap: 10px;
    z-index: 1;

}

.menu-2 {
    text-align: center;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    justify-content: center;
    align-items: center;
    padding: 1%;
    max-width: 30%;
    margin: 0 auto;
    list-style: none;
    column-gap: 10px;
    z-index: 1;
}
.menu-2 a{
    text-decoration: none;
}

/* _______________________________________________*/


.formular {
    width: 300px;
    margin: 20px auto;
    padding: 20px;
    background-color: #D5E4FB;
    border-radius: 10px;
    text-align: center;
    stroke: Black;
}

.formular h2 {
    margin-bottom: 30px;

}

.formular button {
    width: 100%;
    padding: 10px 0;
}

.input-felter {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.input-felter input {
    border-radius: 5px;
    width: 95%;
    align-items: center;
    padding: 5px;
    border: 1px solid #000000;
    appearance: auto;
}

.input-felter label {
    margin-right: auto;
}

.radio-felt {
    display: grid;
    grid-template-columns: 40px 20px;
    align-items: center;
    column-gap: 8px;
}

.radio-felt input {
    width: fit-content;
    text-align: center;
    align-items: center;
}
.radio-felt label{
    margin: 0;
    padding: 0;
    width: 40px;
    text-align: left;
}


/* _______________________________________________*/


.footer {
    position: relative;
    align-items: center;
    margin: 0 auto;
    list-style: none;
    bottom: 5vh;
    text-align: center;
}

.footer a {
    text-decoration: none;
}


/* __________________navigation____________________ */

.nav-down {
    padding-top: 12vh;
}
.nav-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}


/* ___________dropdown menu_____________*/

.dropdown {
    display: inline-block;
    margin-right: 100px;
    z-index: 1000;
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    z-index: 9999;
    background-color: #FFFFFF;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    text-align: left;

}

.dropdown-content a:hover {
    background-color: #D5E4FB;
}

.dropdown:hover .dropdown-content {
    display: block;
}


/* ______________tabel-design________________*/

.table-design {
    border-collapse: collapse;
    max-width: 1100px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    overflow-x: auto;
    background-color: #D5E4FB;
    border: 2px #000000;
}

table, th, td {
    border: 1px solid #000000;
    padding: 10px 20px;
}


/*_________button___________*/


button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FFFFFF;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-family: "Helvetica", serif;
    font-size: clamp(18px, 4vw, 20px);
}

button:hover {
    background-color: #154985;
    color: #FFFFFF;

}


/*_____________________mobil________________________*/
@media (max-width: 844px) {

    header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        text-align: center;
    }

    .account {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 8px;

        margin: 0;
        padding: 0;
    }

    .account a {
        display: block;
    }

    .logo-place {
        display: flex;
        justify-content: center;
        align-items: center;
    }


    .nav-down {
        padding-top: 5vh;
    }

    .table-design {
        max-width: 80%;
    }

    html, body {
        overflow-x: auto;
        height: 100%;
    }

}