*{
    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/footer-bg-photo-2.png); */
    background-size: cover;
    height: auto;
    background-position: center;
    padding-top: 50px;
    padding-bottom: 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 */

/* İLK KISIM SONU */





#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;
}

.modal-header{
    border-bottom: none !important;
}

.modal-img-hover:hover{
    cursor: pointer;
}

.bg-red{
    background-color: #eb3132;
    border-bottom: none;
}

.color-white{
    color: #fff;
}

.text-red{
    color: #eb3132;
}

.btn-close {
  filter: invert(1) !important;
}










/* 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;
    }
}

@media only screen and (max-width: 1070px){
    .nav-links .nav-link{
        margin-left: 20px;
    }
}

@media only screen and (max-width: 1041px){
    .nav-links .nav-item{
        margin-left: -20px;
    }
}

@media only screen and (max-width: 991px){
    .nav-links .nav-item{
        margin-left: -35px;
    }

    #bg-black{
        width: 90%;
    }

    #bg-black p{
        margin-bottom: 0.2rem;
    }
}

@media only screen and (max-width: 876px){
    .nav-links .nav-item{
        margin-left: -43px;
    }
}

@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){
    #our-teachers{
        font-size: 30px;
        letter-spacing: 2px;
    }
    
    #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;
    }

    #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;
    }

}


@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: 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: #ebe97c;
        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-item:hover{
        color: #eb3132;
    }

    .navbar-brand{
        width: 100%;
    }
}