html {
    background-color: #FFF4FB;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

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

.header {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    width: 100%;
    padding: 10px 2%;
    position: relative;

}

main {
    flex: 1;
}

/* _______________ logo__________________  */

.logoplace{
    justify-content: center;
    display: flex;
}

.logoplace a:hover {
    opacity: 0.7;
}

.logoSize {
    width: clamp(160px, 23%, 260px);
    height: auto;
}
/* ________________ text __________________  */

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

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

.input-group input,
.input-group select,
.input-group label,
.input-group-admin input,
.input-group-admin select,
.input-group-admin label{
    font-family: "Indie Flower";
    font-weight: 400;
    font-size: clamp(16px, 4vw, 20px);

}

.account {
    position: absolute;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 15px;
    list-style: none;
    margin: 0;
    right: 10px;
    margin-left: auto;
    top: 10px;
}

.account a {
    white-space: nowrap;
    text-decoration: none;
    color: black;
    font-family: "Indie Flower";
    font-weight: 500;
    font-size: clamp(20px, 2vw, 22px);
    flex-shrink: 0;
}


.account li.right {
    margin-left: auto;
    display: flex;
}

.account a:hover {
    opacity: 0.7;
}


/* this is for a line under the text */
.underline {
    text-decoration: none;
    color: black;
    font-family: "Indie Flower";
    font-weight: 500;
    font-size: clamp(20px, 1.5vw, 22px);
    width: 100%;
    max-width: 70%;
    margin: 0;
    padding-left: 5%;
    text-align: left;
    text-decoration: underline;
}

.underline a:hover {
    opacity: 0.7;
}

.bodyText {
    text-decoration: none;
    color: black;
    font-family: "Indie Flower";
    font-weight: 500;
    font-size: clamp(20px, 1.5vw, 22px);
    width: 100%;
    max-width: 70%;
    margin: 0;
    padding-left: 5%;
    text-align: left;
}


.bodyTextCenter {
    text-decoration: none;
    color: black;
    font-family: "Indie Flower";
    font-weight: 500;
    font-size: clamp(18px, 2vw, 22px);
    max-width: 50%;
    text-align: center;
    margin: 0 auto;
    padding: 10px;
}

/* ________________ padding __________________  */

.top-nav {
    padding-top: 1%;
}

.navCenter {
    text-align: center;
    margin: 0 auto;
}

.navAlign{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 50%;
}

/* ________________ Menu __________________  */
.admin {
    text-align: center;
}

.menu {
    position: relative;
    display: inline-grid;
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
    align-items: center;
    padding: 1%;
    width: 50%;
    margin: 0 auto;
    list-style: none;
    column-gap: 0;
}

.admin .menu {
    position: relative;
    display: inline-grid;
    grid-template-columns: repeat(4, auto);
}

.menu li {
    text-align: center;
}

.menu a {
    text-decoration: none;
    color: black;
    font-family: "Indie Flower";
    font-weight: 500;
    font-size: clamp(16px, 2vw, 22px);
    white-space: nowrap;
}

.menu a:hover {
    opacity: 0.7;
}


.menu::before {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    margin: auto;
    height: 3px;
    background-color: #3C1072;

}


/*-----------Menu string-------------*/

.menuLine {
    display: flex;
    align-items: center;
    max-width: 80%;
    height: 3px;
    color: #3C1072;
    margin: auto;
}


/* ________________ Footer/ info__________________  */

.footer {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    width: 100%;
    padding: 10px 2%;
    position: relative;
}

.footerDesign {
    position: relative;
    display: inline-grid;
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
    align-items: center;
    padding: 1%;
    width: 40%;
    margin: 0 auto;
    list-style: none;
    column-gap: 0;
    bottom: 2vh;
}

.footerDesign li {
    text-align: center;
}


.footerDesign a {
    text-decoration: none;
    color: black;
    font-family: "Indie Flower";
    font-weight: 500;
    font-size: clamp(16px, 2vw, 22px);
    white-space: nowrap;
}

.footerDesign a:hover {
    opacity: 0.7;
}


.footerDesign::before {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    margin: auto;
    height: 3px;
    background-color: #3C1072;
}


/*-----Log in box and create acc box ------ */
.login-container {
    width: 300px;
    margin: 20px auto;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 10px;
    text-align: center;
    stroke: #3C1072;
}

.login-container h2 {
    margin-bottom: 20px;
}

.login-container button {
    width: 100%;
    padding: 10px 0;
}


/*-----------input felt--------------*/


.input-group {
    margin-bottom: 15px;
    text-align: center;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #3C1072;
    appearance: auto;
}


.button-group {
    display: flex;
    align-items: center;
    height: 100%;

}


/*____________________*/
.infoTabel {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-items: start;
    list-style: none;
    column-gap: 20px;
    row-gap: 15px;
    width: 30%;
    margin-right: auto;
    margin-left: auto;


}


.input-group-admin {
    margin-bottom: 15px;
    text-align: center;
}

.input-group-admin label {
    display: block;
    margin-bottom: 5px;
}

.input-group-admin input,
.input-group-admin select {
    width: auto;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #3C1072;
}

.infoTabel button {
    white-space: nowrap;
}


/*_________button___________*/


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

button:hover {
    opacity: 0.7;

}

/*-----------Img---------------*/

.foto {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(20px, 5vw, 60px);
    max-width: 58%;
    margin: 0 auto;
}

.item img {
    width: auto;
    height: 100%;
    max-height: 180px;
    object-fit: contain;
    display: block;
}

.bigFoto {
    display: flex;
    justify-content: center;

}

.bigFoto img {
    width: 35vw;
    height: auto;
    object-fit: contain;
}

.fotoIkon {
    height: clamp(10px, 20vw, 30px);
    display: block;
    background-color: transparent; /* vigtig */
    border: none;
    padding: 0;
    margin: 0;
    outline: none;
    box-shadow: none;
}

.fotoIkon img {
    height: clamp(20px, 4vw, 24px);
}


/*-----------Tabel---------------*/
.tableWrapper {
    width: 50%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    overflow-x: auto;
}

.tableStyle {
    border-collapse: collapse;
    margin: 40px 0;
    width: 100%;

    font-family: "Indie Flower";
    font-weight: 400;
    font-size: clamp(18px, 4vw, 20px);
    color: black;
}


/*-----------Tabel basket---------------*/

.basket .tableStyle th {
    background-color: #8572FB;
    color: black;
    padding: 10px;
    text-align: left;
}

.basket .tableStyle td {
    padding: 10px;
}

.basket .tableStyle tbody tr:nth-child(odd) {
    background-color: #D7D2FF;
}

.basket .tableStyle tbody tr:nth-child(even) {
    background-color: #EDEBFF;
}


/*-----------Tabel admin---------------*/


.adminTabel .tableStyle th {
    background-color: #FD99CB;
    color: black;
    padding: 10px;
    text-align: left;
}

.adminTabel .tableStyle td {
    padding: 10px;
}

.adminTabel .tableStyle tbody tr:nth-child(odd) {
    background-color: #FFDCDC;
}

.adminTabel .tableStyle tbody tr:nth-child(even) {
    background-color: #FFC9C9;
}


/*-----------Input box---------------*/
.containerBox {
    width: 300px;
    margin: 20px auto;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 10px;
    text-align: center;
    stroke: #3C1072;
}

.containerBox h2 {
    margin-bottom: 20px;
}

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


/*-------------Mobil--------------*/
@media screen and (max-width: 768px) {

    .header {
        flex-direction: column;
        align-items: center;
        display: flex;
    }

    h1 {
        font-size: 38px;
    }

    h2 {
        font-size: 26px;
    }

    .bodyText {
        font-size: 26px;
    }


    .menu {
        width: 90%;
    }

    .menu a {
        font-size: 26px;
    }

    .account {
        display: flex;
        flex-wrap: wrap;
        position: static;
        flex-direction: column;
        align-items: center;
        width: 100%;
        justify-content: center;
        margin: 10px 0 0 0;
        padding: 0;

    }

    .account a {
        font-size: 26px;
    }

    .account li.right {
        margin-left: 0;
    }


    .bigFoto img {
        width: 80vw;
    }

    .footerDesign {
        grid-template-columns: 1fr;
        row-gap: 10px;
        width: 90%;
        justify-items: center;
    }

    .footerDesign a {
        font-size: 26px;
    }


    .tableStyle {
        font-size: 24px;
    }

    .input-group input,
    .input-group select,
    .input-group label,
    .input-group-admin input,
    .input-group-admin select,
    .input-group-admin label{
        font-size: 20px;
    }

    button {
        font-size: 20px;
    }

    .admin .menu {
        font-size: 26px;
        grid-template-columns: repeat(2, auto);
    }

    .infoTabel {
        grid-template-columns: 1fr;
        justify-items: center;
        align-items: center;
        width: 90%;
        margin: 0 auto;
    }

    .tableWrapper {
        width: 90%;
    }

    .bodyTextCenter {
        max-width: 85%;
    }

}