.main{
    font-family: "Raleway", serif;
    color: #FFFF;
}
body, html {
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}
.body{
    background-color: #8d6eb1;
    display:flex;
    padding: 0 300px 100px;
}
.form-grid{
    margin: 50px 90px;
}
.grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 20px; 
}

.grid ul {
    list-style-type: none; 
    padding: 0; 
}

.grid li {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #FFFF;
    border-radius: 5px;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    cursor: pointer;
    height: 3vh;
    align-items: center;
    text-align: center;
}
.grid li:hover{
    background-color: #c5b7d8;
    color: #6F6FB3;
}
.grid li.selected {
    background-color: #fff;
    color: #936EB0;
}

.age{
    display: flex;
    align-items: center;
}
.age p {
    margin-right: 10px;
}
.age-input {
    width: 80px; 
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #ccc;
    border-radius: 5px; 
    text-align: center; 
    background-color: #8d6eb1;
    height: 30px;
    color:#FFFF
}
.age-input:focus {
    outline: none;
    border-color: #FFFF;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}
.participate{
    background: linear-gradient(90deg, #faa55f, #f16b79);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
    width: 100%;
    margin-top: 10px;
    color:#FFFF;
    font-weight: bold;
    height: 5vh;
}
.intro{
    display: flex;
    flex-direction: column;
    background-image: url('./images/Maskota_Razširjeno ozadje@2x.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: auto;
    padding: 30px 400px 450px 400px;
}
.intro-text p{
    font-size: 18px;
    width: 30vw;
    margin-block-start: 0;
    margin-block-end: 0;
}
.euro{
    font-weight: bold;
    font-size: 20px;
}
.mobile-bg {
    display: none;
    width: 100%; 
    height: auto; 
}
h1{
    font-size: 30px;
    font-weight: bold;
}
.error-message {
    font-size: 14px;
    font-weight: bold;
    color: white;
}
.ty-error-message {
    font-size: 14px;
    font-weight: bold;
    color:white
}
@media (max-width: 1700px) {
    .intro{
        padding: 30px 300px 300px 400px;
    }
}
@media (max-width: 1520px) {
    .intro {
        padding: 20px 100px 300px 100px;
    }
    .intro-text p{
        font-size: 16px;
    }
    .body{
        padding:50px 0 200px 0;
    }
}
@media (max-width: 1245px) {
    .intro {
        padding: 20px 100px 200px 100px;
    }
}
@media (max-width: 1027px) {
    .intro {
        padding: 20px 100px 150px 100px;
    }
    .body{
        padding: 50px 0 550px;
    }
}
@media (max-width: 935px) {
.intro {
    padding: 20px 100px 100px 100px;
    }
.intro-text p{
    font-size: 14px;
}
h1{
    font-size: 24px;
}
.grid li{
    font-size: 12px;
    height: 4vh;
}
p{
    font-size: 14px;
}
.participate{
    font-size: 14px;
}
}
.leanpay-img{
    max-width: 100px; 
    height: auto; 
    display: block;
    margin-bottom: 70px;
}
@media (max-width: 768px) {
    .intro{
        padding: 0;
        background-image: url('mobile-lp-2.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    .intro-text p{
        padding:0 30px;
        width: 70vw;
    }
    .leanpay-img{
        padding:20px 30px;
    }
    .mobile-bg{
        display: block;
    }
    .form-grid{
        padding: 10px 30px;
        margin: 0;
    }
    h1{
        font-size: 20px;
    }
    .grid{
        gap:10px;
        grid-template-columns: 1fr;
    }
    .grid li{
        font-size: 14px;
    }
    .grid ul{
        margin-block-start: 0;
        margin-block-end: 0;
    }
    .leanpay-img{
        margin-bottom: 20px;
        font-size: 12px;
    }
    .body{
        padding: 20px 0 300px;
    }
}

/* thank you part */
.thank-you-main {
    font-family: "Raleway", serif;
    color: #FFFF;
    display: none;
    width: 100%; 
    height: 100vh; 
    flex-direction: column;
    margin-bottom: 10px;
}
.thank-you-main h1{
    margin:10px 0;
    font-weight: 500;
}
.thank-you-main p{
    margin:10px 0;
}
.thank-you-text{
    background-image: url('./images/Rectangle 27@2x.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px 200px;
    display:flex;
    flex-direction: column;
}
.thank-you-goals{
    background-image: url('./images/TY_Maskota_Razširjeno ozadje.png');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    padding: 100px 200px;
    display:flex;
    flex-direction: column;
    background-color: #fe5a7a;
}
.display-on-mobile{
    display: none;
}
.bold-lowercase {
    font-weight: bold;
    text-transform: lowercase;
}
.dropdown-container {
    display: flex;
    flex-direction: column; 
    width: 400px;
    position: relative; 
}
.dropdown-button {
    position: relative;
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    padding: 10px 15px;  
    cursor: pointer; 
    background-color: transparent;
    font-size: 16px; 
    color: #FFFF; 
    border: 1px solid #fff;
    border-radius: 5px;
    margin-bottom: 10px;
}
.dropdown-selection {
    display: flex;
    flex-grow: 100;
    margin-right: 10px
}
.dropdown-button:hover{
    background-color: #fe6c88;
}
.arrow {
    font-size: 14px; 
    color: #FFFF; 
}
.dropdown-button.dropdown-open {
    background-color: #fff; 
    color: #6F6FB3;
}
.dropdown-button.dropdown-open .arrow {
    color: inherit; 
}
.dropdown-menu {
    position: absolute;
    top: 100%; 
    left: 0;
    width: 100%; 
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
    color: #000
}
.dropdown-menu li {
    padding: 10px;
    cursor: pointer;
    font-size: 12px;
}
.dropdown-menu li:last-child {
    border-bottom: none; 
}
.dropdown-menu li:hover {
    background-color: #f0f0f0;
}
.dropdown-menu {
    display: none;
}
.dropdown-menu.active {
    display: block;
}
.email{
    display:flex;
    flex-direction: column;
}
.email-input{
    width: 400px; 
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #fff;
    border-radius: 5px;  
    background-color: transparent;
    height: 30px;
    color:#FFFF;
    margin-bottom: 10px;
    padding-left:5px;
    opacity: 0.5;
}
.email-input:focus {
    outline: none;
    border-color: #FFFF;
}
.email-input::placeholder{
    color:#fff;
    font-size: 12px;
    font-weight: normal;
}
.checkbox-conditions{
    font-size: 12px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.email-checkbox{
    border: 1px solid #fff;
    border-radius: 3px;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    appearance: none;
    display: flex;
    align-items: center;
}
.email-checkbox:checked::before {
    content: "✔";
    color: white;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 20px;
}
.thank-you{
    background: #6f6fb3;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
    width: 400px;
    margin-top: 10px;
    color:#FFFF;
    font-weight: bold;
    height: 5vh;
}
.thank-you-for-participating{
    display: none;
}
.no-wrap{
        max-width: 600px;
}
@media (max-width: 1600px){
    .thank-you-goals{
        padding: 50px 200px 100px;
    }
}
@media (max-width: 1070px){
    .thank-you-goals{
        padding: 20px 200px 100px;
    }
}
@media (max-width: 940px){
    .thank-you-goals{
        padding: 20px 200px 150px;
    }
}
@media (max-width: 768px) {
    .thank-you-goals{
        padding: 0;
        background:#6f6fb3;
        padding: 20px 30px;
    }
    .thank-you-goals h1{
        padding-bottom: 20px;
    }
    .display-on-mobile{
        display: block;
        width: auto;
    }
    .thank-you-text{
        padding:0;
    }
    .ty-text{
        padding: 10px 30px;
    }
    .thank-you{
        background: linear-gradient(90deg, #faa55f, #f16b79);
        width: 100%;
        font-size: 14px;
        padding: 10px;
    }
    .dropdown-container{
        width: auto;
    }
    .email-input{
        width: auto;
    }
    .dropdown-button:hover{
        background-color: #fff;
        color:#6f6fb3
    }
}