* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
  
}

@keyframes gelis {
    0% {
      opacity: 0;
      transform: translateY(-30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

body{
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-style: normal;
}   
.blok{
    width: 100%;
    z-index: 1;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding: 50px 0px;
    gap: 50px;
}

.blokText{
    max-width: 425px;
    background: rgb(196,132,2);
    background: linear-gradient(135deg, rgb(223, 159, 30) 17%, rgba(255,204,103,1) 100%);
    text-align: center;
    border-radius: 20px;
    color: whitesmoke;
    padding: 30px 10px;
    box-shadow: 3px 3px 3px 3px rgb(221, 150, 18);
    overflow:hidden;
}

@media only screen and (max-width: 768px) {

  
    .blokText{
        color: #000;
        font-size: 14px;
    }
  }


.blokHeader{
    font-size: clamp(18px , 6vw , 28px);
}

.blokP{
   
    font-weight: 600;
}

.secondPage{
    width: 100%;
    justify-content: space-between;
    position: relative;
   z-index: 0;
   padding-bottom: 30px;
   
}


.container {
    width: 100%;
}

.container h1 {
    text-align: center;
    padding-top: 5%;
    margin-bottom: 60px;
    font-weight: 700;
    position: relative;
}

.container h1::after{
    content: '';
    background: #585858;
    width: 100px;
    height: 5px;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 535px));
    grid-gap: 150px;
    justify-content: center;   
}

.service {
    text-align: center;
    padding: 25px 10px;
    border-radius: 5px;
    font-size: 17px;
    cursor: pointer;
    background: transparent;
    transition: transform 0.5s;
    box-shadow: 3px 3px 3px 3px rgb(255, 187, 0);
}

.service i{
font-size: 40px;
margin-bottom:10px;
color: #646464;

}
.service h2{
    font-weight: 600;
    margin-bottom: 8px;
}
.service:hover {
    background:#f1a949 ;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 3px 3px 3px 3px #f1a949;
}

.service:hover .service-button,
.service:hover .service-button a{
    background-color: #ece5e5;
    color: #f1a949;
}

.service:hover .service-button:hover{
    transform: scale(1.05);
}

.service:hover i{
    color: #fff;
}
.secondpage-image{
    position: absolute;
    height: 100%;
    z-index: -1;
    width: 100%;
    object-fit: cover;   
}


.service-button,
.service a{
    width: 100px;
    height: 30px;
    border: none;
    background-color: #f1a949;
    color: white;
    text-decoration: none;
    border-radius: 20px;
}


.about {
    
    width: 100%;
    padding: 78px 0px;
    background-color: #2c2a32;
}

 .about-text {
    width: 550px;
    color: #fcb604;
 }
 .main{
    width: 1150px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items:center;
    justify-content: space-between; 
 }

.about-text-h1{
    font-size: 30px;
    font-weight: 700;
    display: flex;   
}
.about-text-h5{
    font-size: 20px;
    font-weight: 600px;
    margin-top: 20px ;
    margin-bottom: 20px;
}

.about-text-p{
    font-size:16px;
    font-weight: 500;
}

.about-button{
 display: flex;
 margin-top: 30px;
position: relative;
color: #fff;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  font-size: 1em;
  font-weight: 500;
  font-size: 18px;
  padding: 10px 30px;
  transition: 0.5s;
  border: none;
  border-radius: 7px;
}

.about-button:hover{
   color: white;
    background: var(--clr);
    box-shadow: 0 0 35px var(--clr);
    cursor: pointer;
}

about-button:before{
    content: '';
    position: absolute;
    inset: 2px;
    background: #27282c;
}

@media only screen and (max-width: 768px) {
    .main {
      flex-direction: column;
      align-items: flex-start;
    }
    .about-img {
      width: 70%;
     margin-left: auto;
     margin-right: auto;
      margin-bottom: 20px;
    }
    .about-text {
      width: 100%;
      padding: 20px;
    }
    .container .row{
        padding: 30px;
    }
    .container .row .service{
        padding: 50px;
    }
    
  }
  @media only screen and (max-width: 480px) {
    .about-img {
      width: 300px;
    }
  }
  @media only screen and (max-width: 768px) {
    .about-text-h1 {
      font-size: 24px;
    }
    .about-text-h5 {
      font-size: 18px;
    }
    .about-text-p {
      font-size: 14px;
    }
  }   

.referans{
    max-width: 100%;
    margin: 0 auto;
    background-color: #27252c;
}

.satir{
    display: block;
    text-align: center;

}
.satir img{
    margin-bottom: 20px;
    margin-top: 20px;
    margin-left: 20px;     
}

.sertifika{
    background-color:#222127 ;
}

.referans-baslik{
    text-align: center;
    display: block;
    padding-top: 20px;
    color: #fcb604;
}

.sertifika-baslik{
    text-align: center;
    display: block;
    padding-top: 20px;
    color: #fcb604;
}

.contact {
    display: flex;
    flex-direction: column;
    background-color:#1b1920 ;
    justify-content: center;
    align-items: center;  
}

.contact h1 {
    margin-bottom: 20px;
    color: white;
    padding-top: 10px;
    text-align: center;
    font-size: 20px;
}

.contact input {
     background-color: #fff;
    width: 30%;
    font-size: 10px;
    padding: 16px 16px;
    border-radius: 10px;
    border-color: black;
    margin-bottom: 20px;  
}

textarea {
    background-color: #fff;
    width: 30%;  
 } 
 .contact input:focus-within {
    outline: none;
    border-color: black;
    border-width: 3px;
}

textarea:focus-within {
    outline: none;
    border-color: black;
    border-width: 3px;  
} 
.contact button {
    size: 30px;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    border-color: black;
    padding: 15px 15px;
    text-align: center;
    display: flex;
    margin: 20px auto;
}

.contact button:hover {
    opacity: 80%;
    cursor: pointer;
} 

.container2{
    
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1c1c20;
    width: 100%;  
}
.container2 .content2{
    display: flex;
    justify-content: center;     
}
 .content2 .image-box{
     max-width: 50%;    
} 

.content2 .image-box img{
    width: 55%;
 
}

.content2 .topic{
margin-top: 30px;
font-size: 22px;
font-weight: 500;
color: #ffffff;   
}

.content2 form{
width: 30%;
}

.content2 .input-box {
height: 50px;
width: 100%;
margin: 16px 0 ;
position: relative;
}

.content2 .input-box input{
    position: absolute;
    height: 100%;
    width: 100%;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    padding-left: 16px;
    background: #ffffff;
    border: 2px solid transparent;
}
.content2 .input-box input:focus, 
.content2 .input-box input:valid{
    border-color: #ff9900;
    background-color:#ffffff ;   
}

.content2 .input-box label {
    position: absolute;
    left: 18px;
    top: 50%;
    font-size: 15px;
    color: #535353;
    pointer-events: none; 
}

.content2 .input-box input:focus ~ label,
.content2 .input-box input:valid ~ label {
    display:14px ;
    top: 0;
    opacity: 0;
    left: 12px;
    color: #dd8604;
}

.content2 .message-box{
    min-height: 100px;
    position: relative;
}

.content2 .message-box textarea{
  margin-top: 20px;
    position: absolute;
    height: 100%;
    width: 100%;
    border-radius: 6px;
    resize: none;
    background: #ffffff;
    border: 2px solid transparent;
    outline: none;
}

.content2 .message-box label {
    position: absolute;
    font-size: 16px;
    color: #636c72;
    pointer-events: none;
}

.content2 .message-box textarea:focus ~ label {
    left: 12px;
    top: -10px;
    font-size: 14px;
    opacity: 0;
}

.content2 .input-box input[type="submit"]{
    padding-left: 0;
    font-weight: 500;
    font-size: 18px;
    background: #ec9511;
    cursor: pointer;
    letter-spacing: 1px;
}

.content2 .input-box input[type="submit"]:hover {
    background-color: #dd9c10;

}

@media(max-width:700px) {
    .content2 .image-box{
        max-width: 70%;
    }
    .content2{
        padding: 10px 0;
    }
}

@media(max-width:900px) {
    .content2 .image-box{
        display: none;
    
    }
    .content2 form {
        width: 100%;
        margin-right: 30px;
    }
}
   


