* {
    box-sizing: border-box;
    
}

.buttone.disabled {
    pointer-events: none;
    opacity: 0.6; 
}
.buttone.active {
    pointer-events:all;
    opacity: 1; 
}
body {
    background-color: #3E708E;
    background-image: url('img/mountain-2446786d.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
}

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

form {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 500px;
    padding: 20px;
    box-sizing: border-box;
}

#form-header{
    display: flex;
    justify-content: center;
    width: 100%;
}

h1, h2, h3, h4, h5, h6{
    text-align: center;
}

.form-fields{
    justify-content: space-between;
    display: flex;
    flex-wrap: wrap;
   
}
.form-field{
    width: 49%;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
 
}

#comment, #data{
    width: 100%;
}
label{
    line-height: 24px;
}

input, button{
    font-family: inherit;
}

input, textarea, select{
    outline-color: #3E708E;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-shadow: 0px 2px 2px 2px rgba(204, 204, 204, 0.10);
    padding: 10px;
}

a{
    text-decoration: none;
}

.count_people{
    display: flex;
    padding: 5px;
    justify-content: center;
    align-items:center;
}

#peopleCount{
    margin: 0 12px;
}
ion-icon {
    font-size: 28px;
    color:#27485D;
  }

.buttone{
    background: #27485D;
    color: white;
    width: 100%;
    margin-top: 22px;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #284a5e;
    box-shadow: 0px 2px 2px 2px rgba(204, 204, 204, 0.10);
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    outline: none;
    text-align: center;
    text-decoration: none;
}

.error{
    font-size: 12px;
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    margin: 0;
    color: crimson;

}

textarea{
    height: 76px;
    resize: none;
}
/* POP UP */
.popup_bg{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s all;
}
.popup_bg.active {
    opacity: 1;
    pointer-events: all;
    transition: 0.5s all;
}
.popup{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #fff;
    width: 470px;
    border-radius:15px;
    padding: 10px;
    transition: 0.5s all;
}

.popup.active {
    transform: translate(-50%, -50%)
scale(1);
    transition: 0.5s all;
}

.close-popup {
    position: absolute;
    top: 10px;  
    right: 10px;
    cursor: pointer;
}

.media svg{
    width: 50px;
    height: 50px;
}
.media:hover{
    background-color: #27485D;
    border-radius:999px;
    border:2px
}
.card-info{

    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
}
.copy-bankcard{
    width: 24px;
    height: 24px;
}
.copy-bankcard:hover{
    transition: 0.5s all;
    background-size: 2px;
    background-color: rgba(39, 72, 93, 0.092);
    

}

/* POP UP END*/

.callback{
    display: flex;
    justify-content: space-around
}

.price{
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
    font-size: 14px;
}
.price span{
    margin-left: 5px;
}

.preview{
    width: 100%;
}

.price-block{
    margin-bottom: 12px;
}

#price {
    font-weight: bolder;
    font-size: 18px;
    color: darkblue;
}

.schedule-time{
    font-weight: 500;
    font-style: italic;
    font-size: 17px;
}

@media (max-width: 576px) {
    form { 
        
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 50px;
        border-radius: 8px;
    
    }
    .popup{
        width: 90%;
    }
}
