* {
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    background: linear-gradient(315deg, #c5c2ef 0.000%, #b5b0ff 20.000%, #a19bfa 40.000%, #8a82d6 60.000%, #7067b3 80.000%, #534aa8 100.000%);


}

::selection {
    background-color: palevioletred;
    color: rgb(0, 0, 0);
    cursor: pointer;
}

#progress {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    background-color: rgb(231, 13, 247);
    height: 3px;
    transform-origin: 0 50%;
    animation: growProgress 2s linear;
    z-index: 9999;
    animation-timeline: scroll();
}

@keyframes growProgress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

header {
    color: rgb(0, 0, 0);
    height: 3.2rem;
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px auto;
    border-radius: 25px;
    transition: all 0.8s ease-in-out;
}

header:hover {
    box-shadow: 0px 0px 10px 4px rgb(0, 0, 0, 0.1);

}


header a {
    text-decoration: none;
    color: rgba(247, 243, 243, 0.77);
    border-radius: 25px;
    padding: 10px 15px;
    transition: 0.5s ease;
}


.logo {
    font-size: 18px;
    font-weight: bold;
    border: transparent solid 0001px;


}

.logo:hover {
    color: #dcdcdc;
    border: transparent solid 0001px;
    box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.1);


}

.option {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    align-items: center;
    background-color: transparent;
    border: transparent;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    padding: 5px 8px 5px 8px;

}

.option-a {
    transition: all 0.4s ease-in-out;
}

.option-a:hover,
.option-a:focus {
    background-color: #223;
    color: whitesmoke;
}

#sidebar-active {
    display: none;
}


.open-sidebar-button,
.close-sidebar-button {
    display: none;
    cursor: pointer;
}

svg {
    display: block;
}

.contact {
    color: whitesmoke;
    background-color: #223;
    padding: 11px 20px;
    cursor: pointer;
}

.contact:hover {
    color: rgb(210, 211, 211);
    background-color: rgb(11, 11, 17);
}




















.hero-sec {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100dvh;
}

.content {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 50px;

}

.container {
    width: 70vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 20px;

}


.container h2 {
    color: #222;


}

.container h4 {
    color: rgb(230, 229, 229);
    margin-top: 0;
    margin-bottom: 0.2rem;
}

.container h6 {
    color: rgb(205, 204, 204);
}



.container p {
    margin-top: 0;
    font-size: 15px;
    color: rgb(193, 192, 192);
    line-height: 1.5;
    cursor: text;
}

.img {
    background-image: url('img.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    width: 180px;
    height: 180px;
}

.name{
    background-color: #dbd0d0 transparent;
    display: inline-block;
    height: auto;
    width: auto;
    margin-top: 5px;
}
.name p{
    font-size: 1.3em;
    color: #222;
    letter-spacing: 1.5px;
    font-family: monospace;
    border-right: 3px solid;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;

    animation: 
    typing 1.5s ,
    cursor .4s step-end infinite alternate;

}
@keyframes cursor {
    50% { border-color: transparent;}
}

@keyframes typing {
    from { width: 0;}
}

.kurdish {
    border: transparent solid 2px;
    padding: 7px;
    border-radius: 25px;
    color: rgba(253, 208, 251, 0.411);
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.5s ease;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.kurdish:hover {
    box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.1);

}

strong {
    color: rgba(253, 208, 251, 0.411);
    border-radius: 25px;
}

button {
    width: 150px;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    margin-bottom: 0.2rem;


}

.button-box {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.button1 {
    box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.1);
    background-color: transparent;
    border: none;
    color: whitesmoke;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 0.1px transparent;
    cursor: pointer;
    border-radius: 10px;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiasing;
}

.button1:hover {
    box-shadow: 0 0 3px 2px rgba(255, 255, 255, 0.2);
    color: rgb(228, 227, 227);
    transform: translateY(-1.3px);
}

@keyframes rgbGlow {
    0% {
        box-shadow: 0 0 2px 3px rgba(255, 0, 0, 0.4);
    }

    33% {
        box-shadow: 0 0 2px 3px rgba(0, 255, 0, 0.4);
    }

    66% {
        box-shadow: 0 0 2px 3px rgba(0, 0, 255, 0.4);
    }

    100% {
        box-shadow: 0 0 2px 3px rgba(255, 0, 0, 0.4);
    }
}

.button2 {
    color: rgb(36, 36, 36);
    background-color: transparent;
    font-size: 16px;
    border: 1px solid transparent;
    transition: all 0.4s ease;
    cursor: pointer;
    animation: rgbGlow 10s infinite linear;
    border-radius: 10px 2px 10px 2px;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiasing;
}

.button2:hover {
    animation-duration: 10s;
    transform: scale(1.001) translateY(-1.5px);
    animation: rgbGlow reverse 10s infinite linear;

}


















@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(-150px);
    }
    to {
        opacity: 1;
        transform: translateY(0px);
    }
}





