* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 6px;
}

body {
    font-family: "Lato", sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
    background-color:#226a9e;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    font-family: Montserrat;
}

a {
    text-decoration: none;
}

ul {
    list-style-type: none;
}
/* hakkımızda */
section { 
    padding-top: 8rem;
    padding-bottom: 10rem;
    text-align: center;
}
#contact {
    padding-top: 3rem;
    padding-bottom: 5rem;
    text-align: center;
    background-color: #226a9e; 
   
}
.btn-large {
    font-size: 2rem;
    padding: 2.2rem 1.6rem;

}

.btn {
    margin-top: 2rem;
    font-weight: 400;
    display: inline-block;
    border: 2px solid #fff;
    border-radius: .4rem;
    cursor: pointer;
    transition: all .5s;
}

.btn-social {
    width: 7rem;
    height: 7rem;
    border-radius: 25% 10%;
    font-size: 2rem;
    line-height: 2rem;
}

.btn-menu {
    width: 100px;
    height: 45px;
    border-radius: 10px;
    font-size: 10px;
    background-color: #1ab4bc;
    color: #fff;
    border: none;
}

.btn-outline {
    color: #fff;
    border-color: #fff;
    background-color: transparent;
}

.btn-outline:hover {
    color: #212529;
    background-color: #fff;
}

.btn-primary {
    background-color: #1ABC9B;
    border-color: #1ABC9B;
    padding: 1.2rem 1rem;
    color: #fff;
}

.btn-primary:hover {
    background-color: #128f76;
    border-color: #128f76;
}


/* ÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖÖ */

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}
 .containeri{
    background-color: #226a9e; 
    padding-left: 1rem;
    padding-right: 2rem;
}
 

.container {
    
    width: 100%;    
    height: auto;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.5rem;
    padding-right: 0.5rem;

}
.card-body {
    background-color: #226a9e; 
}

.col {
    float: left;
    width: 100%;
    padding: 1rem;
}
.tanim{
    color: #000;
}


@media (min-width: 375px) {
    
    .container {
        max-width: 540px;
    }

    html {
        font-size: 6px;
    }
    .tanim{
        font-size: 3rem;
    }
  

}

@media (min-width: 576px) {
    
    .container {
        max-width: 540px;
    }

    html {
        font-size: 7px;
    }
    .tanim{
        font-size: 3rem;
    }


}

@media (min-width: 768px) {

    .container {
        max-width: 720px;
    } 
    
    html {
        font-size: 8px;
    }

    .col {
        width: 90%;
    }
    .tanim{
        font-size: 3rem;
    }
  
    
}

@media (min-width: 992px) {
    
    .container {
        max-width: 940PX;
    }

    html {
        font-size: 9px;
    }

    .col {
        width: 33.333%;
    }
    .tanim{
        font-size: 2,5rem;
    }
   
  
}

@media (min-width: 1200px) {

    .container {
        max-width: 1150PX;
    }
    
    html {
        font-size: 10px;
    }
    .tanim{
        font-size: 2rem;
    }
}

.text-uppercase {
    text-transform: uppercase;
   
}

/* Navbar*/

nav {
    width: 100%;
    font-family: Montserrat;
    /* background-color:#000000; */
    color: #fff;
    /* padding-top: 2rem; */
    /* padding-bottom: 2rem; */
    position: fixed;
    z-index: 500;
    /* border: solid; */
   
    
}

#logo-box {
    float: left;
    padding-top: 0.5rem;
    border-radius: 10px;
}


#logo-box .logo {
    color: #fff;
    font-weight: 700;
    font-size: 2.8rem;
}

#nav-links {
    float: right;
}
#nav-links .nav-item {
    float: left;
    margin: 0.5rem;
}

#nav-links .nav-link{
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    display: block;
    padding: 1.6rem;
    letter-spacing: 0.1rem;
    transition: color 0.4s;

}

#nav-links .nav-link:hover {
    color: #2905f8;
}

#nav-links .nav-icon {
    display: none;
}

/* öööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööö */

 .animas {
  
  
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: local;
  color: #0b0444;
  /* text-shadow: 1px 1px 2px rgb(255, 2, 2), 0 0 1em rgb(45, 45, 246), 0 0 0.2em rgb(57, 57, 239); */
  text-align: center;
  width: 100vw;
  font-weight: 600;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
} 

#fly-in {
    font-size: 4em;
    margin: 40vh auto;
    height: 20vh; 
    text-transform: uppercase;
  }
  
  #fly-in span {
    display: block;
    font-size: 1em;
    opacity: 10;
  }
  
  #fly-in div {
    position: absolute;
    top: 20rem;
    text-align: center;
    margin: 2vh 0;
    opacity: 0;
    left: 10vw;
    width: 80vw;
    animation: switch 32s linear infinite;
  }

#fly-in div:nth-child(2) { animation-delay: 3s}
#fly-in div:nth-child(3) { animation-delay: 7s}
#fly-in div:nth-child(4) { animation-delay: 11s}
#fly-in div:nth-child(5) { animation-delay: 15s}
#fly-in div:nth-child(6) { animation-delay: 19s}
#fly-in div:nth-child(7) { animation-delay: 23s}
#fly-in div:nth-child(8) { animation-delay: 27s}

