@font-face {
    font-family: 'Magz'; 
    src: url('fonts/Magz.otf') format('opentype'); 
    font-weight: normal; 
    font-style: normal;
  }
  

    
@media (min-width: 768px) {
body {
    margin-top: 50px !important;
    background-image: url('fonel.png');
    background-size: cover; 
    background-position: center;
            height: 100vh;
    background-repeat: no-repeat;
font-family: 'Magz', sans-serif; 
    margin: 0;
    padding: 0;
    background-color: #f5f7fa;
    color: #333;
            overflow: hidden;

}
button:hover {
    background-color: #d1d1d1;
}
  }
  @media (max-width: 767px) {
    body {
        background-image: url('banmob.png');
        height: 100vh;
        overflow: hidden;
        background-size: cover; 
        background-position: center;
        background-repeat: no-repeat;
    font-family: 'Magz', sans-serif; 
    padding: 20px;
    padding-top: 50px;

    }
    .resized-image {
        margin-left: -1px !important;
        width: 60% !important;
        height: auto; 
        display: block; 
        margin: 0 auto; 
      }
      .input-container {
    margin-top:30px !important;
        align-items: center;
        gap: 3px !important;
    }
}
.resized-image {
    margin-left: -1px !important;
    width: 70%;
    height: auto; 
    display: block; 
    margin: 0 auto; 
  }
  
  @media (min-width: 1681px) {
.container{
    padding-top: 100px !important;
}
  }


.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
   
}

.content {
    max-width: 600px;
}

h1 {
    font-size: 70px;
    line-height: 1.4;
    color: #ffffff;
    margin-bottom: 20px;
}

h2 {
    font-size: 18px;
    color: #0078ff;
    margin-bottom: 10px;
}

p {
    font-size: 16px;
    margin-bottom: 30px;
}

.form-options {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.form-options button {
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    background-color: #f1f1f1;
    color: #000;
}


button.active {
    background-color: #000;
    color: #fff;
  }
  
  button.inactive {
    background-color: #fff;
    color: #000;
  }



.input-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

input[type="text"] {
    flex: 1;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 30px;
    font-size: 16px;
}

button[type="submit"] {
    margin-top: -10px;
    background-color: #fdb900;
    border: none;
    color: #000;
    padding: 15px 20px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
}

.links {
    margin-top: 20px;
    font-size: 14px;
}

.links a {
    color: #0078ff;
    text-decoration: none;
}

.image-container img {
    max-width: 500px;
    border-radius: 10px;
}

.fixed-top {
    display: none !important;
}

.container {
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

form {
    margin-bottom: 20px;
}

input {
    width: calc(100% - 10px);
    padding: 8px;
    margin-bottom: 10px;
}

button {
    padding: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
}



#results table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

#results td {
    border: 1px solid #ddd;
    padding: 8px;
}

.image-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.carousel-image {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
    object-fit: cover;
}

.tracking-container {
    margin-top: 20px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #333;
}

/* Медиа-запросы для мобильной адаптации */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .image-container img {
        margin-bottom: 20px;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 16px;
    }

    p {
        font-size: 14px;
    }

    button[type="submit"] {
        font-size: 12px;
        padding: 10px 15px;
    }
    input[type="text"] {
        font-size: 12px;
        padding: 10px 15px;
    }
    .form-options button{
        font-size: 14px;
        padding: 10px 15px;
    }
}
