/* VARIABLES */
:root {
    /* COLOR VARIABLES */
    --main-bg-red: #EB4F4F;
    --main-bg-light: #FFECE1;
    --main-bg-pink: #FED2CA;
    /* TEXT VARIABLES */
    --text-purple: #4F4598;
    --text-light: #FFFFFF;
    --body-font: 'Inter';
    --heading-font: 'Lobster';
    --standard-width: 1144px;
}

/* GENERAL ELEMENT STYLES */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    box-sizing: border-box;
    font-family: var(--body-font);
    width: 100%;
}

h2 {
    margin: 0;
    font-family: var(--heading-font);
    font-size: 36px;
    color: var(--main-bg-red);
}

p {
    margin: 0;
    margin-bottom: 0px;

}

/* LAYOUT SYLES */

.img-resp {
    width: 100%;
    height: auto;
}

.text-center {
    text-align: center;
}


.text-container {
    max-width: 280px;
    margin: 0 auto;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

.red-bg {
    background-color: var(--main-bg-red);
}

.beige-bg {
    background-color: var(--main-bg-light);
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.menu {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.menu a {
    margin: 0 24px;
    text-decoration: none;
    color: var(--text-light);
    font-size: 24px;
}

.menu a:hover {
    text-decoration: underline;
    cursor: pointer;
}


/* HEADER */

.hero-header {
    background-color: var(--main-bg-red);
    /* display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center; */
    padding-bottom: 50px;

}

.header-hero {
    text-align: center;
    padding-bottom: 48px;
}



header h1 {
    font-family: 'Lobster';
    font-weight: 400;
    font-size: 56px;
    margin: 0;
    padding-top: 30px;
    color: var(--text-light);
}

header p {
    font-family: 'Inter';
    font-size: 16px;
    padding: 30px 0;
    text-align: center;
    color: var(--text-light);
}



/* BOX SECTION */

.box {
    padding: 15px 10px;
    color: #4F4598;
    font-family: "Inter";
    font-weight: 500;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: space-around;
    align-items: center;
    width: 400px;
    height: 450px;
    border: white solid 3px;
    border-radius: 15px;
    background-color: #FFECE1;
    position: relative;
    margin: 0 auto;
    top: -50px;
    box-shadow: 11.6735px 20.1633px 38.2041px 6.36735px rgba(218, 0, 0, 0.19);
}

.box label {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    margin-top: 20px;
}

.box .style-choice {
    display: flex;
    justify-content: center;
}

.box .style-choice div:nth-child(2n) {
    margin-left: 15px;

}

.box button {
    margin-top: 20px;
}

.autocomplete {
    position: relative;
    display: inline-block;
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    /* border-bottom: none;
    border-top: none; */
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    border-radius: 10px;

}

.autocomplete-items {
    color: #918cbb;
}

.autocomplete-items strong {
    color: #4F4598;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

.autocomplete-items div:first-of-type {
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.autocomplete-items div:last-of-type {
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.autocomplete-items div:hover {
    background-color: DodgerBlue;
    color: #ffffff;

}

.autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}



input {
    background-color: white;
    color: var(--text-purple);
    border-radius: 20px;
    /* box-shadow: #4F4598; */
    border-color: #4F4598;
    padding: 9px 20px;
    font-size: 20px;
    border: 1px solid #4F4598;
}


.button-submit {
    background-color: var(--main-bg-red);
    color: white;
    border-radius: 20px;
    padding: 9px 25px;
    font-size: 20px;
}

/* BRING ITEMS SECTION */

.bring-items {
    /* height: 300px; */
    background-color: white;
    border-radius: 10px;
    /* margin-top: 50px; */
    display: flex;
    flex-direction: row;
    gap: 1px;
    padding: 20px;
    flex-wrap: wrap;
    border: red solid 1px;
    display: none;

}

.item-card {
    /* min-height: 100px; */
    /* border: 1px solid #EB4F4F; */
    border-radius: 10px;
    flex-basis: calc(50% - 10px);
}

.item {
    border: #f0e6e9 solid 1px;
    margin: 5px;
    border-radius: 5px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    background-color: #f4f4f4;
}

.item .imgAndText {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.imgAndText p {
    margin-left: 10px;
}

.item img {
    max-width: 50px;
    height: auto;
}


/* CHECKBOX STYLES */
.checkbox-container {
    display: flex;
    align-items: center;
}

.checkbox-container label {
    cursor: pointer;
    display: flex;
}

.checkbox-container input[type='checkbox'] {
    cursor: pointer;
    opacity: 0;
    position: absolute;
}

.checkbox-container label::before {
    content: '';
    width: 35px;
    height: 35px;
    border-radius: 50px;
    margin-right: .5em;
    border: .05em solid;
    border: 2px solid var(--main-bg-red);

}


.checkbox-container label:hover::before,
.checkbox-container input[type='checkbox']:hover+label::before {
    background-color: #ffe8f0;
}

/* .checkbox-container input[type='checkbox']:disabled+label,
.checkbox-container input[type='checkbox']:disabled {
    color: #aaa;
    cursor: default;
} */

.checkbox-container input[type='checkbox']:checked+label::before {
    content: '\002714';
    background-color: var(--main-bg-red);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.checkbox-container input[type='checkbox']:disabled+label::before {
    background-color: #ccc;
    border-color: #999;
}

@media screen and (max-width: 750px) {
    .item-card {
        flex-basis: 100%;
    }
}

/* ABOUT THE APP SECTION */

.about {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-purple);
}

.about h1 {
    font-family: var(--heading-font);
    color: var(--main-bg-red);
    font-size: 40px;
    font-weight: 300;
}

.how-to-prepare {
    padding: 36px 24px;
    column-count: 2;
    column-gap: 36px;
    line-height: 2;
    color: #7a4a3d;
}

@media screen and (max-width: 480px) {
    .how-to-prepare {
        column-count: 1;
    }
}

.two-column {
    width: 100%;
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    align-items: flex-start;
    justify-content: center;
}

.two-column>.col-left {
    width: 50%;
    box-sizing: border-box;
    padding: 0 24px 0 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

.two-column>.col-right {
    width: 50%;
    box-sizing: border-box;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}

/* HERO CLOTHES SECTION */

.hero-clothes {
    background-color: #FFECE1;
}

.hero-pinkbg {
    background-color: #EB4F4F;
}

.clothes {
    min-height: 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 20px;

}

.clothes .lady {
    max-width: 150px;
}

/* FOOTER SECTION */

footer {
    min-height: 50px;
    display: flex;
    flex-direction: row;
    padding: 10px;
    justify-content: space-between;
}

footer a {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 16px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
}

footer a:hover {
    text-decoration: underline;
}

/* footer p {
    color: #FFFFFF;
    font-size: 16px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    margin: 0;
} */

/* CUSTON BREAKPOINT (481px) */

@media screen and (max-width: 481px) {
    .box {
        max-width: 304px;
    }

    .menu a {
        margin: 0 14px;
        font-size: 14px;
    }
}

/* uvijek koristiti min-height umjesto height, zato sto na mobilnim verzijama height se mijenja */