@font-face {
    font-family: "Neon";
    src: url(../fonts/NeonSans.ttf);
}

@font-face {
    font-family: "Typewriter";
    src: url(../fonts/TypeMachine.ttf);
}

@keyframes bounce {
    0% {
        top: 100vh;
    }
    30% {
        top: 92vh;
    }
    60% {
        top: 100vh;
    }

    100% {
        top: 100vh;
    }
}

.about {
    display: flex;
    position: relative;
    top: 100vh;
    background-color: rgba(9, 9, 9, 1);
    z-index: 900;
}

.about_container {
    padding: 0px 40px;
    border-top: 2px solid;
    border-top-color: rgb(4,217,255);
}

.about_container h1 {
    font-family: "Neon";
    font-size: 6.5rem;
    color: rgb(4,217,255);
    text-shadow: 5px 5px 20px rgba(0, 178, 209, 0.3);
    padding-left: 6vw;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    white-space: nowrap;
    margin: 10px 0;

}

@keyframes extend {
    0% {
        width: 0px;
    }
    100% {
        width: 75vw;
    }
}

.about_title_line {
    display: block;
    width: 75vw;
    height: 2px;
    margin-left: 6vw;
    background-color: rgb(4,217,255);
    box-shadow: 5px 5px 20px rgba(0, 178, 209, 0.3);
}

.about_container h3 {
    font-family: "Typewriter";
    font-size: 3rem;
    color: white;
    padding: 25px 0 0 7vw;
}

.about_content {
    display: flex;
    perspective: 1000px;
    margin-bottom: 40px;
}

.about_content p {
    flex: 1;
    font-family: "Typewriter";
    font-size: 1.3rem;
    color: white;
    padding: 25px 0 0 7vw;
}

.profile_pic_container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about_content img,
iframe {
    width: 30vw;
    margin-left: 50px;
    border-radius: 50%;
    box-shadow: 2px 2px 5px rgba(255, 255, 255, 0.2);
    transition: transform 0.1s ease;
}

.fade-in {
    overflow-x: hidden;
    opacity: 0;
    transition: opacity 2s ease;
}

.fade-in.appear {
    opacity: 1;
}

.from-left {
    transform: translateY(10%);
}

.from-right {
    transform: translateY(20%);
}

.from-left,
.from-right {
    transition: all 1s ease-in;
}

.from-left.appear,
.from-right.appear {
    transform: translateY(0%);
}


/*PROJECTS*/

.projects {
    margin-top: -5px;
    padding-top: 100px;
}

.projects_title {
    padding: 20px 0;
}

.skills_container {
    display: flex;
    margin-left: 7vw;
    margin-top: 10px;
    flex-wrap: wrap;
}

.skills_card {
    margin: 0 10px;
    margin-top: 20px;
    background-color: rgb(0, 130, 153);
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 20%;
    border: 1px solid;
    border-color: rgb(4,217,255);
    box-shadow: 2px 2px 10px rgba(0, 178, 209, 0.7);
}

.skills_card p {
    padding: 6px 20px;
    text-align: center;
}

h4 {
    font-family: "Typewriter";
    font-size: 2.2rem;
    color: white;
    padding: 25px 0 0 7vw;
}

.project_text {
    flex: 1;
}

.my_website_container {
    display: flex;
    margin-top: 20px;
    padding: 20px;
}

.my_website_container img:hover {
    transform: scale(1.055);
    transition: 0.3s ease-in-out;
}

.my_website_container img,
iframe {
    width: 40vw;
    margin-left: 50px;
    border: 1px solid;
    border-color: rgb(4,217,255);
    border-radius: 6px;
    box-shadow: 0px 0px 20px rgba(0, 120, 168, 0.8);
}

.video_container {
    padding-bottom: 0px;
}

.about_carousel {
    padding-top: 30px;
}

#carousel {
    width: 50vw;
    height: auto;
    display: flex;
}

#carousel img {
    flex: 1;
    width: 17vw;
    height: auto;
    margin-left: 0px;
    border-radius: 6px;
    border: 1px solid;
    border-color: rgb(4,217,255);
    box-shadow: 2px 2px 5px rgba(255, 255, 255, 0.2);
    transition: transform 0.1s ease;
    display: hidden;
    cursor: pointer;
}

.fa-chevron-left,
.fa-chevron-right {
    position: absolute;
    color: rgb(4,217,255);
    text-shadow: rgba(0, 178, 209, 0.7);
    font-size: 1.5rem;
    margin-top: 200px;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20%;
    border: 0.5px solid;
    border-color: rgb(4,217,255);
    box-shadow: 2px 2px 5px rgba(255, 255, 255, 0.2);
}

.fa-chevron-right {
    right: 0px;
}

