html{scroll-behavior: smooth;}
.logoHome{
    border: none;
    background-color: transparent;
}
*{box-sizing: border-box;
padding: 0; margin: 0;
font-family: 'Quicksand',sans-serif;
}
body{
    font-family: 'Quicksand',sans-serif;
}
a{
    list-style: none;
    text-decoration: none;
    color: white;
}

li{
    list-style: none;
    margin: 0 10px 0 10px;
    font-size: 15px;
}
/*Preloader*/
.preloader{position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 100000;
    background-color: #6A9EB1;
    top: 0;
    display: flex;
    align-items: center;}
.preloader img {
    width:170px;
    margin: 0 auto;
}
/*Back To Top Button*/
#backToTop {
    display: none;
    position: fixed;
    z-index: 1;
    bottom: 15%;
    right: 50px;
    opacity: 80%;
    height: 70px; 
    width: 70px;
}
#backToTop:hover{
    transform: ease 0.3s;
    opacity: 100%;
}
/*Grid Header*/
.getHelpBtn{
    font-family: 'Quicksand',sans-serif;
    border: 1px solid black;
    padding: 3%;
}
.gridHeader{
    display: grid;
    width: 100%;
    background-color:#2C6276;
    border: none;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 45px;
    grid-template-areas: "logo nav up-right"
                        "logo nav search";
}
/*Hover Self-help menu*/
.regNav a:hover{
    text-decoration: underline;
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content a{
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    margin: 0;
    color: #2C6276;
    font-size: 15px;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
}
.dropdown:hover .dropdown-content {
    display: block;}
.dropdown-content a:hover{
    color: white;
    background-color: #2C6276;
    cursor: pointer;
    text-decoration: none;
}
.dropdown-content{
    display: none;
    position: absolute;
    background-color: #fff3db;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    transform: translate(-50px);
    z-index: 2;
}
.dropdown:hover .dropbtn{
    text-decoration: underline;
}
/*end hover*/
.regNav{
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: white;
}
/*Gid Items*/
#logo{
    grid-area: logo;
}
#flexNav{
    grid-area: nav;
    align-self: flex-end;
    justify-content: center;
    padding: 3% 0;
}
#upperRight{
    grid-area: up-right;
    justify-content: end;
    width: 100%;
    display:flex;
    align-items: center;
    margin: 2% 0;
}
#lowerRight{
    grid-area: search;
    margin: 0 5%;
    justify-self: end;
}
.getHelpBtn{
    background-color: transparent; 
    border: 1px solid white; 
    color: white;
    transition: ease 0.3s;
}
.getHelpBtn:hover{
    color: #2F6174;
    background-color: white;
}
/*Hero section*/
.heroSection{
    position: relative;
    height: 470px; 
    border: none;
    margin-bottom: 20px;
}
.welcome{
    position: absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
    border: none;
    height: 50%;
    width: 50%;
    border-radius: 20px;
    background-color:rgba(255, 255, 255, 0.9);
    animation: moveup 1s ease-in 1s;
    animation-delay: 3s;
}
@media (max-width:768px){
    .welcome{
        height: 70%;
    }
}
@keyframes moveup{
    0%{
        transform: translate(-50%);
    }
    100%{
        transform: translate(-50%, -50%);
    }
}

.upperWelcome{
    font-size: 35px;
    font-weight: 520;
    color: #2F6174;
    margin: 10px;
}
.lowerWelcome{
    font-size: 20px;
    font-weight: 300;
    color: #2F6174;
    margin: 10px;
}
.upLeft{
    position: absolute;
    top: 0;
    width: 430px;
    height: 240px;
    animation: slideright 1s ease-in 1s;
    animation-delay: 3s;
}
@keyframes slideright{
    0%{
        transform: translateX(-50px);
    }
    100%{
        transform: translateY(0px);
    }
}
@keyframes up{
    0%{
        transform: translateY(50px);
    }
    100%{
        transform: translateY(0px);
    }
}
.lowLeft{
    position: absolute;
    bottom: 0;
    width: 400px;
    height: 230px;
    animation: up 1s ease-in 1s;
    animation-delay: 3s;
}

