@font-face {
    font-family: myFont;
    /* set name */
    src: url(../assets/fonts/Montserrat-VariableFont_wght.ttf);
    /* url of the font */
}



body {
    font-family: 'myFont', sans-serif;
    overflow-x: hidden;
}

/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* 2. Remove default margin */
* {
    margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
    html {
        interpolate-size: allow-keywords;
    }
}

body {
    /* 4. Add accessible line-height */
    line-height: 1.5;
    /* 5. Improve text rendering */
    -webkit-font-smoothing: antialiased;
    background-image: url('../assets/images/bg.png');
    background-size: cover;
    background-position: center;
}

/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
    font: inherit;
}

/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
    text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    text-wrap: balance;
}

/*
  10. Create a root stacking context
*/
#root,
#__next {
    isolation: isolate;
}

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 3rem;
    flex-direction: column;

}

.inscrie {
    cursor: pointer;
    width: 90%;
    margin-top:5%;
}

.premii {
    width: 90%;
}

.particip {
    width: 90%;
}

.formular_text {
    width: 60%;
    margin: 0 auto;
    margin-bottom: 5%;
}

.container {
    background: #2666c4;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    max-width: 300px;
    width: 100%;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    margin: 0 auto;
    font-family: 'myFont', sans-serif;
    border-left: 4px solid white;
    border-bottom: 4px solid white;
    border-right: 4px solid white;

}

.form-group label,
.form-group input,
.file-upload-label,
.checkbox-item label,
.submit-btn {
    font-family: 'myFont', sans-serif;
}

.form-group label {
    color: white;
}

h1 {
    color: black;
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}

.form-group {
    margin-bottom: 7.5px;
}

.form-group label {
    display: block;
    color: white;
    font-size: 12px;
    margin-bottom: 8px;
    font-family: 'myFont';
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"] {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid white;
    color: black;
    padding: 10px 0;
    font-size: 12px;
    outline: none;
    transition: border-color 0.3s;
    font-family: 'myFont';
}

.form-group input::placeholder {
    color: white;
}

.form-group input:focus {
    border-bottom-color: #ffd700;
}

.file-upload {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: block;
    background: rgba(255, 255, 255, 0.2);
    border: 2px dashed black;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    color: black;
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload-label:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #ffd700;
}

.required {
    color: #ff6b6b;
    margin-left: 3px;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.checkbox-item:hover {}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: -10px;
    cursor: pointer;
    appearance: none;
    /* dezactivează stilul default */
    border: 2px solid white;
    /* border negru */
    background: transparent;
    /* fundal transparent */
    border-radius: 4px;
    position: relative;
    transition: all 0.3s;
}

.checkbox-item input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 4px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}


.checkbox-item label {
    color: black;
    cursor: pointer;
    margin: 0;
    font-size: 14px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    border: none;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 30px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.file-name {
    color: black;
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
}

.store-logo1 {
    height: 20px;
    width: auto;
}

.store-logo2 {
    height: 25px;
    width: auto;
}

.store-logo3 {
    height: 25px;
    width: auto;
}

.submit-btn-image {
    border: none;
    padding: 0;
    background: none;
    cursor: pointer;
    display: inline-block;
}

.submit-btn-image img {
    display: block;
    width: 100%;
    height: auto;
}

.promo-checkbox-item {
    display: flex;
    align-items: center;
    /* aliniaza checkbox și text pe mijloc */
    gap: 10px;
    cursor: pointer;
    line-height: 0;
    /* previne variația înălțimii */
}

.promo-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
    appearance: none;
    border: 3px solid red;
    background: white;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    /* previne micșorarea checkbox-ului */
}

.promo-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 4px;
    height: 10px;
    border: solid #306b3e;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.promo-checkbox-item label {
    font-family: 'myFont', sans-serif;
    font-size: 10px;
    color: white;
    cursor: pointer;
    line-height: 1.4;
    /* pentru text */
}

.promo-required {
    color: white;
    font-size: 10px;
}

.wrapper_row {
    display: flex;
    width: 50%;
}

.text-footer {
    color: black;
    font-size: 8px;
    text-align: center;
    width: 100%;
    background: rgba(222, 222, 222, 0.511);
    font-weight: 600;
}

.form-bg {
    background-image: url('../assets/images/bg_formular.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

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

@media(min-width:600px) {
    .container {
        max-width: 500px;
    }

    .submit-btn-image img {
        width: 40%;
    }
}

@media(min-width:1000px) {

    .inscrie,
    .premii,
    .particip {
        width: 60%;
    }

    .container {
        max-width: 700px;
    }

    .form-group input[type="text"],
    .form-group input[type="tel"],
    .form-group input[type="email"] {
        font-size: 16px;
    }

    .checkbox-group {
        justify-content: center;
        gap: 5rem;
    }

    .form-group label {
        font-size: 16px;
    }

    .wrapper_row {
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .castigatori,
    .regulament {
        width: 25%;
    }

    .store-logo1,
    .store-logo2,
    .store-logo3 {
        margin-right: 10px;
        ;
    }

    .store-logo1,
    .store-logo2,
    .store-logo3 {
        height: 30px;
    }

    .text-footer {
        font-size: 15px;
        padding: 15px;
    }

    .promo-checkbox-item label {
        font-size: 12px;
    }
}

@media(min-width:1300px) {
    .row-content {
        flex-direction: row;
    }

    .submit-btn-image img {
        width: 100%;
    }
}

@media (min-width: 1900px) {
    .container {
        max-width: 1200px;
    }

    .form-group input[type="text"],
    .form-group input[type="tel"],
    .form-group input[type="email"] {
        font-size: 24px;
    }

    .form-group label {
        font-size: 24px;
    }

    .text-footer {
        font-size: 22px;
        padding: 30px;
    }

    .store-logo1,
    .store-logo2,
    .store-logo3 {
        height: 50px;
    }

    .checkbox-item input[type="checkbox"] {
        width: 30px;
        height: 30px;
    }

    .promo-checkbox-item label {
        font-size: 15px;
    }
}