@font-face {
    font-family: 'The Amazing';
    src: url('fonts/The Amazing Spider-Man.ttf') format('truetype');

}

body {
    color: white;
    background: linear-gradient(to bottom, #000000, #000000);
    margin: 0px;
    padding: 0px;
    font-weight: 500;
    box-sizing: border-box;
    font-family: 'Inter', 'Roboto', monospace;
}

.projectWrapper {
    width: 350px;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 2px 1px rgb(1, 104, 133);
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    transition: transform .2s ease;
}

.projectWrapper p {
    color: rgb(197, 211, 218);
}

.projectWrapper h3 {
    position: static;
    color: white;
    margin-bottom: 20px;
    padding: 20px;
}

#projectsHeader {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
}

.projectWrapper:hover {
    transform: scale(0.99);
    transition: scale 0.1s ease-in-out;
}

.profile-img-wrapper {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 55%;
    height: 100%;
    z-index: 0;
}

.profile-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top center;
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.9) 40%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.9) 40%, rgba(0, 0, 0, 0) 100%);
}

#allProjects {
    display: flex;
    margin-top: 60px;
    overflow-x: auto;
    padding: 0px;
    gap: 20px;
    scrollbar-width: none;
}

#allProjects a {
    text-decoration: none;
}

.cardImage {
    width: 100%;
    height: 220px;
    object-fit: contain;
    border-radius: 12px;
}

#hero {

    height: 100vh;
    border-radius: 10px;
    margin: 0;
    padding-left: 50px;
    display: flex;
    position: relative;
    overflow: hidden;
    flex-direction: column;
    justify-content: center;
}

.menu-icon {
    width: 40px;
    position: absolute;
    margin: 0;
}

#knowmeBtn {
    position: absolute;
    z-index: 1;
    top: 80%;
    left: 5%;
    text-align: center;
    align-self: center;
}

.menu-icon:hover {
    transform: scale(1.2);
    transition: all 0.1s;
}

#hero-content {
    position: relative;
    max-width: 480px;
    margin-bottom: 20px;
    z-index: 1;
}

#hero-content h1 {
    font-size: 50px;

}

#hero-content p {
    font-size: 0.9em;
    color: rgb(197, 211, 218);
    border-right: 2px solid rgb(8, 201, 255);
    background: linear-gradient(to right, transparent, rgb(4, 25, 31));
    border-radius: 5px;
    padding: 5px;
    font-weight: 500;
    letter-spacing: 2px;
}

p {
    font-size: 0.9em;
    letter-spacing: 1px;
    line-height: 1.8;
    font-weight: 100;
    color: rgb(109, 140, 155);
}

#about {
    padding: 60px 40px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#about header {
    text-align: center;
    margin-bottom: 40px;
}

h2 {
    margin-bottom: 8px;
}

.about-card {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 768px;
    margin: 0 auto;
}

.about-img-wrapper {
    flex-shrink: 0;
    position: relative;
}

.about-info {
    flex: 1;
    border: 1px solid rgb(8, 201, 255);
    background-color: hsla(184, 51%, 24%, 0.1);
    padding: 20px;
    border-radius: 12px;
}

.about-info p:first-child {
    font-size: 17px;
    font-weight: 500;
    color: white;
    margin-bottom: 16px;
}

.about-info p {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-img {
    height: 18em;
    border-radius: 12px;
    position: relative;
    z-index: 1;

    object-fit: cover;
    border-bottom: 2px solid rgb(8, 201, 255);
}

.accent-border {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 12em;
    height: 11em;
    border: 2px solid rgb(0, 3, 3);
    border-radius: 20%;
    background-color: rgb(8, 201, 255);
    z-index: 0;
}

#skills {
    text-align: center;
    padding: 20px;
    line-height: 50px;
    list-style: none;
    display: flex;
    margin-top: 50px;
    flex-direction: column;
    gap: 10px;

}

#skillsHolder {
    text-align: center;
    height: 100vh;
    margin-top: 150px;
}

#skills li {
    border-radius: 12px;
    padding: 10px;
    background-color: hsla(0, 0%, 0%, 0.1);
    box-shadow: 2px 2px 1px rgb(1, 104, 133);
    font-weight: 100;
    letter-spacing: 3px;
    max-width: 50%;
    align-self: center;
}

#contact {
    text-align: center;
    margin-top: 150px;

}

#form1 {
    padding: 30px;
    margin: 20px auto;
    min-width: 50%;
    text-align: center;

}

fieldset {
    border-radius: 10px;
    margin-top: 50px;
    padding: 20px;
    color: #acc9f3;
    font-size: 1em;
    background-color: hsla(0, 0, 0, 0.1%);
    border: none;

}

input,
textarea {
    padding: 4px;
    margin: 5px 0;
    color: white;
    border-radius: 10px;
    background-color: hsla(0, 0%, 0%, 0.0);
    border: none;
    box-shadow: 2px 2px 1px rgb(2, 103, 131);
}

input::placeholder,
textarea::placeholder {
    color: #94a3b8;
}

#submit {
    padding: 10px;
    margin: 10px;
    border-radius: 10px;
    color: #ffffff;
    font-size: 1em;
    width: 10em;
    background-color: hsla(192, 100%, 50%, 0.1);
    border: none;
    box-shadow: 2px 2px 1px rgb(1, 200, 255);
}

legend {
    color: white;
    padding: 0 10px;
}

.socials {
    position: fixed;
    top: 0;
    display: flex;
    align-self: center;
    flex-direction: row;
    padding: 20px;
    border-radius: 10px;
    z-index: 2;

}

#socialNavs {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

#socialNavs a img {
    width: 30px;
    filter: invert(1);
    border-radius: 50px;
}

#socialNavs a :hover {
    background-color: aliceblue;
    transform: rotate(360deg) scale(1.2);
    transition: all 0.1s;
    border-radius: 50px;
}

#knowme {
    position: absolute;
    z-index: 1;
    display: flex;
    gap: 1px;
    top: 80%;
    text-align: center;
    align-self: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#knowme.open {
    opacity: 1;
    visibility: visible;
}

#knowme a {
    text-decoration: none;
    font-size: 10px;
    color: white;
    border-radius: 50%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}

#knowme a img {
    border-radius: 10px;
    width: 30px;
}

#knowme a img:hover {
    background-color: aliceblue;
    transform: rotate(360deg) scale(1.2);
    transition: all 0.1s;
}

#myname {
    font-size: 150%;
    color: white;
    display: block;
    letter-spacing: 4px;
    margin-bottom: 12px;
    font-family: 'The Amazing', 'cursive';

}

#canvas1 {
    border: 10px solid white;
    position: absolute;
    left: 0px;
    cursor: crosshair;

}

#footer {
    background-color: hsla(183, 90%, 15%, 0.1);
    margin-top: 50px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;


}

@media (max-width: 1024px) {}

@media (max-width: 724px) {
    #hero {

        padding-left: 20px;
        padding-right: 20px;
        align-items: flex-start;
        justify-content: flex-end;
        padding-bottom: 60px;
    }

    #hero-content {
        position: absolute;
        left: 1px;
        top: 50%;
    }

    #myname {
        font-size: 100%;
    }

    .about-card {
        flex-direction: column;
        text-align: center;
    }

    .profile-img-wrapper {
        width: 100%;
        height: 100%;
        opacity: 0.4;
    }

    #knowme a img {
        border-radius: 10px;
        width: 25px;
    }

}