




/* Style the header */
header{
    display: block;
    overflow: hidden;
    position: relative;
    background-color: white;
}

.img_logo{
    width: 20%;
    margin: 0px;
    display: flex;
    justify-content: center;
}

nav{
    display: flex;
    justify-content: center;
    width: auto;
}

nav ul{
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0px;
    width: 20%
}

nav li{
    padding: 10px;
    color: #000000;
    font-size: 100%;
}
nav select{
    color: #000000;
    appearance: none;
    cursor: pointer;
    background-color: transparent;
    border: none;
        font-size: unset;
    }

.logo{

}

.img_logo img{
    width: 100%;
}

.search{
}

.language{
    display: flex;
    height: max-content;
    align-items: center;
    width: 10%;
    position: absolute;
    top: 0;
    left: 90%;
}


.search img{
    width: 20px;
    height: 20px;

}

language select{
    border: none;
    margin: 10px;
    color: #3c3c3c56;
    cursor: pointer;
    padding: 5px;
    display: flex;
    width: 100%;
}

option{
    padding: 5px;
}

.fon_p{
    position: absolute;
    z-index: -1;
    top: 0;
    width: 100%;
    height: 30%;
}
.component-container {
display: flex;
position: relative;
flex-direction: column;
}
.component-text {
font-size: 55px;
}
.component-text1 {
font-style: normal;
text-align: center;
font-weight: 700;
border-color: var(--dl-color-gray-black);
border-width: 1px;
padding-left: 235px;
border-top-width: 2px;
border-left-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
}

a:visited {
text-decoration: none;
}
a {
user-select: none;
text-decoration: none;
 color: #000000;
}




main {
  padding: 1em;
}

h2 {
  margin-bottom: 20px;
}

form div {
  margin-bottom: 20px;
}

label {
  display: inline-block;
  width: 120px;
  text-align: center;
  margin-right: 20px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 250px;
  padding: 10px;
  font-size: 16px;
}

button[type="submit"] {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

footer {
  background-color: lightgray;
  padding: 1em;
  text-align: center;
}



 /*footer*/
 .component1-footer {
   background-color: #fff;
   color: #000;
   padding: 20px 0;
   display: flex;
   justify-content: space-between;
   align-items: center;
 }

 .component1-container1 {
   display: flex;
   align-items: center;
   justify-content: center;
   flex-wrap: wrap;
   width: 33%;
 }


 .component1-container1 h2{
   width: max-content;
   margin: 0%;
   width: 100%;
   display: flex;
   justify-content: center;
 }


 .component1-text {
   font-size: 14px;
   color: #555;
   width:100%;
   padding: 5%;
   display: flex;
   justify-content: center;
 }

 .component1-icon-group {
   display: flex;
   align-items: center;
   width: 100%;
   display: flex;
   justify-content: center;
 }

 .component1-icon {
   width: 20px;
   height: 20px;
   margin-right: 10px;
   fill: #555;
 }

 .component1-icon2,
 .component1-icon4 {
   width: 20px;
   height: 20px;
   margin: 0 5px;
   fill: #555;
 }

 .component1-links-container {
   display: flex;
   justify-content: space-between;
   flex-wrap: nowrap;
   width: 67%;
   align-items: center;
 }

 .component1-container2 {
   display: flex;
   flex-direction: column;
   width: 100%;
    text-align: center;
 }

 .component1-container3,
 .component1-container4,
 .component1-container6,
 .component1-container7 {
   display: flex;
   flex-direction: column;
   margin-bottom: 10px;
 }

 .component1-text06{
   font-size: 14px;
   line-height: 20px;
   color: #555;
   margin-bottom: 5px;
   font-weight: bold; ;
 }


 .component1-container5{
   display: flex;
   flex-direction: column;
   margin-bottom: 10px;
   height: 100%;
   margin-top: 4%;
 }

 .component1-text07,
 .component1-text08,
 .component1-text09,
 .component1-text11,
 .component1-text12,
 .component1-text13,
 .component1-text14,
 .component1-text16,
 .component1-text17,
 .component1-text18,
 .component1-text19,
 .component1-text21,
 .component1-text22,
 .component1-text23,
 .component1-text24,
 .component1-text31,
 .component1-text32 {
   font-size: 14px;
   line-height: 20px;
   color: #555;
   margin-bottom: 5px;
 }

.component1-container5,
.component1-container7 {
  margin-right: 0;
  width: 100%;
}

    .col-lg-4{
        width: 100%;
        text-align: center;
        flex-direction: column
    }
    .col-lg-4 p{
        width: 50%;
        display: flex;
            flex-direction: column;
    }
    .col-lg-4 h2{
        width: 50%
    }
 /*footer*/

 /*Entrar*/
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border-radius: 5px;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
}
.form_main {
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgb(255, 255, 255);
  padding: 30px 30px 30px 30px;
  box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.062);
  position: relative;
  overflow: hidden;
}

