:root{
    --primary-orange: #F19032;
    --primary-green: #8A9A76;
    --primary-bluegrey: #43474A;

    --primary-light-orange: #FCE5CF;
    --primary-light-green: #D3DEC0;
    --primary-light-bluegrey: #E8ECEF;

    --background2: #FAF8F5;
    --background: #FBF6F2;
    --background-second: #F6F5F2;
    
    --text: #43474A;
    --text-light: #777C80;
    color-scheme: light only;
}


*{
    color: var(--text);
    font-family: "Manrope", sans-serif;
}

.selected{
    color: var(--primary-orange);
}

body{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: var(--background);
    padding: 1rem;
    box-sizing: border-box;
    overflow: scroll;
}

html {
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none;   /* IE/Edge */
}

html::-webkit-scrollbar {
    display: none;              /* Chrome, Safari, Edge */
}

.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 2rem;
    padding-right: 2rem;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
}

.container-logo{
    display: flex;
}

.logo{
    width: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-text-bottom{
    font-variant: small-caps;
    color: var(--primary-orange);

}

.phonenumber{
    text-decoration: none;
    background-color: var(--primary-orange);
    border-radius: 20px;
    padding: 0.7rem;
}

.phonenumber img{
    display: none;
}

.phonenumber div{
    color: white;
}

.navigation-bar{
    display: flex;
    justify-content: space-around;
    width: clamp(360px, 50%, 500px);
}

.container-content{
    padding: 1rem;
    padding-top: 1.5rem;
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    background-image:url(./pics/immo-kaiser4.png);
    background-position: right;
    background-size: auto 100%;
    background-repeat: no-repeat;
    max-width: 1600px;
}

.content-left{
    flex: 1;
    padding-top: 1rem;
}

.content-right{
    display: inline-flex;
    flex: 1;
    justify-content: flex-end;
    align-items: flex-start;
}


.slogan{
    display: inline-flex;
    background-color: rgb(231, 229, 229);
    padding: 0.8rem;
    border-radius: 30px;
    font-size:small;

    align-items: center;
    font-variant: small-caps;
}

.mountain{
    width: 30px;
    padding-right: 10px;
}

.mountain-icon {
    stroke: var(--primary-bluegrey);
}

.wave-svg {
    position: absolute;
    display: block;
    bottom: 0;
    width: 100vw;
    height: 50px;
    z-index: 1;
}


.title{
    margin-top: 1.5rem;
    font-size: xx-large;
    font-weight: bold;
}

.subtitle{
    color: var(--primary-orange);
    font-size: xx-large;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.text{
    white-space: nowrap;
}

.container-benefits{
    display: flex;
    margin-bottom: 5rem;
    margin-top: 2rem;
    gap: 1rem;
}

.container-benefits > div{
    display: flex;
    gap: 0.5rem;
    background-color: var(--background);
    padding: 0.8rem;
    border-radius: 15%;
    min-width: 172px;
    box-sizing: border-box;
}

.benefit{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    padding: 0.5rem;
    background-color: rgb(231, 229, 229);
}

.benefit svg{
    width: 30px;
    aspect-ratio: 1;
}

.benefit svg path{
    stroke: var(--text);
}

.text-benefits{
    font-size: small;
    font-variant: small-caps;
    white-space: nowrap;
}

.container-benefits-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slogan-big{
    display: inline-flex;
    flex-direction: column;
    background-color: var(--primary-green);
    padding: 1rem;
    border-radius: 15%;
    margin-top: 1rem;
}

.slogan-big div{
    color: white;
    font-size: small;
}

.slogan-big div{
    font-size: x-small;
}

.slogan-big-text{
    font-variant: small-caps;
    font-weight: bold;
}

.slogan-big svg{
    width: 40px;
    margin-bottom: 0.5rem;
}

.slogan-big svg path{
    stroke: white;
}

.title-services{
    color: var(--primary-orange);
    font-variant: small-caps;
    font-weight: bold;
    font-size: larger;
}

.container-subtitle-services{
    display: flex;
    font-size: xx-large;
    gap: 0.5rem;
    font-weight: bold;
}

.subtitle-services{
    color: var(--primary-green);
}

.container-benefits-big{
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    gap: 2rem;
}

.container-benefits-big div{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefit-big{
    padding: 1rem;
    background-color: #FFFDFB;;
    border-radius: 10%;
    width: calc((100% - 5*1rem) /  6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.benefit-big-title{
    font-weight: bold;
    padding: 1rem;
}

.benefit-big-text{
    text-align: center;
    font-size: small;
    white-space: nowrap;
}

.benefit-big-container-icon{
    background-color: #43474A;
    border-radius: 100%;
}

.benefit-big-icon{
    width: 55px;
    aspect-ratio: 1;
}

.background-light-orange{
    background-color: var(--primary-light-orange);
}

.background-light-green{
    background-color: var(--primary-light-green);
}

.background-light-bluegrey{
    background-color: var(--primary-light-bluegrey);
}

.benefit-big-underline{
    font-weight: bolder;
    font-size: larger;
}

.color-orange{
    color: var(--primary-orange);
}

.color-green{
    color: var(--primary-green);
}

.color-bluegrey{
    color: var(--primary-bluegrey)
}

.contact{
    display: flex;
    justify-content: space-around;
    width: 100vw;
    margin: 2rem;
}

.contact-icon{
    width: 50px;
    aspect-ratio: 1;
}

.container-information{
    display: flex;
    justify-content: center;
    align-items: center;
}

.container-contact-icon{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
}

.information{
    padding-left: 1rem;
}

.container-middle{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (min-width: 1600px) {
    .wave-svg {
        width: 1601px;
        right: -1px;
    }
}

@media (max-width: 1480px) {
    .container-benefits-big {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 1rem;
    }

    .container-content{
        padding-top: 0;
    }

    .benefit-big{
        width: auto;
    }
}

@media (max-width: 1050px){
    .contact{
        font-size: small;
    }

    .contact-icon{
        width: 35px;
    }
}

@media (max-width: 790px){
    .container-benefits-big{
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
    }

    body{
        justify-content: flex-start;
    }
}

@media (max-width: 770px) {
    .phonenumber div{
        display: none;
    }

    .phonenumber{
        border-radius: 100%;
        padding: 0;
    }

    .phonenumber img{
        display: block;
        width: 50px
    }

    .container-logo{
        flex-direction: column;
        align-items: center;
    }


    .logo{
        width: 100px;
    }

    .container-content{
        padding: 0.8rem;
    }

    .title, .subtitle{
        font-size: larger;
    }

    .text{
        font-size: small;
    }

    .container-benefits{
        gap: 0.5rem;
    }

    .container-benefits > div{
        padding: 0.3rem;
        min-width: 150px;
    }

    .text-benefits{
        font-size: x-small;
    }
    
}

@media (max-width: 754px) {
    .contact{
        flex-direction: column;
        gap: 1rem;
    }

    .information{
        width: 170px;
    }
}

@media (max-width: 600px) {
   .container-benefits{
        flex-direction: column;
        margin-bottom: 3rem;
   }

   .container-benefits > div{
        max-width: 150px;
   }

   .text{
        display: none;
   }

   .container-subtitle-services{
        font-size: larger;
   }
   
   .title-services{
        font-size: small;
   }

   .benefit-big-title{
        font-size: small;
        padding: 0.3rem;
   }

   .benefit-big-text{
       font-size: x-small; 
   }

   .benefit-big-underline{
        font-size: small;
   }

   .benefit-big{
        padding: 0.5rem;
   }

   .benefit-big-icon{
        width: 40px;
   }

   .information{
        font-size: x-small;
   }

   .slogan{
        font-size: x-small;
   }

   .slogan-big{
        padding: 0.5rem;
   }

   .slogan-big .mountain{
        width: 30px;
   }

   .benefit svg{
        width: 20px;
   }

   body{
    padding: 0.5rem;
   }

   .navigation-bar{
    font-size: small;
    max-width: 300px;
   }

   .phonenumber img{
        width: 40px;
   }

   .slogan{
        padding: 0.5rem;
   }

   .logo{
        width: 80px;
   }

   .header{
        padding-left: 1rem;
        padding-right: 1rem;
   }

}

@media (max-width: 500px) {
    .subtitle{
        font-size: small;
    }

    .navigation-bar{
        font-size: x-small;
        max-width: 250px;
    }
}

@media (max-width: 420px){
    .benefit-big-icon{
        width: 30px;
    }

    .benefit-big-title{
        font-size: x-small;
    }

    .benefit-big-text{
        font-size: xx-small;
    }

    .benefit-big-underline{
        font-size: x-small;
    }

    .container-content{
        padding: 0.2rem;
    }
}

@media (max-width: 390px){
    .slogan{
        font-size: xx-small;
        padding: 0.3rem;
    }

    .slogan-big .mountain{
        width: 25px;
    }

    .slogan .mountain{
        width: 25px;
    }

    .title{
        font-size: large;
    }

    .container-subtitle-services{
        font-size: medium;
    }

}