* {
    box-sizing: content-box;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #e4e4e4;
}

h1 {
    text-align: center;
    letter-spacing: -1px;
    padding-top: 1em;
    padding-bottom: 1vw;
    color: #2d3947;
    font-weight: 400;
    font-size: clamp(30px, 3vw, 40px)
}
h2 {
    letter-spacing: -1px;
    color: #2d3947;
    font-weight: 500;
    font-size: 1.8em
}
section {
    margin-bottom: 2em;
}

#sec1 {
    margin: 12% auto 15% auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    width: 100%;
    flex-direction: row;
}

#background-img {
    position: absolute;
    width: 100%;
    min-height: 55em;
    top: 0;
    left: 0;
    z-index: -1;
}

#sec1-txt {
    background-color: #e4e4e4b9;
    backdrop-filter: blur(10px);
    text-align: left;
    max-width: 40em;
    padding: 3em 2em;
}
#sec1-txt h2 {
    padding-bottom: 1.5em;
    word-wrap: break-word;
}
#sec1-txt p {
    text-align: left;
}

main {
    width: 100%;
}
#sec2 {
    padding: 120px 0;
    width: 100%;
    background-color: #e4e4e4;
}
#sec2 h2 {
    text-align: center;
    margin-bottom: 2em;
}

#sec2 h3 {
    text-align: center;
    word-wrap:break-word;
    hyphens: auto;
    font-weight: 300;
    font-size: 1.2em;
    color: #2d3947;

}

#sec2 a {
    text-decoration: none;
    transition: all 500ms;
}
#sec2 h3:hover {
    color: #82a1c9;
}

.content-box {
    width: 80%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: auto;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 2em 3em;
    margin: 2em 1em;
    width: 15em;
    box-shadow: 0 0 10px 1px #2d39472f;
    transition: all 500ms;

    transform: scale(.9);
}

.content img {
    width: 8em;
    padding: 0 2em 2em 2em;
    size: 70%;
}

#three-img-sec2 {
    padding: 1em;
    border-radius: 50%;
}

#sec2 #four-sec2 a {
    width: 100%;
}

#sec2 #four-sec2 a #four-img-sec2 {
    width: 100%;
  	padding: 0;
    size: 100%;
}

.content:hover {
    transform: scale(1);
}


#sec3 {
    width: 85%;
    min-height: 500px;
    margin: auto;
    margin-bottom: 120px;
    padding: 3em 2em;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    background-color: #e4e4e4;
    position: relative;
    color: #2d3947;
    overflow: visible;
    z-index: -2;
    border-radius: 20px;
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, .2);
}
#sec3 img {
    width: clamp(20em , 26.67vw, 26.67em);
    object-fit:cover;
    background-color: #2d3947;
    object-position: 60%;
    height: 700px;
    width: 35em;
   margin: 2em 0;
   margin-left: -2em;
   border-radius: 0 10px 10px 0;
}


.content-txt h2 {
    margin-bottom: 1em;
    font-weight: 300;
    color: #2d3947;
}
.content-txt {
    padding: min(2vw, 2em);
    margin: auto;
    align-items: center;
    max-width: 45em;
    width: clamp(20em, 40vw, 45em);
}

#question {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 auto 2em auto;
    width: 60%;
    padding: 2em;
}
#question p {
    max-width: 30em;
    padding-right: 1em;
    margin: 2em 0;
}

#btn1 {
    width: fit-content;
    padding: 2em 3em;
    border-radius: 5px;
    background-color: #82a1c9;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transition: all 750ms;
    border: none;
}

#btn1:hover {
    transform: scale(1.1);
    cursor: pointer;
}

#btn1 a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 400;
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 1200px) {
    section {
        margin-bottom: 4em;
    }
    #background-img {
        top: 0;
        height: 36em;
        object-fit: cover;
    }
    #sec1-txt {
        backdrop-filter: none;
        background-color: #e4e4e4e3;
        margin: 0 auto;
        width: 70%;
    }

}

@media only screen and (max-width: 900px) {
    #background-img {
        top: 0;
        object-fit: cover;
        width: 100% ; 
        height: 32em;
    }
    #sec1-txt {
        backdrop-filter: none;
        background-color: #e4e4e4e3;
        margin: 0 auto;
        width: 70%;
    }

}