@import url('https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900');

html {
    height: 100%;
}

main {
    min-height: 100vh;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Poppins', Arial, sans-serif;
    background-color: #dee1e4;
}

.first-block {
    margin: 100px auto 100px;
    width: 60%;
    height: auto;
    background-color: white;
    padding: 30px;
    border-radius: 20px;
    filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.2));
}

.first-block h1 {
    margin: 0;
}

.first-block p {
    margin: 0;
}

.first-block hr {
    margin-top: 40px;
    margin-bottom: 40px;
    width: 70%;
}

.first-block form label {
    font-weight: 550;
}

.first-block form .input-div {
    margin-bottom: 15px;
}

.first-block form input:not([type="submit"]),
.first-block form select,
.first-block form textarea {
    margin-top: 10px;
    margin-bottom: 15px;
    width: 100%;
    height: 45px;
    background: transparent;
    outline: none;
    border: 2px solid #b6b6b6;
    border-radius: 5px;
    font-size: 14px;
    padding-left: 10px;
    font-weight: 550;
    color: #202020;
    box-sizing: border-box;
}

.first-block form input[type="submit"] {
    background: #0088ff;
    border: none;
    border-radius: 5px;
    font-size: 20px;
    padding: 10px;
    font-weight: 550;
    width: 20%;
    color: #202020;
    box-sizing: border-box;
    display: block;
    margin: 0 auto;
    transition: 0.5s;
}


.first-block form input[type="submit"]:hover {
    cursor: pointer;
    background: #44a8ff;
    filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.4));
    transition: 0.5s;
}

.first-block form textarea {
    font-family: 'Poppins', Arial, sans-serif;
    resize: vertical; 
    height: auto;
    padding: 10px;
}

.first-block form select option {
    color: black;
    font-weight: 550;
}

.red_star {
    color: red;
    font-size: large;
}

.error-message {
    color: red;
    font-size: small;
    display: none;
}

input.error, select.error, textarea.error {
    border: 2px solid red !important;
}

::-webkit-scrollbar {
    width: 9px;
    background-color: white;
}

::-webkit-scrollbar-thumb {
    background: #c6e4ff;
    border-radius: 15px;
    border: 2px solid white;
}

::-webkit-scrollbar-thumb:hover {
    background: #9fd2ff;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    z-index: 9999;
}

.popup-content {
    text-align: center;
}

.popup h2 {
    margin-top: 0;
    color: black;
}

.popup p {
    margin-bottom: 0;
    color: #333;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.4));
    color: #666;
    transition: color 0.5s;
}

.close-btn:hover {
    color: red;
    transition: color 0.5s;
}

.g-recaptcha {
    justify-content: center;
    align-items: center;
    text-align: center;
}