*{
    font-family: 'Rubik', sans-serif;
}

.main-info{
    width: 1900px;
    height: 200px;
}

#main-text{
    margin-left: 32%;
    margin-top: 4%;
}

#main-text h1{
    font-size: 70px;
}

#main-text a{
    text-decoration: none;
    color: #BCAF9A;
    margin-left: 6%;
}

#main-text a, p{
    font-size: 20px;
}

/*Image css*/
#image-hall{
    width: 1560px;
    height: 850px;
    z-index: 0;
    position: relative;
}

/*Contacts*/
#contact-info{
    margin-top: 5%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 10px;
}


.info-box {
    display: flex;
    align-items: center;
    gap: 20px;
    grid-column-start: 2;
}

.info-box i {
    font-size: 30px;
    color: #A8977B;
}

.info-box h3 {
    font-size: 27px;
    margin: 0;
}

.info-box p {
    font-size: 20px;
    margin: 5px 0 0 0;
}

#email, #phone, h3{
    font-size: 27px;
    
}

#email, #phone, p{
    font-size: 20px;
}

.contact-section{
    width: 1885px;
    height: 724px;
    display: flex;
    justify-content: space-evenly;
    background-color: #F8F9FA;
}


#contact-form {
    width: 500px;
    height: 470px;
    background-color: #FFFFFF;
    padding: 30px;
    margin-right: 600px;
    margin-top: -70px; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
    z-index: 1;
}


#contact-form h2 {
    text-align: left; 
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

#contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px; 
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 0; 
    font-size: 16px;
    background-color: #f9f9f9; 
}

#contact-form textarea {
    height: 120px;
    resize: vertical; 
}

#contact-form button {
    width: 170px;
    height: 35px;
    background-color: #A8977B;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s;
}

#contact-form button:hover {
    background-color: #9a8768; 
}

/*Responsive*/
@media (max-width: 1200px) {
    .main-info {
        width: 100%;
        height: auto;
        padding: 40px 20px;
    }

    #main-text {
        margin-left: 0;
        text-align: center;
    }

    #main-text h1 {
        font-size: 48px;
    }

    #main-text a,
    #main-text p {
        font-size: 18px;
        margin-left: 0;
        display: block;
    }

    #image-hall {
        width: 100%;
        height: auto;
    }

    .contact-section {
        width: 100%;
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 40px 20px;
    }

    #contact-form {
        margin: 0;
        width: 90%;
        max-width: 500px;
        height: auto;
    }

    #contact-info {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 20px;
        margin-top: 40px;
    }

    .info-box {
        grid-column-start: auto;
        justify-content: flex-start;
    }
}

/* Мобилни устройства */
@media (max-width: 768px) {
    #main-text h1 {
        font-size: 36px;
    }

    #main-text a,
    #main-text p {
        font-size: 16px;
    }

    .info-box i {
        font-size: 24px;
    }

    .info-box h3 {
        font-size: 20px;
    }

    .info-box p {
        font-size: 16px;
    }

    #email,
    #phone,
    #email h3,
    #phone h3 {
        font-size: 20px;
    }

    #email p,
    #phone p {
        font-size: 16px;
    }

    #contact-form h2 {
        font-size: 20px;
    }

    #contact-form button {
        width: 100%;
    }
}

/* Много малки екрани */
@media (max-width: 480px) {
    #main-text h1 {
        font-size: 28px;
    }

    #contact-form {
        padding: 20px;
    }

    #contact-form input,
    #contact-form textarea {
        font-size: 14px;
    }

    #contact-form button {
        font-size: 14px;
        height: 40px;
    }
}