@font-face {
    font-family: regular;
    src: url(../font/Raleway/static/Raleway-Regular.ttf);
}

@font-face {
    font-family: medium;
    src: url(../font/Raleway/static/Raleway-Medium.ttf);
}

@font-face {
    font-family: light;
    src: url(../font/Raleway/static/Raleway-Light.ttf);
}

@font-face {
    font-family: bold-one;
    src: url(../font/Raleway/static/Raleway-Bold.ttf);
}

* {
    box-sizing: border-box;
}

.all-content {
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;

}

body {
    margin: 0px;
    padding: 0px;
    font-size: 16px;
    font-family: medium;
    display: flex;
    justify-content: center;
}

a {
    text-decoration: none;

}

.estate-name {
    font-family: monospace;
    text-align: center;
    background-color: rgb(0, 0, 0);
    padding: 16px;
    line-height: 0px;
}

.estate-name p {
    transform: translateX(35px);
}

.estate-menu {
    background-color: #e2f5f5;
    display: flex;
    justify-content: space-evenly;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.1);
}

.estate-menu a {
    text-decoration: none;
    color: #a5a5f7;
    font-family: regular;
}

header {
    /* background-image: url(""); */
    background-image: url("image/blacky.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: contain;
    padding-bottom: 160px;

}

.call-header {
    color: white;
    display: flex;
    align-items: center;
    background-color: #1e3152;
    width: 20%;
    text-align: center;
    padding: 6px;
    position: absolute;
    left: 70%;
    z-index: 1;
}

.call-header a {
    margin-left: 10px;
    color: white;
}

.header-discovery {
    width: 300px;
    background-color: rgba(30, 49, 82, 0.9);
    padding: 18px;
    color: #28e2ff;
    transform: translateY(260px);
}

.header-discovery p {
    color: #9fb9cc;
    font-family: regular;
}

.header-discovery input[type="button"] {
    background: none;
    border: #9fb9cc solid 2px;
    color: #9fb9cc;
    padding: 8px;

}

.discovery-btn {
    text-align: center;
    margin-top: 40px;
}

.about {
    padding-top: 100px;
    text-align: center;
    padding-bottom: 40px;
}

.discovery-home {
    width: 100%;
    display: flex;
    justify-content: center;
}

.about-owner {
    background-color: #1e3152;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    flex-wrap: wrap;
}

.owner-pic {
    margin-left: 20px;

}



.about-owner img {
    object-fit: cover;
    width: 350px;
    height: 400px;
    transform: translateY(-50px);
}

.owner-text {
    color: white;
    width: 40%;
    margin-left: 30px;
    position: relative;
}






.owner-text .color {
    color: #ebb583;
}

.owner-text p {
    color: #9fb9cc;
    text-align: justify;
}


.color {
    color: #ebb583;
}


.text-roof {
    width: 35%;
    text-align: justify;
    color: #9fb9cc;
}



.roof-image img {
    object-fit: cover;
    width: 350px;
    height: 400px;
    transform: translateY(-50px);
}

.estate-roof {
    display: flex;
    justify-content: space-evenly;
    background-color: #7f9fb6;
    flex-wrap: wrap;
}


.ask-right-question {
    width: 25%;
    text-align: center;
    margin-right: 60px;
}

.reason-for-my-estate span {
    font-size: 50px;
    color: #366386;
}

.reason-for-my-estate h3 {
    color: #366386;

}

.reason-for-my-estate h2 {
    color: #366386;
    width: 40%;
}


.reason-for-my-estate p {
    color: #7f9fb6;
}


.reason-h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.reason-for-my-estate {
    padding: 60px 10px;
}


.tools-question {
    width: 20%;
    text-align: center;
}


.address-emotion-question {
    width: 20%;
    text-align: center;
    margin-left: 50px;
}

.the-reasons {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}


.clients-words {
    background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)), url(../images/estatehome.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: contain;
    color: #7f9fb6;
    padding: 40px 10px;
}

.clients-words h1 {
    font-family: bold-one;
    text-align: center;
}

.clients-text1 span {
    font-size: 30px;
}

.clients-text1 {
    width: 22%;
    text-align: center;
    color: #7f9fb6;
    margin-right: 70px;
}

.clients-text2 span {
    font-size: 30px;
}

.clients-text2 {
    width: 22%;
    text-align: center;
    color: #7f9fb6;
}

.clients-text3 span {
    font-size: 30px;
}

.clients-text3 {
    width: 22%;
    text-align: center;
    color: #7f9fb6;
    margin-left: 50px;
}

.clients {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}


.map-side p {
    width: 70%;
    color: #7f9fb6;
}

.contact-map {
    color: #366386;
    padding-top: 40px;
}

.contact-me a {
    display: flex;
    color: #7f9fb6;
}

.contact-me form {
    display: flex;
    flex-direction: column;
}

.contact-me {
    width: 30%;
    margin-left: 50px;
}

.contact-me input,
textarea {
    margin-top: 5px;
    border: 2px solid #7f9fb6;
    outline: none;
    padding: 4px;

}

.contact-me input[type="submit"] {
    width: 80px;
    padding: 4px;
    background-color: #1e3152;
    color: white;
    border: none;
    outline: none;

}

.submit {
    display: flex;
    justify-content: flex-end;
}