.form_main::before {
  position: absolute;
  content: "";
  width: 300px;
  height: 300px;
  background-color: rgb(91, 155, 240);
  transform: rotate(45deg);
  left: -180px;
  bottom: 30px;
  z-index: 1;
  border-radius: 30px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.082);
}

.heading {
  font-size: 2em;
  color: #2e2e2e;
  font-weight: 700;
  margin: 5px 0 10px 0;
  z-index: 2;
}

.inputContainer {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.inputIcon {
  position: absolute;
  left: 3px;
}

.inputField {
  width: 100%;
  height: 30px;
  background-color: transparent;
  border: none;
  border-bottom: 2px solid rgb(173, 173, 173);
  margin: 10px 0;
  color: black;
  font-size: .8em;
  font-weight: 500;
  box-sizing: border-box;
  padding-left: 30px;
}

.inputField:focus {
  outline: none;
  border-bottom: 2px solid rgb(156, 149, 160);
}

.inputField::placeholder {
  color: rgb(80, 80, 80);
  font-size: 1em;
  font-weight: 500;
}

#button {
  z-index: 2;
  position: relative;
  width: 100%;
  border: none;
  background-color: rgb(150, 149, 153);
  height: 30px;
  color: white;
  font-size: .8em;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 10px;
  cursor: pointer;
}

#button:hover {
  background-color: rgb(69, 20, 219);
}

.forgotLink {
  z-index: 2;
  font-size: .7em;
  font-weight: 500;
  color: rgb(44, 24, 128);
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 20px;
}

.descript{
    display: flex;
    justify-content: center;
    padding-right: 10em;
    padding-left: 10em;
}




.col-12{
    text-align: center;
}

.row_text{
    text-align: center;
}

