nav {
    padding: 1% 10%;
    background-color: transparent;
    box-shadow: none;
}

nav .brand-logo {
    font-weight: 600;
    color: black;
    font-family: 'MyCustomFont2', sans-serif; /* Якщо шрифт недоступний, fallback */
    font-size: 37px;
}

nav .brand-logo span {
    color: green;
}


.nav-extended a {
    color: black;
    display: flex;
    align-items: center;
    height: 37px;
    margin: 0 5px;
}

.nav-extended ul a {
    border: 0.8px solid rgba(201, 201, 201, 0.637);
    border-radius: 20px;
    font-weight: 300;
}

.nav-extended a img {
    width: 20px;
}

.nav-wrapper ul li a:hover {
    background-color: transparent !important;
}

.nav-extended {
    padding: 30px 4% 0 4%;
}


header {
    background-image: url('../articles/other/vienna-property-hero.jpg');
    background-repeat: no-repeat;
    background-position: left top;
    background-size: 100% !important;
    background-size: auto;
    width: 100%;
    overflow: hidden; /* на випадок, якщо бекграунд має виходити за межі */
    padding: 5%;
    margin-top: 5px;
    position: relative;
    z-index: 0.5;
    border-radius: 50px;
    background-size: contain;
    aspect-ratio: 16 / 7; 
}


header .l7 span {
    font-size: 100px;
    font-family: Arial, Helvetica, sans-serif, sans-serif; /* Якщо шрифт недоступний, fallback */
    color: white;
    font-weight: 800;
    line-height: 1;
}

header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); /* <-- затемнення */
  z-index: 0.4;
}




header span {
  color: white;
  font-size: 4rem;
  z-index: 2;
  position: relative;
}

header form {
    position: relative;
    margin-top: 40px;
    display: flex;
    justify-content: left;
}

header form input {
    all: unset !important;
    border: 2px solid white !important;
    color: white !important;
    padding: 2.4% !important;
    border-radius: 7px !important;
    font-size: 18px !important;
    backdrop-filter: blur(0.4px) !important;
    -webkit-backdrop-filter: blur(0.4px) !important; 
    background-color: rgba(68, 68, 68, 0.2) !important; 
    scale: 0.98 !important;
}

header form button {
    border: 2px solid white;
    font-size: 18px !important;
    backdrop-filter: blur(0.4px) !important;
    -webkit-backdrop-filter: blur(0.4px) !important; 
    background-color: rgba(68, 68, 68, 0.2) !important; 
    border-radius: 7px;
    color: white !important;
    scale: 0.98 !important;
    margin-left: 0 !important;
    display: flex;
    align-items: center;
    font-weight: 500;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    padding-left: 20px;
}

header form button img {
    width: 25px; 
    margin: 0 15px;
}

header form input::placeholder {
    font-weight: 200;
    color: white;
}


header .l5 .img_box {
    display: flex;
    justify-content: end;
}

header .l5 img {
    position: relative;
    z-index: 1;
    background-color: rgb(255, 255, 255);
    padding: 20px;
    border-radius: 100%;
    width: 170px;
}

header .l5 .text {
    font-size: 24px;
    text-align: end;
    position: relative;
    z-index: 1;
    color: white;
    font-weight: 200;
    margin-top: 40px;
    font-family: Arial, Helvetica, sans-serif, sans-serif;
}

.article {
    margin-top: 130px;
    background-color: rgb(246, 246, 246);
    border-radius: 100px 100px 0 0;
    padding: 0 5%;
    padding-bottom: 90px;
}


.article h1 {
    padding: 80px 100px;
    font-family: Arial, Helvetica, sans-serif, sans-serif; /* Якщо шрифт недоступний, fallback */
    font-weight: 600;
    text-align: center;
    font-size: 50px;
}

.article h1 span {
    color: green;
}

.article h2 span {
    color: green;
}

.article h3 span {
    color: green;
}

.article p {
    font-size: 20px;
    font-weight: 200;
}

.article h2 {
    font-size: 30px;
    font-weight: 600;
}


.article h3 {
    font-size: 30px;
    font-weight: 600;
}

.article img {
    margin-top: 50px;
    border-radius: 50px;
    width: 50%;
}

.article ul li {
    font-size: 17px;
    font-weight: 200;
    list-style-type: circle !important;
    margin-left: 20px;
}












footer {
    padding: 50px 5% 80px 5%;
    border-radius: 0 0 50px 50px;
    margin-bottom: 0 !important;
    position: relative;
    z-index: 2;
    background-color: rgb(246, 246, 246);
}

footer .text {
    text-align: center;
    line-height: 1.3;
    font-size: 35px;
    font-weight: 500;
}

footer .text span {
    background-color: green;
    border-radius: 10px;
    padding: 0 10px 5px 10px;
    color: white;
    height: 60px;
    margin: 0 5px;
}


footer .menu_footer li {
    margin-top: 7px;
}