@media (max-width: 768px){
    .lowLeft{
        display: none;
    }
}
.upRight{
    position: absolute;
    top: 0;
    right: 0;
    width: 350px;
    height: 190px;
    animation: slideleft 1s ease-in 1s;
    animation-delay: 3s;
}
@keyframes slideleft{
    0%{
        transform: translateX(50px);
    }
    100%{
        transform: translateX(0px);
    }
}
@media (max-width:768px){
    .upRight{
        display: none;
    }
}
.lowRight{
    position: absolute;
    bottom: 0;
    right:0;
    width: 500px;
    height: 350px;
    animation: up 1s ease-in 1s;
    animation-delay: 3s;
}
.joinUsBtn{
    background-color: white; 
    color: #2F6174; 
    border: 1px solid #2F6174; 
    padding: 2% 5%; 
    margin: 15px;
    transition: ease 0.3s;
}
.joinUsBtn:hover{
    color: white;
    background-color: #2F6174;
}
/*Quotes*/
.quote{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 7% 0;
}
.quoteEx{
    width: 50%;
    align-self: center;
    background-image: url('./images/quote1.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
@media (max-width:768px){
    .slider{
        width: 80%;
    }
}

/*Break intro*/
.breakIntro{
    background-image: url('./images/breakIntro.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
    /*Grid self help*/
.gridWork{
    margin: 2% 5%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 350px;
    grid-template-areas: "meditation yoga music";
    align-items: center;
}

.grid-self-help{ 
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 5px;
    width: auto;
    height: 90%;
    cursor: pointer;
    display: grid;
    align-content: end;}
.linkbtn{
    background-color: transparent;
    border: 1px solid #2F6174;
    margin: 10px;
    padding: 2%;
    font-size: 13px;
    color: #2F6174;
    transition: ease 0.3s;
}
.linkbtn:hover{
    color: white;
    background-color: #2F6174;
}
    #meditaion{
        grid-area: meditaion;
        width: auto;
        position: relative;
        background-image: url('images/Meditation.jpg');
    }
    #yoga{
        grid-area: yoga;
        width: auto;
        position: relative;
        background-image: url('images/yoga.jpg');
    }
    #music{
        grid-area: music;
        width: auto;
        position: relative;
        background-image: url('images/Music.jpeg');
    }
 
    .heading{
        width: auto;
        height: 100%;
        padding:5%;
        background-color: rgba(255, 255, 255, 0.9);
        color: black;
        font-size: 17px;
        font-family: 'Merriweather',sans-serif;
        font-weight: 700;
        text-align: center;}
    .selfHelpBg{
        border: none;
        width: auto;
        margin: 7% 0;
        border-radius: 20px;
        background-color:rgba(255, 255, 255, 0.7);
}

.overlay{
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color:rgba(255, 255, 255, 0.9);
    padding: 20px 30px;
    opacity: 0;
    transition: opacity 0.3s;
}
.overlay:hover{
    opacity: 1;
}
.overlay > * {
    transform: translateY(20px);
    transition: transform 0.3s;
}
.overlay:hover > * {
    transform: translateY(0);
}
.getHelp{
    display: flex;
    flex-direction: column;
    width: 55%;
    justify-content: center;
    background-color: white;
    border: 1px solid #2F6174;
    padding: 3%;
    text-align: center;
    margin: auto;
}
.flexBtns{
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.proHelpBtn{
    border: 1px solid #2C6276;
    padding: 3%;
    width: 200px;
    background-color: white;
    color: #2C6276;
    margin: 20px ;
    transition: ease 0.3s;
}
.proHelpBtn:hover{
    color: white;
    background-color: #2F6174;
}
@media (max-width:768px){
    .flexBtns{
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items:center ;
    }
    .getHelp{
        width:70%;
        padding: 5%;
        margin:auto;
    }
    .proHelpBtn{
        margin: 10px;
    }
    
}
/*Articles*/
.articles{
    margin: auto;
    width: 90%;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 2%;
    margin-top: 5%;
    margin-bottom: 5%;
    border-radius: 20px;
    justify-content: center;
}
.flexArticles{
    display: flex;
    flex-direction: column;
    margin: 40px 0;
    
}
.article{
    display: flex;
    flex-direction: row;
    margin: 20px 0;
}

.articleInfo{
    display: flex;
    flex-direction: column;
    text-align: justify;
    justify-content: space-evenly;
    margin-left: 10px;
}
.description{
    font-size: 15px;

}
.articleImg{
    width: 25%;
}
.readBtn{
    background-color: white;
    border: 1px solid #2F6174;
    width: 15%;
    height: 20%;
    color: #2F6174;
    transition: ease 0.3s;
}
.readBtn:hover{
    color: white;
    background-color: #2F6174;
}

.title{
    font-size: 20px;
    color: #2F6174;
}
@media (max-width:768px){
    .flexArticles{
        margin-top: 40px;
        margin-bottom: 40px;
    }
    .articles{
        margin-top: 40px;
        margin-bottom: 40px;
    }
    .readBtn{
        width: 20%;
        height: 30px;
        margin: 10px;
        transition: ease 0.3s;
    }
    .readBtn:hover{
        color: white;
        background-color: #2F6174;
    }
    .description{
        display: none;
    }
    .title{
        width: 50%;
        margin: 10px;
    }
    .article{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin: 10px 0;
    }
    .articleInfo{
        flex-direction: column;
        justify-content: center;
        text-align: justify;
        align-items: center;
        margin: 0;
    }
    .articleImg{
        width:50%
    }
}

/*mobile app ad*/
#flexAd{
    display:flex;
    flex-direction: row;
    margin: 40px 0;
    background-color: #396E83;
    padding: 3%;
    justify-content: center;
    height: 50%;
}
.ad{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-evenly;
    margin: 20px;
}
.learnBtn{
    padding: 2%; 
    color: white;
    border: 1px solid white; 
    background-color: transparent;
    transition: ease 0.3s;
}
.learnBtn:hover{
    color: #2F6174;
    background-color: white;
}
/*Feedback*/
#feedback{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 40px 0 10% 0;
}
.feedbackBtn{
    margin: 10px 0;
    font-size: 15px; 
    padding: 2%;
    border: 1px solid #2F6174;
    color: #2F6174; 
    font-size: 15px; 
    background-color: transparent;
    transition: ease 0.3s;
}
.feedbackBtn:hover{
    color: white;
    background-color: #2F6174;
}
.leaf1{
    position: fixed;
    top: -30%;
    right: 40%;
    animation: fall1 12s linear infinite;
    animation-delay: 4s;
}
.leaf2{
    position: fixed;
    top: -30%;
    left: 30%;
    height: 20px;
    width: 25px;
    animation: fall2 12s linear infinite;
    animation-delay: 8s;
}
.leaf3{
    position: fixed;
    top: -30%;
    right: 10%;
    animation: fall3 10s linear infinite;
    animation-delay: 10s;
}
@keyframes fall1{
    0%{
        opacity: 10%;
        transform: translateY(20px) rotate(0deg);
    }
    5%{
        opacity: 100%;
        transform: translateY(80px) translateX(-20px)
        rotate(20deg);
    }
    20%{transform: 
        translateY(180px) translateX(-30px) rotate(60deg);
    }
    40%{transform: 
        translateY(380px) translateX(-100px) rotate(80deg);
    }
    50%{transform:
        translateY(450px) translateX(-170px) rotate(40deg);
    }
    60%{transform: 
        translateY(670px) translateX(-290px) rotate(100deg);
    }
    90%{transform: 
        translateY(800px) translateX(-370px) rotate(300deg);
    }
    80%{
        opacity: 20%;
        transform:
        translateY(1000px) translateX(-500px) rotate(300deg);
    }
    100%{
        opacity: 0;
        transform:
        translateY(1500px) translateX(-850px) rotate(200deg);
    }
}
@keyframes fall2{
    0%{
        opacity: 10%;
        transform: translateY(30px) rotate(0deg);
    }
    20%{
        opacity: 100%;
        transform: translateY(60px) translateX(-20px)
        rotate(20deg);
    }
    40%{transform: 
        translateY(150px) translateX(-100px) rotate(60deg);
    }
    60%{transform: 
        translateY(250px) translateX(-200px) rotate(80deg);
    }
    80%{transform: 
        translateY(300px) translateX(-300px) rotate(20deg);
    }
    100%{transform: 
        translateY(400px) translateX(-400px) rotate(80deg);
    }
}
@keyframes fall3{
0%{
    opacity: 10%;
    transform: 
    translateY(50px) rotate(0deg);
}
20%{
    opacity: 100%;
    transform:
     translateY(150px) translateX(150px) rotate(20deg);
}
40%{transform: 
    translateY(250px) translateX(20px) rotate(60deg);
}
60%{transform: 
    translateY(350px) translateX(-40px) rotate(80deg);
}
80%{transform: 
    translateY(450px) translateX(100px) rotate(20deg);
}
100%{transform: 
    translateY(700px) translateX(200px) rotate(80deg);
}
}
/*Footer*/
footer{
    padding: 2%;
    background-color: #2C6276;
}
.flexFooter{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.footerNav{
    font-size: 15px;
    font-weight:medium;
    margin-bottom: 10px;
}
#footer1{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 5px;
}
#footer2{
    display: flex;
    flex-direction: column;
    margin: 0 5px;
}
@media (max-width:768px){
    #footer2{
        display: none;
    }
}
#footer3{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 5px;
}
.inputEmail{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
input{
    position: relative;
    padding: 3px;
    height: 25px ;
}
.submitBtn{
    position: absolute;
    padding: 3px;
    border: 1px solid white;
    color:white;
    background-color:#2F6174;
}