@import "universal.css";

/*<================================ zmiany w stylach kontakt ============================>*/
.triangle-right-contact{
    position: absolute;
    right: -92px;
    top: 7vh;
    transform: scale(-1,1);
}
.section-form h3, .section-info h3{
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 8px;
    margin-top: 2vh;
}
/*<================================ sekcja form ============================>*/
.section-form {
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
}
/*.form-container{*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    height: 100%;*/
/*    justify-content: space-evenly;*/
/*}*/
form{
    font-family: var(--second-font);
    display: flex;
    flex-direction: column;
    /*height: 100%;*/
    flex-basis: 100%;
    justify-content: space-evenly;
}
.row{
display: flex;
    flex-wrap: wrap;
}
label{
    font-size: 0.5em;
    margin: 5px 10px;
    font-weight: bold;
}
input, textarea{
    width: 100%;
    /*line-height: 50px;*/
    height: 5vh;
    border-radius: 8px;
    padding: 1vh;
    min-height: 40px;
    border: 2px solid var(--main-gold);
    box-shadow: 5px 5px 5px var(--main-gray);
    font-size: 0.5em;
}
textarea{
    height: 14vh;
}
.row span{
    font-size: 0.6em;
    margin: auto 0;
    font-weight: bold;
}
input[type='checkbox']{
    margin: 0 2vh;
    box-shadow: none;
    min-height: 10px;
    width: 2vh;
    height: 2vh;
    align-self: center;
    cursor: pointer;
    box-shadow: 5px 5px 5px var(--main-gray);
    background-color: var(--main-gold);
}
#privacy policy:checked{
    background-color: var(--main-gold);
}


.section-button-white{
    width: 350px;
    font-family: var(--first-font);
    text-transform: uppercase;
    margin: auto 10px 0 auto;
    box-shadow: 5px 5px 5px var(--main-gray);
}
.section-button-white span{
    font-weight: bold;
    font-size: 1.4em;
    left: 16%;
    margin: 0;
}


/*<================================ sekcja info ============================>*/

.section-info {
    flex-basis: 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.section-info .text{
    margin-top: 15px;
    font-family: Cormorant Garamond, serif;
    font-size: 0.6em;
    line-height: 1.4em;
}

@media (max-width: 900px) {
    .section-form {
        order: 1;
        flex-basis: 80%;
    }

    .section-info {
        flex-basis: 80%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 30px;
    }
    .section-info h3{
        font-size: 0.6em;
    }

    label {
        margin: 20px 10px 5px 10px;
    }
    input[type='checkbox']{
        margin: 20px 2vh;
    }
}
@media (max-width: 450px) {
.section-form{
    flex-basis: 90%;
}
    .section-info .text{
        margin-top: 15px;
        font-size: 0.55em;
    }

    .section-info h3, .section-form h3{
        font-size: 0.48em;
    }
    input, textarea{
        font-size: 0.4em;
    }
    .section-button-white{
        width: 250px;
        font-family: var(--first-font);
        text-transform: uppercase;
        margin: 15px auto 0 auto;
    }
    .row span{
        font-size: 0.5em;
        margin: auto 0;
        font-weight: bold;
    }
    .section-button-white span{
        font-size: 1.1em;
        left: 10%;
    }
    label{
        font-size: 0.45em;
        margin: 20px 10px 8px;
    }
    textarea{
        height: 20vh;
    }

}
/*<================================ sekcja lokalizacja============================>*/
.section-map{
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.map-main{
    margin: 0 auto;
    width: 85%;
    height: 40vh;
    /*height: 400px;*/
    border: 3px solid var(--main-gold);
    border-radius: 20px;
    box-shadow: 7px 7px 7px 7px var(--main-gray);
}
.section-map p{
    font-family: var(--second-font);
    font-size:  0.7em;
    margin: 4vh auto;
}
.second-map-container{
    display: flex;
    flex-wrap: wrap;
    flex-basis: 45%;
    justify-content: center;
    padding: 0 10px;

}
.second-map-container img{
    height: 25vh;
    max-height: 50vw;
    min-width: 25vw;
    min-height: 15vw;
    border: 2px solid var(--main-gold);
    box-shadow: 0 0 0 3px white, 0 0 0 6px var(--main-gold), 3px 3px 9px 9px var(--main-gray)  ;
}

@media(max-width: 450px) {
    .section-map{
        width: 95%;
    }
    .map-main{
        width: 100%;
    }
    .section-map p{
        font-family: var(--second-font);
        font-size:  0.6em;
        margin: 5vh auto 8vh;
    }
}
