@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&display=swap');

body{
    margin:0;
    min-width:100vw;
    min-height: 100vh;
    color: black;
    overflow-x: hidden;
    /*
    font-family: 'Courier New', Courier, monospace;
    */
    font-family: 'Montserrat', sans-serif;

    --p:1rem;
    --h1:3rem;
    --h2:2.5rem;

    --tertiary1:hsl(294.15,27.89%,71.18%);
    --tertiary2:hsl(289.81,50.48%,20.59%);
    --boxShadow:  0 2px 4px rgba(0, 0, 0, 0.06),
                    0 8px 16px rgba(0, 0, 0, 0.08),
                    0 16px 32px rgba(0, 0, 0, 0.06);;
}
p{
    font-size: var(--p);
}
h1{
    font-size: var(--h1);
}
h2{
    font-size: var(--h2);
}
header{
    
    position: fixed;
    top: 0;
    left: 0;
    width:100%;
    
    z-index: 100;
}
.header{
    
    display: flex;
    justify-content: center;
    width:100%;
}
.headerContent{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width:70%;
    height:5rem;
    background-color: hsla(0, 0%, 43%, 0.747);
    backdrop-filter: blur(6px);
    padding-inline: 1rem;
    border-radius: 5rem;
}
#logoCont{
    width: 20%;
    height:100%;
    background-image: url("/assets/logo.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#navCont{
    width:fit-content;
    padding: 0;
    width:100%;
}
nav>ul{
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding:0;
}
nav>ul>li{
    list-style: none;
    
}
nav>ul>li>a{
    text-decoration: none;
    color: hsl(0, 0%, 100%);
}
#thirdCont{
    display: flex;
    flex-direction: row-reverse;
    width:20%;
}
#landingContainer{
    overflow: hidden;
    z-index: 1;
    display: flex;
    width:100%;
    background-color: hsla(223, 36%, 78%, 0);
}
#landingTextContainer{
    z-index: 4;
    background-color: transparent;
    width: 30%;
    position: relative;
}
#landingTextContainer::before{
    top: 10%;
    left: 20%;
    z-index: 3;
    content: "";
    display: inherit;
    position: absolute;
    inset: 0;
    width:200%;
    height:99%;
    border: none;
    border-radius: 0px 50% 0px 0px;
    backdrop-filter: blur(6px);
    background-blend-mode: screen;
    background: linear-gradient(15deg, hsl(223.08,34.51%,77.84%) 0%, hsl(223, 36%, 58%) 50%, hsla(223, 36%, 58%, 0.226) 100%) ;
}
#landingText{

    position: absolute;
    top: 40%;
    width: 250%;
    margin-left: 5vw;
    z-index: 5;
}
#landingTopic{
    font-size: var(--h1);
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    width: 70%;
    color: white;
    backdrop-filter: blur(1px);
}
#landingDesc{
    color: rgb(233, 233, 233);
    backdrop-filter: blur(1px);
    border-radius: 50%;
}
#landingImgContainer{
    margin: 0;
    z-index: 2;
    overflow: hidden;
    width:100%;
}
#landingImgContainer>img{

    margin: -200px 0px 0px 0px;
    object-fit: cover;
    width:100%;
    
}
#bookAppointmentBtn{
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 1rem 2rem;
    background-color: var(--tertiary1);
    box-shadow: var(--boxShadow);
    line-height: 3rem
}
#servicesSummary{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 50;
    min-height:100vh;
    width:100%;
    
}
#servicesContainer{
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}
.service{
    width: 20vw;
    height:25vh;
    border: 1px solid var(--tertiary1);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    overflow: hidden;
    margin: 0.5rem;

}
.serviceSummaryDescription{
    width:100%;
    height:20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    padding: 0.25rem;
    background-color: rgba(128, 128, 128, 0.438);
}
#teamContainer{
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width:100%;
    

}
.expertCard{
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    width: 60%;
    height: 100%;
    border: 5px solid var(--tertiary1);
    border-radius: 10px;
}
.expertImg{
    width:50%;
    height: 100%;
    overflow: hidden;
}
.expertImg>img{
    object-fit: cover;
    width:100%;
    
}

@media(width<768px){
    .headerContent{
        width: 90%;
        height:60px;
    }
    #navCont{
        display: none;
    }
    #landingContainer{
        flex-direction: column;
        min-height: 80vh;   /* important */
    }
    #landingText{
        margin-top: 50%;
    }

    #landingImgContainer{
        height: 90vh;
        width: 100%;
    }

    #landingImgContainer img{
        height: 100%;
        width: 100%;
        object-fit: cover;
        margin: 0;  /* remove that -200px chaos */
    }
    .service{
        width:40%;
    }
    .expertCard{
        flex-direction: column;
    }


}