@import 'themes/colors.css';

.form-wrapper-btn-search {
    display: flex;
    font-family: Work Sans;
    font-weight: 300;
    line-height: 24px;
    text-transform: none;
    gap: 10px;
    padding: 10px 30px;
    background-color: var(--white);
    border-radius: 4px;
}


.btn-value-search {
    width: 75%;
    color: black;
}

.btn-submit-search {
    width: 25%;
}

.btn-submit-search input {
    background-color: var(--main-background-color-light);
    border: 1px solid var(--main-background-color);
}

.btn-submit-search input:hover {
    background-color: var(--main-background-color);
}

.form-wrapper-btn-search input {
    padding: 5px;
    height: 42px;
    border: 1px solid #dce0e0;
    border-radius: 4px;
    width: 100%;
    padding: 0 15px;
}

.banner-title-home {
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 20px;
    color: #fff;
}

.banner-subtitle {
    font-size: 20px;
    line-height: 20px;
    font-weight: 300;
    margin-bottom: 25px;
    color: #fff;
}

/*--container ---*/
.home-container {
    padding: 20px;
    background-color: white;
    max-width: 80em;
    margin: 0 auto;
}

@media (max-width: 1400px) {
    .home-container {
        padding: 1rem 3rem;
    }
}
@media (max-width: 640px) {
    .home-container {
        padding: 1rem;
    }
}

.parallax-home {
    position: relative;
    min-height: 600px; 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

    .overlay-home {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(26, 67, 85, 0.5);
    }

    .parallax-content-home {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
        text-align: center;
    }

    .see-more-btn {
        transition: background-color 0.3s ease;
        background-color: #36364e;
        &:hover
    {
        background-color: #111827;
    }
}

/*intro*/
.elementor-shape-bottom {
    transform: rotate(180deg);
    overflow: hidden;
    position: absolute;
    left: 0;
    width: 100%;
    line-height: 0;
    direction: ltr;
    bottom: -1px;
}


.parallax-home-contact {
    margin-top: 30px;
    position: relative;
    min-height: 600px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.overlay-home-contact {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 67, 85, 0.5);
}

.parallax-content-home-contact {
    width: 75%;
    max-width: 80em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

.intro-home {
    margin-top: 25px;
    flex-wrap: wrap;
    display: flex;
}

.intro-item {
    padding: 30px 30px 30px 30px;
    border-radius: 0px;
    background-color: rgba(0, 66, 116, 0.71);
    width: calc(25% - 2px);
    margin-left: 1px;
    margin-bottom: 1px;
    text-align: center;
    &:hover {
        box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
    }
}

.sign-up-home {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    color:aliceblue;
}

.news {
    transform: scale(0.75);
}

.title-news-f {
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
    line-height: 140%;
    text-align: left;
    font-size: 17px;
}


@media (max-width: 768px) {
    .form-wrapper-btn-search {
        display: block;
        padding: 20px;
    }

    .btn-value-search {
        width: 100%;
    }

    .btn-submit-search {
        width: 100%;
        margin-top: 12px;
    }

    .parallax-content {
        width: 80%;
    }

    .parallax-content-home {
        width: 80%;
    }

    .intro-item {
        width: 100%;
    }

    .parallax-home-contact {
        min-height: 800px;
    }

    .title-news-f {
        -webkit-line-clamp: 10;
    }
}

/*title*/
@media (min-width: 1650px) and (max-width: 1855px) {
    .banner-subtitle {
        font-size: 40px !important;
    }
}

@media (min-width: 870px) and (max-width: 950px) {
    .banner-subtitle {
        font-size: 33px !important;
    }
}

@media (min-width: 820px) and (max-width: 870px) {
    .banner-subtitle {
        font-size: 38px !important;
    }
}

@media (min-width: 525px) and (max-width: 600px) {
    .banner-subtitle {
        font-size: 30px !important;
    }
}

@media (max-width: 400px) {
    .banner-subtitle {
        font-size: 30px !important;
    }
}


/*text*/
.text2 {
    display: none;
}

@media (min-width: 1260px) and (max-width: 1480px) { 
    .text1 {
        display: none;
    }

    .text2 {
        display: block;
    }
}

@media (min-width: 670px) and (max-width: 760px) {
    .text1 {
        font-size: 33px !important;
    } 
}

@media (min-width: 480px) and (max-width: 505px) {
    .text1 {
        font-size: 32px !important;
    } 
}

@media (max-width: 380px) {
    .text1 {
        font-size: 27px !important;
    }
}