*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* FONTS START*/
.archivo-black-regular {
    font-family: "Archivo Black", sans-serif;
    font-weight: 400;
    font-style: normal;
  }

  .arial-bold-25{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
    font-size: 25px;
    color: #00626b;
}

  .arial-bold-20{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
    font-size: 20px;
    color: #00626b;
}

.arial-bold{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
    font-size: 18px;
    color: #00626b;
}

.arial-bold-15{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
    font-size: 15px;
    color: #00626b;
}

  .arial-regular-15{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    color: #00626b;
}

.col-lg-3 h3{
    font-size: 25px;
    font-weight: bolder;
    color: #00626b;
}

.col-lg-3 p{
    font-size: 18px;
}
  /*FONTS END  */




/* NAVBAR START */
#ilkBolum{
    background-image: url(../images/pilates-4.jpg);
    background-size: cover;
    height: auto;
    background-position: center;
    padding-top: 50px;
}

nav{
    background-color: #ebe97c;
    border-radius: 16px;
    width: 85%;
    margin: 0 auto;
}

.nav-links ul li{
    list-style-type: none;
}

.nav-yellow-area{
    /* margin-top: 80px; */
    padding: 5px;
}

.navbar-brand{
    float: left;
}

.nav-links{
    float:right;
}

.navbar-brand a img{
    height: 80px;
    margin: 5px;
}

.nav-links .nav-item{
    float: left;
}

.nav-links .nav-link{
    color: #00626b;
    font-size: 20px;
    font-weight: 700;
    display: block;
    padding: 32px;
    margin-left: 100px;
}

.nav-item:hover{
    color:#eb3132;    
}

/* NAVBAR END */


/* GREEN - RED LINES START */
.first-line{
    justify-content: center;
}

.second-line{
    justify-content: center;
    background-color: #ebe97c;
}

.third-line img{
    padding: 0;
}

.fourth-line img{
    padding: 0;
}
/* GREEN - RED LINES END */


.big-slogan{
    width: 85%;
    font-size: 70px;
    padding: 50px;
    margin: 0 auto;
    margin-top: 500px;
    margin-left: 5px;
    color: #ebe97c;
}

.small-slogan{
    width: 85%;
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 4px;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0 auto;
    margin-top: 40px;
    margin-left: 5px;
    padding: 50px;
    padding-bottom: 200px;
    color: white;
    text-shadow: 4px 4px 4px black;
    position: relative;
    z-index: 1;
}


.explore-lesson-button{
    width: 40%;
    height: 120px;
    font-size: 30px;
    letter-spacing: 3px;
    margin: -250px;
    margin-right: auto;
    float: right;
    border-radius: 12px;
    background-color: #eb3132;
    border: none;
    color: white;
    transition: ease-out 0.5s;
    position: relative;
    z-index: 2;
}

.explore-lesson-button:hover{
    background-color: transparent;
    border: 1px solid #eb3132;
    color: #ebe97c;
    transition: ease-out 0.5s;
}
/* İLK KISIM SONU */



/* İKİNCİ KISIM BAŞLANGIÇ */
#ikinciBolum{
    padding-bottom: 50px;
    background-color: #ebe97c;
}

#why-entherapy{
    text-align: center;
    color: #00626b;
    font-size: 50px;
    letter-spacing: 5px;
}

#ico-pics img{
    width: 40%;
}

.col-lg-3 p{
    margin: auto;
}

.progress{
  height: 24px !important;
  width: 80%;
  margin: 0 auto;
  background-color: #00626b !important;
  border-radius: 5px;
  overflow: hidden !important;
}

.progress-bar{
  background-color: #eb3132 !important;
  border-radius: 5px;
  transition: width 0.3s !important;
}

.why-item{
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 300px;
}

.why-item figure,
.why-item h3,
.why-item p,
.why-item h6,
.why-item .progress{
  width: 100%;
  text-align: center;
}

.why-item .progress{
  height: 16px !important;
}
/* İKİNCİ KISIM BİTİŞ */



/* ÜÇÜNCÜ KISIM BAŞLANGIÇ */
#our-lessons{
    text-align: center;
    color: #00626b;
    font-size: 50px;
    letter-spacing: 5px;
}

#lesson-cards{
    padding: 30px;
}

#lesson-cards img{
    height: 400px;
    object-fit:cover;
    object-position:right;
    transition: ease .5s;
}