.sec-hr {
    width: 90%;
}

.main-sec {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container-main {
    height: 100dvh;
    width: 100vw;
    display: grid;
    grid-template-columns: repeat(auto-fit, 300px);
    justify-content: center;
    align-items: center;
    gap: 55px;
}

.card {
    background-color: rgba(253, 253, 253, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0px 0px 10px 4px rgb(0, 0, 0, 0.2);
    padding: 5px;
    border-radius: 15px;
    height: 350px;
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0px;
    transition: 0.3s ease-in-out;

    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;



}
.card:hover{
    transform: translateY(-2px);
}

.card-header {
    width: 90%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
}


.text {
    height: 100%;
    width: 100%;
    color: rgb(239, 239, 239);
}









.card-content {
    width: 90%;
    height: 100px;
    display: flex;
    
margin-bottom: 30px;
}
.card-content p{
    color: rgb(68, 67, 67);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.card-work{
    width: 90%;
    height: 70px;
      display: flex;
    align-items: center;
    justify-content: start;
    gap: 15px;
    margin-bottom: 5px;
    flex-wrap: wrap;

}
.work{
    box-shadow: 0px 0px 5px 2px rgb(0,0,0,0.1);
    padding: 4px 15px;
    border-radius: 25px;
    color: whitesmoke;
    font-size: 14px;
    cursor: default;
    transition: all 0.3s ease-in-out;
}
.work:hover{
    transform: translateY(-1px);
}















.card-footer {
    width: 90%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
}

.card-footer button {
    border-radius: 12px;
    width: 90%;
    height: 100%;
    border: none;
    color: rgb(253, 253, 253);
    background-color: transparent;
    justify-content: space-around;
    transition: all 0.5s ease;
}


.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  cursor: pointer;
  
}

.arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.contact-btn:hover .arrow {
  transform: translate(3px, -3px);
  color: #222;
  
}
.contact-btn{
    box-shadow: 0px 0px 5px 3px rgb(0,0,0,0.1);
}
.contact-btn:hover{
    box-shadow: 0px 0px 6px 4px rgb(0,0,0,0.2);
}


















.infinite-scroll {
    height: 25dvh;
    margin-top: 50px;
}

.wrapper {

    width: 99%;
    max-width: 1536px;
    margin-inline: auto;
    position: relative;
    height: 50px;
    margin-top: 0;
    overflow: hidden;
    mask-image: linear-gradient(to right,
            rgba(0, 0, 0, 0),
            rgba(0, 0, 0, 1) 20%,
            rgba(0, 0, 0, 1) 80%,
            rgba(0, 0, 0, 0));
            
}


.box {
    width: 200px;
    height: 48px;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
    position: absolute;
    left: max(calc(200px * 8), 100%);
    animation: scrollleft 30s linear infinite;

    
}

.box a {
    display: block;
    width: 100%;
    height: 100%;
}

.box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes scrollleft {
    to {
        left: -200px;
    }
}



.box1 {
    animation-delay: calc(30s / 8 * (8 - 1) * -1);
}

.box2 {
    animation-delay: calc(30s / 8 * (8 - 2) * -1);
}

.box3 {
    animation-delay: calc(30s / 8 * (8 - 3) * -1);
}

.box4 {
    animation-delay: calc(30s / 8 * (8 - 4) * -1);
}

.box5 {
    animation-delay: calc(30s / 8 * (8 - 5) * -1);
}

.box6 {
    animation-delay: calc(30s / 8 * (8 - 6) * -1);
}

.box7 {
    animation-delay: calc(30s / 8 * (8 - 7) * -1);
}

.box8 {
    animation-delay: calc(30s / 8 * (8 - 8) * -1);
}









.footer {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.form-border {
    border: #8c4747 2px transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    border-radius: 15px;

}


@keyframes appear3 {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.form {
    border: #797979 2px transparent;
    background-color: rgba(238, 238, 238, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: 0px 0px 10px 4px rgb(0, 0, 0, 0.0);
    width: 45%;
    height: 80%;
    border-radius: 15px;
    transition: 0.8s;
    outline: none;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiasing;

     animation: appear3 linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}

.form:hover {
    
    box-shadow: 0px 0px 10px 4px rgb(0, 0, 0, 0.1);

}

.text-contact {
    margin-left: 4%;
}

.form-out {
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    width: 70%;
    height: 85%;
    border-radius: 15px;
    gap: 5px;
}

.form-group {
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 5px;
    width: 100%;


}

.form-group input,
.form-group textarea {
    border-radius: 18px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(99, 102, 241, 0.15) 35%,
            rgba(168, 85, 247, 0.15) 70%,
            rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background-size: 200% 200%;
    background-position: 0% 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    resize: none;
    border: none;
    overflow-y: hidden;
    scroll-behavior: smooth;
    box-shadow: 0px 0px 10px 4px rgb(0, 0, 0, 0.1);
    padding: 12px;
    width: 100%;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-font-smoothing: subpixel-antialiasing;


}

.form-group input:hover,
.form-group textarea:hover {
    box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
        background-position: 0% 100%;

}

.form-group input:focus,
.form-group textarea:focus {
    border: 1px teal;
    outline: none;
    box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.4);
    transform: scale(1.005);
}


.form-group .button-submit {
    cursor: pointer;
    color: #e7eae8;
    background-color: #7067b3;
}

.form-group .button-submit:hover {
    transform: scale(1.0) translateY(-1px);
    background-color: #7daabf;

}


.button-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}










@media (min-width: 601px) and (max-width: 1024px){
    .container-main{
        height: auto;
    }
    .form{
            height: 75%;
            width: 55%;
    }
    .main-sec{
        height: auto;
    }
    .infinite-scroll {
    margin-top: 100px;
}




@keyframes appear1 {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}




.card{
     animation: appear1 linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}
}















@media (max-width: 768px) {
    body {
        overflow-x: hidden;

    }

    .open-sidebar-button {
        display: block;
    }


    .option {
        position: absolute;
        top: 0;
        right: -100%;
        width: 250px;
        height: 60vh;
        background-color: #7067b3;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.15);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 25px 20px 25px;
        gap: 20px;
        transition: right 0.3s ease-in-out;
        z-index: 9999;
        border-radius: 50px 0px 0px 48px;
    }

    .close-sidebar-button {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    #sidebar-active:checked~.option {
        right: 0;
    }

    .custom-hr {
        display: none;
    }
    .container-main{
        height: auto;
    }
    .form{
            height: 75%;
            width: 75%;
    }
    .main-sec{
        height: auto;
    }
    .infinite-scroll {
    margin-top: 100px;
}

@keyframes appear2 {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}




.card{
     animation: appear2 linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
}


}