@keyframes slideIn {
    0% {
        transform: translateY(-50px); /* Başlangıç konumu */
        opacity: 0;
    }
    100% {
        transform: translateY(0); /* Son konum */
        opacity: 1;
    }
}
@keyframes typing {
    from {
    width: 0
    }
}

@keyframes cursor {
    50% {
    border-color: transparent
    }
}

p ,h1 ,h2,h3,h4,label{
}
html{
    overflow-x: hidden  ;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('asset/backgroundgif.gif') no-repeat center center fixed;
    background-size: cover;
    opacity: 0.3;
    z-index: -111;
}

nav ul li {
    display: inline;
    margin: 0 10px;
    
}

nav ul li a{
    color: #fff;
    text-decoration: none;
}
header i{
    color: #fff;
    text-decoration: none;
}

.section {
    padding: 2em 0;
    text-align: center;
}

h1{
    font-size: 60px;
}
#mailicon{
    margin-left: 2em;
}
.service{
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s ease-out, transform 2s ease-out;
    padding-bottom  : 20em;
}
.service.show{
    opacity: 1;
    transform: translateY(0);
}


.card {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 1s ease-out, transform 2s ease-out;
    background: #fff;
    margin: 1em;
    padding: 3em;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.card.show{
    opacity: 1;
    transform: translateY(0);
}
.services h2 {
    margin: auto;
    width: 16ch;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid;
    font-family: monospace;
    font-size: 2em;
}
.services h2.animate {
    animation: typing 2s steps(16), cursor .5s step-end infinite alternate;
}
.service{
    display: flex; 
    gap: 20px; 
    justify-content: center; 
    flex-wrap: wrap; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.service-box{
    background: white; 
    border: 1px solid #383838; 
    border-radius: 8px; 
    padding: 20px; 
    width: calc(33.333% - 40px); 
    text-align: center; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
    position: relative; 
    box-sizing: border-box; 
    margin-bottom: 20px; 
}
.service-box .icon{
    color: #8334eb;
    font-size: 50px;
    margin-bottom: 15px;
}
.service-box h3{
    color: black;
    font-size: 20px;
    margin-bottom: 15px;
}
.service-box p{
    color: gray;
}
.service-box:hover{
    border-color: #8334eb;
}
.service-box:hover::before{
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid #8334eb;
    border-radius: 8px;
    pointer-events: none;
}

input {
    border: none;
    outline: none;
    border-radius: 15px;
    padding: 1em;
    background-color: #ccc;
    box-shadow: inset 2px 5px 10px rgba(0,0,0,0.3);
    transition: 300ms ease-in-out;
}

input:focus {
    background-color: white;
    transform: scale(1.05);
    box-shadow: 13px 13px 100px #969696,
    -13px -13px 100px #ffffff;
}
textarea {
    border: none;
    outline: none;
    border-radius: 15px;
    padding: 1em;
    background-color: #ccc;
    box-shadow: inset 2px 5px 10px rgba(0,0,0,0.3);
    transition: 300ms ease-in-out;
    width: 400px;
    height: 300px;
    resize: none;
}
textarea:focus {
    background-color: white;
    transform: scale(1.05);
    box-shadow: 13px 13px 100px #969696,
    -13px -13px 100px #ffffff;
}
button {
    position: relative;
    padding: 10px 20px;
    border-radius: 7px;
    border: 1px solid #8334eb;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    background: transparent;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 0 0 0 transparent;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    color: #fff;
}

button:hover {
    background: #8334eb;
    box-shadow: 0 0 30px 5px #650393ae;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    color: #fff;
}

button:hover::before {
    -webkit-animation: sh02 0.5s 0s linear;
    -moz-animation: sh02 0.5s 0s linear;
    animation: sh02 0.5s 0s linear;
}

button::before {
    content: '';
    display: block;
    width: 0px;
    height: 86%;
    position: absolute;
    top: 7%;
    left: 0%;
    opacity: 0;
    background: #fff;
    box-shadow: 0 0 50px 30px #fff;
    -webkit-transform: skewX(-20deg);
    -moz-transform: skewX(-20deg);
    -ms-transform: skewX(-20deg);
    -o-transform: skewX(-20deg);
    transform: skewX(-20deg);
}

@keyframes sh02 {
    from {
    opacity: 0;
    left: 0%;
    }

    50% {
    opacity: 1;
    }

    to {
    opacity: 0;
    left: 100%;
    }
}

button:active {
    box-shadow: 0 0 0 0 transparent;
    -webkit-transition: box-shadow 0.2s ease-in;
    -moz-transition: box-shadow 0.2s ease-in;
    transition: box-shadow 0.2s ease-in;
}

.card {
    position: relative;
    margin: auto;
    width: 200px;
    height: auto;
    background: linear-gradient(-45deg, #dcdcdc 0%, #ffffff 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card svg {
    width: 48px;
    fill: #333;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
    background-color: #333;
    color: #fff ;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.card:hover .card__content {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 1;
}

.card__title {
    margin: 0;
    font-size: 24px;
    color: #333;
    font-weight: 700;
}

.card__description {
    margin: 10px 0 0;
    font-size: 14px;
    color: #777;
    line-height: 1.4;
}

.card:hover svg {
    scale: 0;
}

.software-background{
    position: absolute;
    width: 100%;
    height: 15em;
    background-image: url("/asset/pattern.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 5%;
    background-position-y: 60% ;
}
.software-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}


#software{
    position: relative;
    padding-bottom: 6em ;
    box-shadow: 0 0 4px rgba(0,0,0,0.5);
    margin-bottom: 10%;
    overflow: hidden;
}

.software-content{
    position: relative;
    color: white;
    margin-top: 3em;
    font-size: 2em;
    z-index: 2;
    width: 100%;
}
.software-content i{
    font-size: 75px;
}
