.container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Ð¡Ñ‚Ð¸Ð»Ð¸ Ð´Ð»Ñ ÐºÐ½Ð¾Ð¿Ð¾Ðº */
.btn {
    display: inline-block;
    padding: 12px 24px;
    margin: 10px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-participant {
    background-color: #4CAF50;
    color: white;
}

.btn-participant:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

.btn-partner {
    background-color: #2196F3;
    color: white;
}

.btn-partner:hover {
    background-color: #0b7dda;
    transform: translateY(-2px);
}

/* ÐœÐ¾Ð´Ð°Ð»ÑŒÐ½Ñ‹Ðµ Ð¾ÐºÐ½Ð° */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    position: relative;
    margin: 5% auto;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-50px);
    transition: transform 0.3s ease;
    animation: none;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #333;
}

/* Ð¡Ñ‚Ð¸Ð»Ð¸ Ñ„Ð¾Ñ€Ð¼ */
.form-title {
    margin-bottom: 15px;
    color: #333;
    font-size: 24px;
}

.form-description {
    margin-bottom: 25px;
    color: #666;
    font-size: 16px;
    text-align:left;
    line-height:150%;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}
.form-modal label {
    font-family: "Philosopher-Italic";
    font-weight:normal;
}
.form-modal .modal-content h2 {
    margin:20px 0 30px;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus {
    border-color: #4CAF50;
    outline: none;
}

.gender-group {
    display: flex;
    gap: 20px;
    margin-top:-10px;
    text-transform:lowercase;
}

.gender-option {
    display: flex;
    align-items: center;
     color:#3968a6;
}
.gender-option:last-child {
    color: #e74560;
}

.gender-option input {
    margin-right: 8px;
}

.checkbox-group {
    margin: 25px 0;
    display: flex;
    align-items: flex-start;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 3px;
    min-width: 16px;
}

.checkbox-group label {
    font-weight: normal;
    text-align: left;
    font-size: 13px;
    line-height:120%;
    margin-top:2px;
}

.terms-link {
    color: #2196F3;
    text-decoration: underline;
    transition: color 0.3s;
}

.terms-link:hover {
    color: #0b7dda;
    text-decoration: none;
}

.honeypot {
    display: none;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s, transform 0.2s;
}

.submit-btn:hover {
    background-color: #45a049;
    transform: translateY(-2px);
}

#partnerForm .submit-btn {
    background-color: #2196F3;
}

#partnerForm .submit-btn:hover {
    background-color: #0b7dda;
}

.error {
    color: #f44336;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.success-message {
    display: none;
    text-align:left;
    padding:40px 20px;
    color: #333;
    font-size: 18px;
    line-height: 1.5;
}
.success-message a {
    background:#e74560;
    padding:5px 15px 5px 15px;
    border-radius:25px;
    color:#fff;
    text-decoration:none;
    display:block;
    margin:20px 0 0 0;
    max-width:200px;
    text-align:center;
}
.success-message a:hover {
    background:#3968a6;
}
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 90%;
        padding: 20px;
    }
    .gender-group {gap: 10px;}
   
}

@media (max-width: 480px) {
    .modal-content {
        padding: 15px;
    }
    
    .btn {
        padding: 10px 20px;
        margin: 5px;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"] {
        padding: 10px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 12px;
        font-size: 15px;
    }
}