.fa-chevron-left {
    left: 0px;
}

.space_vid_container {
    flex: 1;
    display: flex;
    align-items: right;
    justify-content: right;
}

.space_vid_container iframe {
    position: relative;
    width: 40vw;
    right: 60px;
    border: 1px solid;
    border-color: rgb(4,217,255);
    border-radius: 6px;
    box-shadow: 0px 0px 20px rgba(0, 120, 168, 0.8);
    height: 300px;
    margin-top: -150px;
}

.img_gallery {
    display: flex;
    margin-top: 20px;
    padding: 40px;
}

.img_gallery img:hover {
    transform: scale(1.25);
    transition: 0.3s ease-in-out;
}

.img_gallery img {
    width: 15vw;
    height: auto;
    margin-left: 10px;
    border: 1px solid;
    border-color: rgb(4,217,255);
    border-radius: 6px;
    box-shadow: 0px 0px 20px rgba(0, 120, 168, 0.8);
}


/*SKILLS SECTION*/

.skill_card_container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 10px;
    margin: 0 7vw;
    padding-left: 0px;
}

.skill_card {
    display: flex;
    flex-direction: column;
    background-color: rgb(2, 113, 133);
    border: 2px solid;
    border-color: rgb(185, 242, 251);
    border-radius: 8px;
    box-shadow: 5px 5px 15px rgba(0, 178, 209, 0.4);
    align-items: center;
    justify-content: center;
    width: 210px;
}

.skill_card h5 {
    font-family: "Typewriter";
    font-size: 1.6rem;
    color: white;
    padding: 25px 0;
    text-align: center;
}

.skill_card i {
    font-size: 4.5rem;
    color: white;
    padding: 20px 0;
    align-items: center;
    justify-content: center;
}

.skill_card .svg_container {
    padding: 20px 0;
}

.skill_card p {
    font-family: "Typewriter";
    font-size: 1.2rem;
    color: white;
    text-align: center;
    padding-bottom: 10px;
    display: none;
}

.dots {
    display: flex;
    width: 60%;
    padding-top: 8px;
    padding-bottom: 20px;
    justify-content: space-around;
}

.full,
.empty {
    height: 12px;
    width: 12px;
    border: 1px solid;
    border-color: white;
    border-radius: 50%;
}

.full {
    background-color: white;
}

.skill_card:hover {
    background-color: rgb(185, 242, 251);
    border-color: rgb(2, 113, 133);
}

.skill_card:hover h5,
.skill_card:hover p,
.skill_card:hover i {
    color: rgb(2, 113, 133);
}

.skill_card:hover svg path {
    fill: rgb(2, 113, 133);
}

.skill_card:hover #toWhite {
    fill: rgb(185, 242, 251);
}

.skill_card:hover #toNone {
    fill: none;
}


.skill_card:hover .dots {
    display: none;
}

.skill_card:hover p {
    display: block;
}


@media screen and (max-width: 960px) {
    .skills_card {
        margin-top: 20px;
    }
}

@media screen and (max-width: 768px) {

    .about_container {
        padding: 0px 10px;
        align-items: center;
        justify-content: center;
        max-width: 100%;
    }

    .about_container h1 {
        font-size: 4rem;
        text-align: center;
    }

    .about_title_line {
        width: 100%;
        margin-left: 0;
    }

    .about_content {
        flex-direction: column;
    }

    .about_content p {
        font-size: 1.2rem;
    }

    .about_content img,
    iframe {
        margin: 0;
        margin-top: 30px;
        width: 85vw;
    }

    .projects_title {
        margin: 0;
    }

    .about_container h3 {
        font-size: 2.7rem;
        text-align: center;
        padding: 0;
        margin: 0;
    }

    h4 {
        font-size: 1.6rem;
        padding: 0;
        text-align: center;
    }

    .img_gallery {
        flex-direction: column;
    }

    .carousel_container {
        display: none;
    }

    .space_vid_container {
        position: relative;
        width: 100%;
        justify-content: center;
    }

    .space_vid_container iframe {
        margin-top: 0;
        width: 85vw;
        height: 200px;
        margin-left: 100px;
    }
    
    .skills_container {
         margin-left: 0;
        justify-content: center;
    }

    .skill_card h5 {
        white-space: wrap;
    }

    .projects {
        padding-top: 50px;
        max-width: 100%;
    }
}

@media screen and (max-width: 500px) {
    .about_container h3 {
        font-size: 2.5rem;
        text-align: center;
        margin: 0;
        margin-top: 20px;
        padding: 0;
    }

    .about_content p {
        font-size: 1rem;
    }

    .skill_card_container {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        justify-content: center;
        padding: 0;
        margin: 0;
    }

    .skill_card {
        width: 170px;
    }
    
}