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

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    overflow-y: auto;
    font-family: "Poppins", sans-serif;
    color: white;
    background-color: black;
    display: flex;
}

section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* https://lh3.googleusercontent.com/ka_5IYJDRkXZnbptxq64LPuggGL5FM8gnpJlsuSiOQh4b39kMkiRbVfX8iK8bjMg5SLkdfoix09P60wyFjN2=w681-h614 */
    background-color: black;
    background-size: cover;
    /*animation: animateBg 50s linear infinite;*/
}

.profile_img {
    text-align: center;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: solid, 5px;
    border-color: red;
    overflow: hidden;
    margin: 40px auto;
    filter: drop-shadow(0px 20px 15px black);
}

.header {
    text-align: center;
    color: white;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
nav {
    display: none;
    background-color: black;
    border-width: 0px 0px 5px 0px;
    border-image: linear-gradient(to right, red, orange);
    border-style: solid;
    border-color: transparent;
    border-image-slice: 1;
}
.name {
    text-align: center;
    color: white;
    font-size: 40px;
    font-weight: bold;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

h1 {
    text-align: center;
    margin-top: 30px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.gradient_text {
    font-size: 30px;
    background: -webkit-linear-gradient(left, red, orange);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.button1 {
    all: unset;
    width: 180px;
    height: 40px;
    font-size: 20px;
    background-color: #454444;
    border-radius: 20px;
    margin: 10px;
    cursor: pointer;
    position: relative;
    align-items: center;
    color: #f0f0f0;
    display: flex;
    justify-content: center;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.button3 {
    all: unset;
    width: 240px;
    height: 80px;
    font-size: 20px;
    background-color: #454444;
    border-radius: 20px;
    margin: 10px;
    cursor: pointer;
    position: relative;
    align-items: center;
    color: #f0f0f0;
    display: flex;
    justify-content: center;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.button_text {
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 25px;
}

.button2 {
    all: unset;
    width: 150px;
    height: 40px;
    font-size: 20px;
    background-color: #454444;
    border-radius: 20px;
    margin: 5px;
    cursor: pointer;
    align-items: center;
    position: relative;
    color: #f0f0f0;
    display: flex;
    justify-content: center;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.button1:hover {
    color: white;
    background-image: linear-gradient(to bottom right, red, orange);
}

.button2:hover {
    color: white;
    background-image: linear-gradient(to bottom right, red, orange);
}

.btn {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.btn2 {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0px 0px 0px 800px;
}

.contact-box {
    text-align: center;
    gap: 25px;
}

a {
    text-decoration: none;
}

i {
    font-size: 30px;
    color: white;
    padding: 5px;
}
.list i {
    font-size: 20px;
    background: -webkit-linear-gradient(left, red, orange);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

i:hover {
    background: -webkit-linear-gradient(left, red, orange);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    margin: 50px 0px 20px 0px;
    text-align: center;
    color: white;
    font-size: 25px;
    font-family: "IBM Plex Mono", monospace;
}

h3 {
    color: white;
    padding: 10px 0px 20px 0px;
}

h4 {
    color: white;
    font-size: 40px;
}

.textbox {
    background-color: #454444;
    border-radius: 0px 20px 20px 0px;
    border-width: 0px 0px 0px 5px;
    border-image: linear-gradient(to bottom, red, orange);
    border-style: solid;
    border-color: transparent;
    border-image-slice: 1;
    text-align: center;
    color: white;
    align-items: center;
    display: block;
    width: 30%;
    position: relative;
    left: 35%;
    margin: 20px 0px 0px 0px;
    padding: 0px 0px 15px 0px;
}

.about_box {
    background-color: #454444;
    border-radius: 0px 20px 20px 0px;
    border-width: 0px 0px 0px 5px;
    border-image: linear-gradient(to bottom, red, orange);
    border-style: solid;
    border-color: transparent;
    border-image-slice: 1;
    text-align: center;
    color: white;
    align-items: center;
    margin: 60px 50px 0px 50px;
    padding: 5px 40px;
    width: 40%;
    height: 43%;
    filter: drop-shadow(0px 20px 15px black);
}

.project_box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.list {
    line-height: 40px;
    font-family: "Exo 2", sans-serif;
}

#contact {
    color: white;
}

.footer {
    text-align: center;
}

.header2 {
    width: 100%;
    padding: 30px;
    color: white;
    background-color: black;
    border-width: 0px 0px 5px 0px;
    border-image: linear-gradient(to right, red, orange);
    border-style: solid;
    border-color: transparent;
    border-image-slice: 1;
    display: flex;
    position: sticky;
}

.about {
    display: flex;
    height: 100%;
}

.about img {
    width: 250px;
    height: 300px;
    margin: 60px 40px 0px 40px;
}
.about_text {
    flex-direction: column;
    display: flex;
    width: 70%;
    align-items: center;
}

.img img {
    flex-direction: column;
    filter: drop-shadow(0px 20px 15px black);
    border-width: 5px;
    border-image: linear-gradient(to bottom, red, orange);
    border-style: solid;
    border-color: transparent;
    border-image-slice: 1;
}

figure.snip1193 {
    font-family: 'Raleway', Arial, sans-serif;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin: 10px;
    min-width: 220px;
    max-width: 310px;
    max-height: 220px;
    width: 100%;
    background: #000000;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

figure.snip1193 * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.6s ease;
    transition: all 0.6s ease;
}

figure.snip1193 img {
    opacity: 1;
    width: 310px;
    height: 170px;
    display: block;
}

figure.snip1193 figcaption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 10px 12px 5px;
    position: absolute;
}

figure.snip1193 h4,
figure.snip1193 i {
    color: #ffffff;
}

figure.snip1193 h4 {
    font-weight: 600;
    left: 0;
    width: 100%;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 20px;
    opacity: 0;
}

figure.snip1193 i {
    font-size: 22px;
    color: white;
}

figure.snip1193 a {
    text-decoration: none;
}

figure.snip1193 .bottom-left,
figure.snip1193 .bottom-right {
    position: absolute;
    bottom: 5px;
    opacity: 0;
}

figure.snip1193 .bottom-left {
    left: 5px;
    -webkit-transform: translate(-50%, 50%);
    transform: translate(-50%, 50%);
}

figure.snip1193 .bottom-right {
    right: 5px;
    -webkit-transform: translate(50%, 50%);
    transform: translate(50%, 50%);
}

figure.snip1193:hover img,
figure.snip1193.hover img {
    opacity: 0.6;
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

figure.snip1193:hover figcaption .bottom-left,
figure.snip1193.hover figcaption .bottom-left,
figure.snip1193:hover figcaption .bottom-right,
figure.snip1193.hover figcaption .bottom-right,
figure.snip1193:hover figcaption h4 {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
    opacity: 1;
}

/*@keyframes animateBg{
    0%,100%{
        transform: scale(1);
    }
    50%{
        transform: scale(1.2);
    }
}*/

.span {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1), 0 0 0 8px rgba(255, 255, 255, 0.1), 0 0 20px rgba(255, 255, 255, 0.1);
    animation: animate 3s linear infinite;
}

.span::before {
    content: '';
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg, #fff, transparent);
}

@keyframes animate {
    0% {
        transform: rotate(315deg) translateX(0);
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        transform: rotate(315deg) translateX(-1000px);
        opacity: 0;
    }
}

.span:nth-child(1) {
    top: 0;
    right: 0;
    left: initial;
    animation-delay: 0s;
    animation-duration: 1s;
}

.span:nth-child(2) {
    top: 0;
    right: 80px;
    left: initial;
    animation-delay: 0.2s;
    animation-duration: 3s;
}

.span:nth-child(3) {
    top: 80;
    right: 0px;
    left: initial;
    animation-delay: 0.4s;
    animation-duration: 2s;
}

.span:nth-child(4) {
    top: 0;
    right: 180px;
    left: initial;
    animation-delay: 0.6s;
    animation-duration: 1.5s;
}

.span:nth-child(5) {
    top: 0;
    right: 400px;
    left: initial;
    animation-delay: 0.8s;
    animation-duration: 2.5s;
}

.span:nth-child(6) {
    top: 0;
    right: 600px;
    left: initial;
    animation-delay: 1s;
    animation-duration: 3s;
}

.span:nth-child(7) {
    top: 300px;
    right: 0px;
    left: initial;
    animation-delay: 1.2s;
    animation-duration: 1.75s;
}

.span:nth-child(8) {
    top: 0px;
    right: 700px;
    left: initial;
    animation-delay: 1.4s;
    animation-duration: 1.25s;
}

.span:nth-child(9) {
    top: 0px;
    right: 1000px;
    left: initial;
    animation-delay: 0.75s;
    animation-duration: 2.25s;
}

.span:nth-child(9) {
    top: 0px;
    right: 450px;
    left: initial;
    animation-delay: 2.75s;
    animation-duration: 2.75s;
}
@media only screen and (max-width: 600px) {
    .btn {
        gap: 0px;
    }
    .textbox {
        width: 70%;
        left: 15%;
    }
    .project_box {
        flex-direction: column;
    }
    .btn2 {
        display: none;
    }
    nav {
        display: flex;
        justify-content: space-around;
    }
    .project_box {
        align-items: center;
        margin-top: 30px;
    }
    .about {
        flex-direction: column;
    }
    .about_text {
        flex-direction: column;
    }
    .about_box {
        width: 80%;
        margin: 50px 50px;
        height: 40%;
    }
    .about img {
        margin: 0% 20%;
    }
}