@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* { 
    margin: 0;
    padding: 0;
}

body {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    color: #000;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.wrapper {
    background: linear-gradient(90deg,rgba(181, 232, 255, 1) 0%, rgba(255, 235, 194, 1) 100%);
    width: 100%;
}

.container {
    width: 1400px;
    margin: 0 auto;
}

header {
    padding: 80px 0;
    padding: relative;
    z-index: 1;
}

header .logo {
    position: absolute;
    float: left;
    top: 50px;
    width: 36%;
}

header nav:not(.img) {
    float: right;
    width: 64%;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

header nav ul li {
    display: inline-block;
}

header nav ul li a {
    color: rgb(255, 255, 255);
    font-weight: 800;
}

header nav ul li:not(.active):not(.btn) a:hover {
    border-bottom: 5px solid #000;
}

header nav ul li.btn a {
    background: #006cb8;
    padding: 9px 17px;
    border-radius: 5px;
    transition: all 500ms ease;
}

header nav ul li.btn a:hover {
    background: #eda406
}

header nav .img {
    position: absolute;
    top: 10px;
    left: 380px;
    width: 60%;
    z-index: 1;
}

.hero {
    padding-bottom: 100px;
}

.hero--info {
    width: 530px;
    padding-top: 70px;
}

.hero--info h1 {
    font-size: 50px;
    font-weight: 600;
}

.hero--info .btn {
    background: #eda406;
    color: #fff;
    border-radius: 50px;
    padding: 30px 30px;
    border: 0;
    transition: all 500ms ease;
    font-size: 17px;
    font-weight: 600;
}

.hero--info .btn:hover {
    cursor: pointer;
    transform: scale(1.1);
}

.hero img {
    position: absolute;
    top: 200px;
    right: 30px;
    width: 50%;
}

.hero .crown {
    position: absolute;
    width: 3.5%;
    left: 100px;
    top: 1020px;
}

footer .snail {
    position: absolute;
    float: right;
    bottom:-450px;
    right: 200px;
}

footer {
    background: #01aa31;
}

footer h1 {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
}

footer .snail_hand {
  position: relative;
  display: inline-block;
  padding: 20px 80px 30px 15px; 
  cursor: pointer;
  left: -101px;
  top: -5px;
}

footer .snail_hand .scr {
  display: block;
}

@keyframes spin {
  0% {
    transform: rotate(-2deg);
  }
  100% {
    transform: rotate(4deg);
  }
}

footer .snail_hand:hover {
  animation: spin 0.5s linear infinite;
}

#forma {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    flex-direction: column;
}

label {
    color: #000;
    margin-bottom: 5px;
}

input,
select {
    padding: 10px;
    border: 2px solid #01aa31;
    border-radius: 4px;
    font-size: 16px;
}

input:focus,
select:focus {
    border-color: #01aa31;
    outline: none;
}

#result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    display: none;
}

.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 5px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 2px solid #01aa31;
    border-radius: 4px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.radio-option:hover {
    background-color: #e9ecef;
    border-color: #000;
}

.radio-option input[type="radio"] {
    margin: 0;
    transform: scale(1.2);
}

.radio-label {
    margin: 0;
    font-family: 'Fors';
    color: #000;
    cursor: pointer;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 2px solid #01aa31;
    border-radius: 4px;
    background-color: #f8f9fa;
}

.checkbox-group input[type="checkbox"] {
    margin: 2px 0 0 0;
    transform: scale(1.2);
}

.checkbox-label {
    margin: 0;
    color: #000;
    cursor: pointer;
    line-height: 1.4;
}

.radio-option input[type="radio"]:focus,
.checkbox-group input[type="checkbox"]:focus {
    outline: 2px solid #01aa31;
    outline-offset: 2px;
}

table {
    left: -40px;
}

.nadpis {
    color: #05072c;
    font-weight: bold;
}

.nasvanye {
    color: #e1e1ff;
    background-color: #010535;
    font-weight: bold;
}

.passphoto {
    position: relative;
    width: 204px;
    height: 270px;
    margin-top: -560px;
    margin-left: 42px;
    margin-bottom: -880px;
    z-index: 5;
}

.passportimg {
    position: absolute;
    margin-right: 720px;
    width: 50%;
    z-index: 4;
}

.passport p {
    position: relative;
    margin-top: 50px;
    z-index: 6;
}

.infa {
    text-align: center;
}

.infa img {
    width: 1000px;
    height: auto;
    max-width: 100%;
}