#img-link{
  display: inline-block;
  overflow: hidden;
}

#lesson-cards img:hover{
    transform: scale(1.07);
}

.lesson-img-wrapper {
    border: 1px solid #00626b;
    overflow: hidden;
    border-radius: 8px;
}

.lesson-img-wrapper img {
    height: 400px;
    object-fit: cover;
    object-position: right;
    transition: transform 0.5s ease;
}

.lesson-img-wrapper img:hover {
    transform: scale(1.07);
}

#lesson-card-body h5{
    color: #00626b;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
    font-size: 25px;
    letter-spacing: 1px;
}
/* ÜÇÜNCÜ KISIM BİTİŞ */



/* DÖRDÜNCÜ KISIM BAŞLANGIÇ */
#our-teachers{
    text-align: center;
    color: #eb3132;
    font-size: 50px;
    letter-spacing: 5px;
}

#teacher-cards{
    padding: 30px;
}

#teacher-cards img{
    border: 1px solid #eb3132;
    transition: ease 0.5s;
}

#teacher-cards img:hover{
    border: solid 1px #00626b;
}

.card:hover #teacher-card-body h5,
.card:hover #teacher-card-body h6 {
  color: #00626b;
}


#teacher-card-body h5{
    color: #eb3132;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
    font-size: 25px;
    letter-spacing: 1px;
    transition: ease 0.5s;
}

#teacher-card-body h6{
    color: #eb3132;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
    transition: ease 0.5s;
}
/* DÖRDÜNCÜ KISIM BİTİŞ */



/* BEŞİNCİ KISIM BAŞLANGIÇ */
#sonBolum {
    background-image: url(../images/footer-bg-photo-2.png);
    background-size:cover;
    height: 550px;
    background-position:74%;
    padding-top: 50px;
}

#sonBolum #footer-left{
    text-align: center;
}

#sonBolum #footer-left p{
    width: 50%;
    margin: auto;
    line-height:170%;
    letter-spacing: 0.5px;
}

#sonBolum #footer-center{
    text-align: center;
}

#sonBolum #footer-center ul{
    line-height:170%;
    letter-spacing: 0.5px;
}

#sonBolum #footer-center h3{
    margin-bottom: 76px;
    letter-spacing: 3px;
}

#sonBolum #footer-center a{
    text-decoration: none;
    color: #00626b;
    transition: ease .2s;
}

#sonBolum #footer-center a:hover{
    color:#eb3132;
}


#sonBolum #footer-right section{
    width: 50%;
    margin: auto;
}

#sonBolum #footer-right h3{
    margin-bottom: 76px;
    letter-spacing: 3px;
}

#sonBolum #footer-right p{
    margin: 0;
}

#sonBolum .col-md-4{
    position: relative;
}

#sonBolum .col-md-4 ul{
    padding: 0;
}

#sonBolum .col-md-4 ul li{
    list-style-type: none;
}

.footer-icon{
    width: 80%;
}

#contact-up{
    align-items: center;
}

#contact-up .col-md-4{
    padding: 0;
}

#contact-down{
    align-items: center;
}

#contact-down .col-md-4{
    padding: 0;
}
/* BEŞİNCİ KISIM SONU */







@media only screen and (max-width: 1417px){
    .nav-links .nav-link{
        margin-left: 20px;
    }
}


@media only screen and (max-width: 1199px){
    .nav-links .nav-link{
        margin-left: 20px;
    }

    .explore-lesson-button{
        width: 30%;
        height: 80px;
        font-size: 20px;
        letter-spacing: 1px;
        border-radius: 12px;
        background-color: #eb3132;
        border: none;
        color: white;
    }
}

@media only screen and (max-width: 1041px){
    .nav-links .nav-item{
        margin-left: -20px;
    }

    .explore-lesson-button{
        width: 30%;
        height: 80px;
        font-size: 19px;
        letter-spacing: 1px;
        border-radius: 12px;
        background-color: #eb3132;
        border: none;
        color: white;
    }
}

@media only screen and (max-width: 991px){
    .nav-links .nav-item{
        margin-left: -35px;
    }

    .explore-lesson-button{
        width: 30%;
        height: 80px;
        font-size: 17px;
        letter-spacing: 1px;
        border-radius: 12px;
        background-color: #eb3132;
        border: none;
        color: white;
    }
}