footer .menu_footer li a{
    font-size: 16px;
    font-weight: 200;
    color: black;
}

footer .title {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 15px;
    color: green;
}

footer .title2 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 15px;
    color: green;
    text-align: end;
}

footer .contacts .telefon {
    text-align: end;
}

footer .contacts .telefon a {
    font-size: 25px;
    color: black;
}

footer .contacts .email {
    display: flex;
    justify-content: end;
    margin-bottom: 30px;
}

footer .contacts .email a {
    font-size: 19px;
    color: black;
    font-weight: 200;
    margin-top: 5px;
}

footer .contacts .messenger a {
    display: flex;
    align-items: center;
    justify-content: end;
    margin-top: 10px;
}

footer .contacts .messenger a {
    color: black;
    font-weight: 200;
}

footer .contacts .messenger img {
    width: 20px;
    margin-right: 5px;
}



footer .button_box {
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .button_box a {
    margin-top: 10%;
    display: flex;
    align-self: end;
    width: 250px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: black;
    font-size: 17px;
    font-weight: 400;
    border: 2px solid green;
}








#modal1 {
    border-radius: 20px;
}


#modal1 .modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

#modal1 .modal-footer .text {
    font-size: 25px;
    font-family: Arial, Helvetica, sans-serif, sans-serif; /* Якщо шрифт недоступний, fallback */
}

#modal1 form span {
    font-size: 17px;
    font-weight: 200;
}

#modal1 form input {
    all: unset !important;
    width: 96% !important;
    border: 2px solid rgb(0, 0, 0) !important;
    color: rgb(0, 0, 0) !important;
    padding: 15px !important;
    border-radius: 7px !important;
    font-size: 18px !important;
    margin-top: 10px !important;
}


#modal1 form input::placeholder {
    font-weight: 200;   
}

#modal1 form .button-box {
    display: flex;
    justify-content: center;
}

#modal1 form .button-box input {
    width: 250px !important;
    text-align: center !important;
    font-weight: 500 !important;
    border-radius: 40px !important;
    margin-top: 30px !important;
}

#modal1 form #name {
    margin-top: 30px !important;
}


.sidenav li a {
    font-size: 19px;
    font-weight: 200;
}

.sidenav ul {
    display: flex;
    margin-top: 30px;
}

.sidenav ul li a img {
    width: 35px !important;
    border: 0.5px solid rgb(206, 206, 206);
    padding: 5px;
    border-radius: 10px;
}

.sidenav .title {
    font-weight: 600;
    color: black;
    font-family: 'MyCustomFont2', sans-serif; /* Якщо шрифт недоступний, fallback */
    font-size: 37px;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.sidenav .title span {
    color: green;
}


















  
@font-face {
    font-family: 'MyCustomFont1'; /* Назва шрифту */
    src: url('../Montserrat_Alternates/MontserratAlternates-Light.ttf') format('woff2'); /* Шрифт у форматі woff2 */
    font-weight: normal; /* Вага шрифту: normal, bold, тощо */
    font-style: normal;  /* Стиль шрифту: normal, italic, тощо */
  }

  @font-face {
    font-family: 'MyCustomFont2'; /* Назва шрифту */
    src: url('../Montserrat_Alternates/MontserratAlternates-Medium.ttf') format('woff2'); /* Шрифт у форматі woff2 */
    font-weight: normal; /* Вага шрифту: normal, bold, тощо */
    font-style: normal;  /* Стиль шрифту: normal, italic, тощо */
  }




  @media (max-width: 1300px) { 
    header .l7 span {
        font-size: 60px !important;
    }

    header form {
        display: block;
    }

    header form input {
        width: 94% !important;
        margin-bottom: 10px !important;
    }

    header form button {
        height: 59.78px;
        width: 100%;
    }

    
  }


  @media (max-width: 1100px) { 
        header {
            padding: 5% 4%;
            background-image: url('../articles/other/vienna-property-hero.jpg') !important;
            background-repeat: no-repeat !important;
            background-position: center !important;
            background-size: auto 100% !important;

            /* Перекриваємо непотрібні властивості */
            aspect-ratio: unset !important;
            background-size: unset !important;

            /* А тепер задаємо те, що потрібно */
            background-size: auto 100% !important;

        }

        header h1 {
            font-size: 50px;
        }

        header .l5 .img_box {
            margin-top: 50px;
            justify-content: center !important;
        }

        header .l5 .text {
            text-align: center;
        }
    }



  @media (max-width: 600px) { 
    .article {
        padding-bottom: 20px;
    }

    .article h1 {
        padding: 50px 10px;
        font-size: 30px;
    }
 
    .article img {
        width: 100%;
    }

    header {
        padding: 10% 6%;
    }

    header > .l7 > span {
        font-size: 50px !important;
    }

    header form input {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    .nav-wrapper .sidenav-trigger i {
        font-size: 30px;
    }

  }


