@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css");
@import url("https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css");
* {
    box-sizing: border-box;
  padding: 0;
  margin: 0;
}
html {
  font-size: 10px;
    scroll-behavior: smooth;
}
body {
  font-family: "Open Sans", sans-serif;
  font-size: 1.6rem;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}
ul {
  list-style: none;
}
a {
  color: #333;
  text-decoration: none;
}
h1,
h2 {
  font-weight: 300;
  line-height: 1.2;
}
p {
  margin: 1rem 0;
}
img {
  width: 100%;
}
.text-center {
  text-align: center;
}
/*navbar*/
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--blue);
  opacity: 0.8;
  color: #fff;
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  padding: 0 3rem;
}
.navbar a {
  color: #fff;
  padding: 1rem 2rem;
  margin: 0 0.5px;
}
.navbar a:hover {
  border-bottom: 2px solid var(--warning);
}

.navbar ul {
  display: flex;
}
.navbar .brand {
  font-weight: 400;
  vertical-align: center;
}
.navbar h1 {
  font-size: 3rem;
}
.navbar span {
  color: var(--warning);

}
.main{background-image: url(../img/bg-1.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height:100vh;
color:#fff;
position:relative}


/* altaki satır ile class="main-header blog" şeklinde class yapısı olanlar seçilir */
.main-header.blog{
    background-image: url("../img/bg-2.jpeg");
    height:50vh; 

}
.main-header .content{
    display:flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: center;
    text-align: center;
}
.main::before{content: "";
position: absolute;
top:0;
left:0;
width: 100%;
height:100%;
background: rgba(0,0,0,0.6);
}
.main-header *{z-index: 5;}
.main-header .content h1{
    font-size: 5.5rem;}
.main-header .content p{
    font-size: 2.3rem;
    max-width:60rem;
    margin:2rem 0 3rem}

    /*icons*/
    .icons{padding: 30px;}

    .icons h3{font-weight: 400;
    margin-bottom: 15px;}

    
.icons i{background-color: var(--primary);
        color:#fff;
        padding:1rem;
        border-radius: 50%;
        margin-bottom: 1.5rem;
}
/* .icons p{padding:1rem;} */
/*about*/
#about{color:#fff;}
#about h2{font: 4rem;
font-weight: 400;}
#about p{margin: 2rem 0;}
/*gallery*/
/* .gallery img{height: 200px;
  object-fit: cover;
} */
 .services-box {
  position: relative;
  padding-bottom: 100%;
  
}
.background {  
 display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.inner {
  position: absolute;
  top:0;
  left:0;
  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: center;
 z-index: 2;
 width: 100%;
 height: 100%;

}

.inner .title{
  color:#fff;
  text-align: center;
  font-weight: bold;
  text-shadow: #333 2px 2px;
}
  
  
.gallery img:hover{cursor:pointer;
opacity: 0.8;}

.card{color:#fff;
font-weight: 700;}
.card-body{
    padding: 2rem;
}
#teams .flex-items img{border-radius: 50%;}
/* teams */
#teams .flex-items img{border-radius: 50%;}
#teams .flex-items img:hover{opacity: .8;}
/*contact*/


/* #contact input,button{width: 100%;} gereksiz  */
.contact-form{width: 100%;
padding: 2rem 0;}
.contact-form label{display: block;
margin-bottom: .5rem;}
.contact-form .form-control{
  margin-bottom: 1.5rem;
}
.contact-form input{width:100%;
  padding:5px;
  height: 40px;
  border:1px solid #f5f5f5;
}
.contact-form .btn{
  margin-top: 20px;
  width: 100%;
}
.contact a:hover{
  padding-left:10px;
}
.contact h2{font-size:4rem;}
/*article*/
.articles{padding:3rem 5rem;}

.article{margin-top: 1rem;
color:#fff;}
/*footer*/
.footer{
  display:flex;
  
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height:200px;
  }

.footer a{color:var(--danger);}
.footer a:hover{opacity: 0.7;}
.footer .social a{margin-right: 10px;}
.p-2{
  padding: 2rem;
}
#logo{
  display:inline;
  width: 3rem;
  height: 3rem; 
}
#w_icon{
  position:fixed;
  right:1.5rem;
  bottom:1.5rem;
  z-index:3;
  width: 10rem;
  height: 10rem;
}
/*mobile*/
@media(max-width:768px){
    html{font-size: 8px;}
  .navbar{flex-direction: row;
        align-content: center;
        justify-content: center;
        height: 70px;
        padding:20px;
}
.navbar a{padding:10px;
margin:0 3px}
#w_icon{
  width: 5rem;
  height: 5rem;
}

}