@media only screen and (max-width: 876px){
    .big-slogan{
        font-size: 50px;
    }

    .nav-links .nav-item{
        margin-left: -43px;
    }

    .explore-lesson-button{
        width: 100%;
        height: 80px;
        margin-top: -120px;
        font-size: 20px;
        letter-spacing: 5px;
        border-radius: 12px;
        background-color: #eb3132;
        border: none;
        color: white;
    }
}

@media only screen and (max-width: 838px){
    .nav-links .nav-item{
        margin-left: -50px;
    }
}

@media only screen and (max-width: 805px){
    .nav-links .nav-item{
        margin-left: -45px;
    }

    .nav-links .nav-item a{
        font-size: 17px;
    }
}

@media only screen and (max-width: 767px){
    #sonBolum {
        background-image: url(../images/footer-bg-photo-1.png);
        background-size:cover;
        min-height:fit-content;
        background-position:72.5%;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .nav-links .nav-item{
        margin-right: -22px;
    }

    #why-entherapy{
        font-size: 40px;
        letter-spacing: 2px;
    }

    #our-lessons{
        font-size: 30px;
        letter-spacing: 2px;
    }

    #our-teachers{
        font-size: 30px;
        letter-spacing: 2px;
    }

    #sonBolum #footer-right{
        text-align: center;
    }

    #sonBolum #footer-right img{
        width: 25%;
    }

    #sonBolum #footer-center h3{
        margin-top: 36px !important;
        margin-bottom: 10px;
    }
    

    #sonBolum #footer-center ul{
        margin-top: 5px !important;
    }

    #sonBolum #footer-right h3{
        margin-top: 36px !important;
        margin-bottom: 10px;
    }

    #small-device-address{
        margin-top: 5px !important;
    }

    .why-item {
        padding: 10px;
    }

    .why-item .figure-1{
        padding: 16px;
    }

    .why-item .figure-2{
        padding: 16px;
    }

    .why-item .figure-3{
        margin-top: 32px;
        /* padding: 16px; */
    }

    .why-item .figure-4{
        margin-top: 32px;
    }

    .why-item p {
        font-size: 15px;
    }

    .why-item h3 {
        font-size: 16px;
    }

    .why-item h6 {
        font-size: 14px;
    }

}

@media only screen and (max-width: 636px){
    .nav-links .nav-item{
        margin-right: -25px;
    }
}

@media only screen and (max-width: 629px){
    .nav-links .nav-item{
        margin-right: -29px;
    }
}

@media only screen and (max-width: 610px){
    .nav-links .nav-item{
        margin-left: -47px;
    }
}

@media only screen and (max-width: 746px){
    .small-slogan{
        width: 100%;
    }

    .small-slogan article{
        font-size: 20px;
    }
}

@media only screen and (max-width: 680px){
    .nav-links .nav-item a{
        font-size: 16px;
    }
}



@media only screen and (max-width: 600px){
    .main-bg-image{
        height: 100%;
        text-align: center;
        align-items: center;
    }

    .nav-yellow-area{
        display:block;
    }

    nav{
        background-color: rgb(235, 233, 124, 0.5);
        align-items: center;
        height: 350px;
    }

    .nav-links{
        position: relative;
        text-align: center;
    }

    .nav-links, .nav-item, a{
        width: 100%;
    }

    .nav-links ul li{
        width: 105%;
        height: 59px;
        margin: 0;
    }

    .nav-link{
        justify-content: center;
        align-items: center;
        line-height: 0.5px;
    }

    .nav-link:hover{
        background-color: rgb(235, 233, 124, 0.6);
        border-radius: 10px;
        transition: ease .2s;
        z-index: -1;
    }

    .nav-item:hover{
        color: #eb3132;
    }

    .navbar-brand{
        width: 100%;
    }

    .big-slogan article{
        font-size: 40px;
        width: 23%;
        margin: 0 auto;
        margin-left: 25px;
        margin-top: -270px;
    }

    .big-slogan p{
        margin-top: -130px;
        margin-left: -55px;
        display: flex;
        
    }

    .small-slogan{
        display: flex;
        position: relative;
        margin-left: -23px;
        width: 100%;
        text-align: left;
    }

    .small-slogan article{
        width: 100%;
        margin-top: -150px;
    }

    .small-slogan p{
        margin-top: -8px;
        font-size: 20px;
        line-height: 35px;
        padding: auto;
    }

}