.contact-flex {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.map-side {
    margin-right: 50px;
}

.contact-map h2 {
    text-align: center;
}


footer {
    padding: 20px;
    background-color: #1e3152;
    margin-top: 90px;
    color: #7f9fb6;
}

footer a {
    color: #7f9fb6;
}


.join {
    display: flex;

}

.join h3 {
    text-decoration: underline 2px;
}

.footer1 {
    width: 20%;
}

.footer1 p {
    line-height: 30px;
}

.footer-home {
    display: flex;
    flex-direction: column;
    line-height: 40px;
}

.footer-company {
    display: flex;
    flex-direction: column;
    line-height: 40px;
}


.footer-help {
    display: flex;
    flex-direction: column;
    line-height: 40px;
}

.footer2 {
    display: flex;
    width: 40%;
    justify-content: space-between;
}

.footer {
    display: flex;
    justify-content: space-evenly;
}

.socio-footer {
    width: 15%;
    display: flex;
    justify-content: space-between;


}

img {
    transition: all 1s ease-in-out;
}

img:hover {
    transform: scale(1.1);
}



.social-footer {
    display: flex;
    justify-content: center;
    margin-top: 70px;
    align-items: center;
    flex-direction: column;

}

.social-footer a span {
    color: #ebb583;

}

.mobile-estate-menu {
    display: none;
    background-color: #e2f5f5;
}

#cancel {
    position: absolute;
    display: none;
}



/* MEDIA QUERY */

@media (max-width: 1212px) {
    .call-header {
        width: auto;
    }
}



@media (max-width: 768px) {

    a {
        font-size: 13px;
    }



    .footer1 p {
        text-align: center;
    }

    header {
        height: auto;
        padding: 30px;
    }

    .header-discovery {
        width: 100%;
        transform: translate(0px);
    }

    .discovery-home {
        padding: 20px;

    }

    .about {
        padding: 0px;
    }

    .about-owner img {
        transform: translate(0px);
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .roof-image img {
        transform: translate(0px);
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .about-owner {
        width: 100%;
    }

    .owner-text {
        width: 100%;
        margin: 0px;
    }

    .estate-roof {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .owner-pic {
        margin: 0px;
    }


    .text-roof {
        width: 90%;
    }

    img {
        transition: all 1s ease-in-out;
    }

    img:hover {
        transform: scale(1.1);
    }

    .map-side iframe {
        width: 100%;
    }

    .map-side {
        margin: 0px;
        padding: 20px;
    }

    .contact-me form {
        width: 100%;
    }

    .contact-me {
        width: 100%;
        margin: 0px;
        padding: 20px;
    }



}

@media (max-width: 770px) {
    .footer {
        flex-direction: column;
        align-items: center;
    }

    .footer2 {
        width: 100%;
        justify-content: space-evenly;
    }

    .footer1 {
        width: 100%;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .socio-footer {
        width: 20%;
    }




    a {
        font-size: 12px;
    }


}


@media (max-width: 991px) {


    .estate-menu {
        display: none;
    }

    .mobile-estate-menu {
        display: block;
    }

    .call-header {
        display: none;
    }

    .mobile-call-header {
        color: white;
        display: flex;
        align-items: center;
        background-color: #1e3152;
        text-align: center;
        padding: 6px;
    }

    .mobile-call-header a {
        color: white;
    }

    .bar-background {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 20px;
        transition: all 2s;

    }


    .estate-bar span {
        cursor: pointer;
    }

    .mobile-menu {
        background-color: white;
        line-height: 40px;
        height: 100%;
        position: absolute;
        width: 100%;
        z-index: 2;
        transition: all .5s ease-in-out;
        animation-name: menu;
        animation-duration: 1s;
        animation-fill-mode: forwards;
    }

    .mobileA {
        display: none;
    }





    .abso-bar {
        position: relative;
    }


    .abs-bar {
        position: absolute;
        transform: translateY(30px) translateX(30px);
        z-index: 1;
        display: block;
        width: 100%;
    }

    .estate-bar:hover .abso-bar + .mobile-menu {
        display: none;
    }


    @keyframes menu {
        0% {
            transform: translateX(-1000px);
            opacity: 0;
        }
    }

    .the-reasons {
        flex-direction: column;
        align-items: center;
    }

    .ask-right-question,
    .tools-question,
    .address-emotion-question {
        width: 80%;
        margin: 0px;
        padding: 20px;
    }

    .reason-h2 h2 {
        width: 70%;
    }

    .clients {
        flex-direction: column;
        align-items: center;
    }

    .clients-text1,
    .clients-text2,
    .clients-text3 {
        width: 80%;
        margin: 0px;
        padding: 20px;
    }

}

@media (max-width: 425px) {

    .clients-text1,
    .clients-text2,
    .clients-text3 {
        width: 100%;
    }

    .ask-right-question,
    .tools-question,
    .address-emotion-question {
        width: 100%;
    }

    .discovery-home {
        width: 100%;
        padding: 0px;
    }
}



/* flight booking */


.form {
    background-color: white;
    width: 60%;
    margin: 100px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px;
}

.form input,
.form button,
.form textarea,
.form select {
    font-size: 16px;
    width: 100%;
    padding: 12px;
    outline: none;
    border: none;
    background-color: transparent;
}

.form div {
    padding: 12px;
}

.form input:focus,
.form button:focus,
.form textarea:focus,
.form select:focus {
    outline: 2px solid #7f9fb6;
    border-radius: 4px;
}

.form button {
    width: 200px;
    background-color: #7f9fb6;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}

.form label {
    font-weight: 900;
}

.header {
    background-image: url(../images/flight.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    object-fit: contain;
}

.ending {
    margin-top: 0px;
}


.alerting {
    background-color: white;
    width: 300px;
    padding: 12px;
    margin: auto;
    display: none;
}

.alerting span {
    background-color: #28e2ff;
    padding: 6px 8px;
    color: white;
    float: right;
    cursor: pointer;
    border-radius: 50%;
}

.text-gray {
    color: gray;
}


.text-form {
    width: 80%;
    text-align: center;
    margin: auto;
}

@media (max-width:991px) {
    .form {
        width: 80%;
    }
}

@media (max-width:425px) {
    .form {
        width: 90%;
    }
}