.validate{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.col-md-12{
    display: flex;
    justify-content: center;
    font-size: 2em;
}


.row{
    display: flex;
    justify-content: center;
}






@media screen and (max-width: 768px) {
    .header {
        padding: 10px;
        text-align: center;
    }
    .Vivienda-block h2 {
        font-size: 50%;
    }
    .language select {
                width: 100%;
                padding: 0.5rem;
                font-size: 50%;
                background-color: #fff;
        }
        .img_logo img {
            width: 60%;
        }

    .header h1 {
        font-size: 36px;
        padding: 10px 0;
    }
    nav {
        display: flex;
        justify-content: center;
        width: auto;
        flex-direction: column;
    }
    .img_logo {
        width: 100%;
        margin: 0px;
        display: flex;
        justify-content: center;
    }

    .header nav {
        text-align: center;
    }

    .header nav li {
        display: block;
        margin: 10px;
    }

    .logo {
        width: 150px;
        height: 100px;
    }

    .component-text, .component-text1 {
        font-size: 24px;
    }

    .pre-menu img {
        width: 150px;
        height: 150px;
    }

    .Vivienda-block, .terrenos-block {
    }

    .Vivienda-block img, .terrenos-block img {
        width: 150px;
        height: 130px;
    }

    .component1-container1, .component1-text, .component1-icon-group, .component1-links-container {
        width: 100%;
        justify-content: center;
    }

    .component1-icon, .component1-icon2, .component1-icon4 {
        width: 16px;
        height: 16px;
    }

    .component1-container2, .component1-container3, .component1-container4, .component1-container5,
    .component1-container6, .component1-container7 {
        margin-right: 0;
    }
    .card-precio {
                font-size: 70%;
                    margin: 0%;
                    margin-left: 8%;
                    position: inherit;
    }

    .card-precio {
    font-size: 80%;
    }


    .fon {
        display: none;
    }

    .popup-content {
        width: 80%;
    }

    .form_main::before {
        width: 200px;
        height: 200px;
        left: -120px;
    }
    .Valorac {
     display: flex;
         flex-direction: column;
         margin: 2%;
         box-shadow: 0em 0em 3em #46464694;
         border-radius: 20px;
         flex-wrap: wrap;
         align-content: center;
         color: #3c3c3c;
         text-align: center;
         align-items: baseline;
         width: 100%;
    }
    .Autorizacion {
     display: flex;
         flex-direction: column;
         margin: 2%;
         box-shadow: 0em 0em 3em #46464694;
         border-radius: 20px;
         flex-wrap: wrap;
         align-content: center;
         color: #3c3c3c;
         text-align: center;
         align-items: baseline;
         width: 100%;
    }
    .INQUILINOS {
    display: flex;
        flex-direction: column;
        margin: 2%;
        box-shadow: 0em 0em 3em #46464694;
        border-radius: 20px;
        flex-wrap: wrap;
        align-content: center;
        color: #3c3c3c;
        text-align: center;
        align-items: baseline;
        width: 100%;
    }
    .CONTRATOC {
    display: flex;
        flex-direction: column;
        margin: 2%;
        box-shadow: 0em 0em 3em #46464694;
        border-radius: 20px;
        flex-wrap: wrap;
        align-content: center;
        color: #3c3c3c;
        text-align: center;
        align-items: baseline;
        width: 100%;
    }
    .carousel-view .item-list {
        width: 70%;
        padding: 10px 10px;
        display: flex;
        scroll-behavior: smooth;
        transition: all 0.25s ease-in;
        -ms-overflow-style: none;
        scrollbar-width: none;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
    }
    .Vivienda-block {
            box-shadow: 6px -2px 14px 10px #d4d4d4;
            position: relative;
            margin: 1%;
            background-position: center center;
            background-size: cover;
            transition: 0.3s;
            background-color: #ffffff;
            height: 200px;
            width: 200px !important;
    }
    .carousel-view .item-list {
        width: 70%;
        padding: 10px 10px;
        display: flex;
        scroll-behavior: smooth;
        transition: all 0.25s ease-in;
        -ms-overflow-style: none;
        scrollbar-width: none;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
    }
    .row {
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
    html{
        overflow-x: hidden;
    }
    .containers_l h5 {
        font-size: 90%;
        text-align: center;
    }
    .descript {
        display: flex;
        justify-content: center;
        flex-direction: column;
        width: 100%;
        padding-right: inherit;
        padding-left: inherit;
    }


@media only screen and (max-width: 600px) {
    /* Обнуляем отступы и устанавливаем базовый шрифт */
    body {
        margin: 0;
        padding: 0;
        width: 100%;
        overflow-x: hidden;
    }

    /* Стиль для заголовков */
    h3, h5 {
        font-size: 1.5rem;
    }

    /* Стиль для параграфов */
    p {
        font-size: 1rem;
        line-height: 1.5;
    }
    .col-lg-4 p {
            width: 100%;
            display: flex;
                flex-direction: column
        }
        .col-lg-4 h2 {
            width: 100%;
        }
    /* Основной стиль для ссылок */
    a {
        text-decoration: none;
    }

    /* Стиль для навигационного меню */
    nav ul {
        list-style: none;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width:100%;
    }

    nav ul li {
        display: block;
        padding: 1rem;
        text-align: center;
    }

    nav ul li a {
    }

    /* Стиль для логотипа в навигационном меню */
    .nav-logo img {
        max-width: 100px;
    }

    /* Стиль для выпадающего меню */
    #propertySelect {
        width: 100%;
        padding: 0.5rem;
        font-size: 1rem;
        border: 1px solid #ccc;
    }

    /* Стиль для изображения лупы в поиске */
    .search img {
        max-width: 20px;
    }

    /* Стиль для выбора языка */
    .language select {
            width: 100%;
            padding: 0.5rem;
            font-size: 50%;
            background-color: #fff;
    }

    /* Стиль для кнопок */
    .btn {
            font-size: 80%;
            width: 30%;
            margin-right: 3%;
            margin-left: 3%;
    }

    .btn-black {
        background-color: #000;
    }

    .btn-white {
        background-color: #fff;
    }

    /* Стиль для баннеров */
    .mini-banner {
        display: block;
        text-align: center;
    }

    .mini-banner img {
        max-width: 100%;
    }

    .mini-banner-header {
        font-size: 1.25rem;
        font-weight: bold;
        margin-top: 0.5rem;
    }

    .mini-banner-body {
        font-size: 1rem;
    }

    /* Стиль для сервисов */
    .Services {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    /* Стиль для иконок сервисов */
    .Services ul {
        text-align: center;
        margin: 0;
        padding: 0;
    }

    .Services ul li {
        list-style: none;
        margin-bottom: 0.5rem;
    }

    .Services ul li img {
        max-width: 60px;
    }

    /* Стиль для контейнера с превью карточек недвижимости */
    .container {
        max-width: 100%;
        overflow: hidden;
    }

    /* Стиль для карусели с карточками недвижимости */
    .carousel-view {
        position: relative;
    }

    /* Стиль для кнопок навигации карусели */
    .prev-btn, .next-btn {
        width: 20%;
    }
    .prev-btn img, .next-btn img{
        width: 40%;
        height: 40%;
        }

    .prev-btn {
        width: 20%;
    }

    .next-btn {
        width: 20%;
    }

    /* Стиль для списка карточек недвижимости */
    .item-list {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding-bottom: 1rem;
    }

    /* Стиль для каждой карточки недвижимости */
    .Vivienda-block {
        margin-right: 1rem;
    }

    /* Стиль для изображения в карточке */
    .card-preview-img {
        max-width: 100%;
    }




    /* Стиль для города в карточке */
    .card-ciudad {
    font-size: 60%;
        margin: 03%;

    }

    .card-ciudad img {
        width: 5%;
        height: auto;

    }

    /* Стиль для иконок в карточке (спальни, ванны) */
    .card-img-top {
    width: 300px;
        overflow: hidden;
        display: flex;
        margin-right: 30%;
        flex-wrap: wrap;

    }

    .card-bed, .card-bath, .card-tamano {
    display: flex;
        align-items: center;
        font-size: 80%;
        margin: 2%;
        width: 10%;
    }

    .card-bed img, .card-bath img, .card-tamano img {
            width: 20%;
            height: 70%;
    }

    /* Стиль для размера в карточке */
    .card-tamano span {
        font-weight: bold;
    }

    /* Стиль для футера */
    .component1-footer {
        flex-direction: column;
    }

    .component1-container1 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .component1-container1 h2 {
        font-size: 1.5rem;
    }

    .component1-text {
        font-size: 1rem;
    }

    .component1-icon-group {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }

    /* Стиль для иконок социальных сетей в футере */
    .component1-icon {
        width: 30px;
        height: 30px;
        margin: 0 0.5rem;
    }

    .component1-links-container {
            padding: 1rem 0;
    display: flex;
    flex-direction: column;
    }

    .component1-container2, .component1-container5 {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        align-items: center;
    }

    .component1-container6 {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }

    /* Стиль для попапа */
    .popup {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

    .popup-content {
        background-color: #fff;
        padding: 1rem;
        border-radius: 5px;
        text-align: center;
        position: relative;
    }

    .close {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        font-size: 1.25rem;
        cursor: pointer;
    }

    .form_main {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .heading {
        font-size: 1.5rem;
        font-weight: bold;
    }

    .inputContainer {
        display: flex;
        align-items: center;
    }

    .inputIcon {
        width: 16px;
        height: 16px;
        margin-right: 0.5rem;
    }

    .inputField {
        padding: 0.5rem;
        font-size: 1rem;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    button {
        color: #fff;
        padding: 0.5rem 1rem;
        font-size: 1rem;
        border: none;
        cursor: pointer;
    }

    a {
        text-decoration: none;
    }
    .language {
        display: flex;
        height: max-content;
        align-items: center;
        width: 20%;
        position: absolute;
        top: 0;
        left: 80%;
    }

    .fon_p {
        position: absolute;
        z-index: -1;
        top: 0;
        width: 100%;
        height: 20%;
    }
    .containers_l {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    }
    .container img {
        height: none;
    }

    /* Медиа-запрос для мобильных устройств */
    @media (max-width: 1064px) {
        /* Убираем изображение лупы в поиске */
        .search img {
            display: none;
        }

        /* Уменьшаем размер шрифта для навигационного меню */
        nav ul li {
            font-size: 0.9rem;
        }

        /* Уменьшаем размер шрифта для кнопок */
        .btn {
            font-size: 80%;
            width: 30%;
            margin-right: 3%;
            margin-left: 3%;
        }
        /* Уменьшаем размер шрифта для заголовков */
        h3, h5 {
            font-size: 1.25rem;
        }

        /* Уменьшаем размер шрифта для параграфов */
        p {
            font-size: 0.9rem;
        }

        /* Уменьшаем размер шрифта для футера */
        .component1-footer {
                padding: 1rem 0;
    display: flex;
    flex-direction: column;
        }

        /* Уменьшаем размер шрифта для иконок социальных сетей в футере */
        .component1-icon {
            width: 20px;
            height: 20px;
        }
    }
