@keyframes switch {
    0% { opacity: 0;filter: blur(20px); transform:scale(12)}
    3% { opacity: 1;filter: blur(0); transform:scale(1)}
    10% { opacity: 1;filter: blur(0); transform:scale(.9)}
    13% { opacity: 0;filter: blur(10px); transform:scale(.1)}
    80% { opacity: 0}
    100% { opacity: 0}
}

/* animasyonlar**************************************************************************************** */

@media (max-width: 992px) {


      #logo-box {
        float: none;
        text-align: left;
    }

    #nav-links {
        float: none;
    }

    #nav-links .nav-link {
        font-size: 2rem;
        padding-left: 0;
    }

    #nav-links .nav-item {
        float: none;
        text-align: left;
    }

    #nav-links .nav-icon {
        display: block;
        position: absolute;
        top: -5px;
        right: 10px;
        font-size: 3rem;
       
    }

    #nav-links.responsive li:not(:first-child){
        display: none;
    }
}


/* Header */

header {
    /* background-image: url(aimages/er.jpg); */
    background-image: url("aimages/elkanasay.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: auto;
    height: 800px;
    padding-top: calc(20px + 2rem);
    text-align: center;
    border-radius: 1% 3% 90% 1%;
   

}
/* header kısmı eklendi telefon uyumuna */

@media (max-width: 975px)
{
    header {
        
        background-color: #1aa9bc;
        height: 550px;
        padding-top: calc(106px + 7rem);
        text-align: center;
}
}

@media (max-width: 700px)
{
    header {
        
        /* background-color: #1aa9bc; */
        height: 400px;
        padding-top: calc(106px + 7rem);
        text-align: center;
}

}
/* başlık */
header h1 {
    color: #fff;
    font-size: 6rem;

}
/* başlık */
header h2 {
    color: #fff;
    font-size: 3rem;
    font-family: "";
    font-weight: 300;
}

/* hr.star-light {
    border-color: #fff;
} */

hr {
    border-color: #fbffff;
    border-width: 15px;
}

.star-light, .star-dark {
    border: none;
    border-top: 0.4rem solid;
    border-radius: 10px;
    max-width: 25rem;
    margin: 2.5rem auto;
    overflow: visible;
    height: 0;
}

/* /* .star-light::after {
    color: #fff;
    background-color: #1ABC9B; 
} */

/* .star-dark::after {
    color: #2D3D4F;
    background-color: #fff;
} */

.star-light::after, .star-dark::after  {
    content: "\2605";
    font-weight: 900;
    font-size: 3.2rem;
    position: relative;
    top: -28px;
    padding: 0 8px;
}

/* portfolio */


#portfolio h2 {
    font-size: 4.8rem;
    color: #0d1218;
}

.img-fluid-p {
    max-width: 100%;
    /* height: auto; */
}


.portfolio-item {
    position: relative;
   
}

.portfolio-item img {
    display: block;
    border-radius: 13px;
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #179485a9; 
     opacity: 0;
     transition: opacity 0.4s;
    /* transition: margin-right 2s, color 1s; */
}


.reload {
    position:fixed;
    bottom: 15px;
    right: 15px;
    background: #f2f2f5;
    border: none;
    border-radius: 20px;
    outline: none!important;
    font-size: 30px;
    line-height: 1.5;
    padding: 8px 12px;
    text-transform: uppercase;
    z-index: 10;
    cursor: pointer;
    box-shadow: 0 6px 7px #350e4c;
    transition: all .1s cubic-bezier(.67, .13, .1, .81);
    &:hover {
      box-shadow: 0 4px 4px #350e4c;
      transform: translateY(1px);
    }
    &:active {
      box-shadow: 0 1px 2px #244B94;
      transform: translateY(2px);
    }
    */    svg {
      vertical-align: middle;
      position: relative;
      top: -2px;
      opacity: 0;
    } 
}




.img-overlay .icon {
    color: #fff;
    font-size: 8rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); 

}

.portfolio-item:hover .img-overlay {
    opacity: 0.8;
    border-radius: 13px;
   
}

/* Contact */

#contact h2 {
    font-size: 3rem;
    color: #ffffff;
}

#contact-form {
    width: 10%;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 3rem;
    margin-bottom: 4rem;
}

.form-group input, .form-group textarea {
    border: none;
    width: 100%;
    display: block;
    font-size: 2.4rem;
}

.form-group input:focus {
    outline: 0;
}

.form-group textarea:focus {
    outline: 0;
}

/* Footer */

footer {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: #2C3E4F;
    color: #fff;
    text-align: center;
}

footer h4 {
    font-size: 2.4rem;
}

footer p {
    font-size: 2rem;
    margin-top: 1rem;
}

footer li {
    display: inline-block;
    margin-right: 1rem;
}

.copyright {
    background-color: #19262F;
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
    color: #fff;
    text-align: center;
}