/* impotant */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Jersey+15&family=Pixelify+Sans:wght@400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Winky+Sans:ital,wght@0,300..900;1,300..900&display=swap');

@keyframes reload {
    from { transform: translatey(-10%); opacity: 0; }
    to { transform: translatey(0%); opacity: 1; }
}

* :not(body,
 .skill-container i,
  .skill-container p) {
    animation: reload 0.75s ease;
}

body {
    overflow-x: hidden;
    margin: 0;
    height: 90dvh;
    font-family: "Poppins";
    color: #ffffff;
    background-color: #0d1321;
}
    h1 {
        width: 100%;
        text-align: center;
    }
    header {
        background-color: #202020;
        box-shadow: 0 5px 5px #00000033;
        width: 100%;
        height: 10dvh;
        position: fixed;
        border-radius: 0 0 20px 20px;
        top: 0;
        z-index: 10;
    }
        header img {
            height: 90%;
            translate: 10% 0.75dvh;
        }
    .links {
        position: fixed;
        top: 3dvh;
        right: 25px;
    }
        .links a {
            font-size: 15px;
            padding: 10px;
            color: #ffffff;
            text-decoration: none;
            transition: all 0.5s ease;
        }
            .links a:hover {
                border-top: solid 2px #ffffff;
            }

    main {
            margin-top: 10dvh;
        }

footer {
    background-color: #202020;
    box-shadow: 0 -5px 5px rgba(0,0,0,0.3);
            border-radius: 20px 20px 0 0;
    height: 10dvh;
}
    footer p {
        text-align: center;
        translate: 0 2dvh;
    }

/* index */

.index {
    overflow: hidden;
    background-color: #101725;
    background-image: url("https://www.transparenttextures.com/patterns/cartographer.png");
}
    .name-container {
        align-content: center;
        justify-self: center;
        height: 80dvh;
        text-align: center;
        translate: 0 -5dvh;
    }
        .name {
            align-self: center;
        }
            .name h1 {
                font-size: 30px;
            }
            
            .name h2 {
                font-size: 25px;
            }

@media (max-width: 425px) {
    .name h1 {
        font-size: 25px;
    }
    .name hr {
        width: 75dvw;
    }
    .name h2 {
        font-size: 20px;
    }
}

/* about */

.about {
    background-color: #101725;
    background-image: url("https://www.transparenttextures.com/patterns/low-contrast-linen.png");
}

    .about-container,
    .about h1 {
        justify-self: center;
        text-align: center;
        padding: 5px;
    }
        .about h1 {
            translate: 0 20px;
        }
        .about h3 {
            translate: 0 5px;
        }
        .about-container div {
            text-align: center;
            margin-top: 20px;
            border: solid 2px #313131;
            border-radius: 20px;
            background-color: #2b2b2b25;
            padding: 5px;
        }

/* skills */

.skills {
    overflow: hidden;
    background-color: #191f2b;
    background-size: 200px;
    background-image: url("https://www.transparenttextures.com/patterns/inspiration-geometry.png");

}
    .skill-section {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        justify-self: center;
        min-height: 80dvh;
        gap: 10px;
        height: auto;
        max-width: 1000px;
        text-align: center;
    }
        .skills h1 {
            width: 100%;
            text-align: center;
        }
        .skills h4 {
            width: 100%;
            text-align: center;
        }
            .skill-container {
                background-color: #272727;
                box-shadow: 0 5px 5px #00000033;
                border: outset #53535375 3px;
                min-width: 30%;
                border-radius: 30px;
                height: 65px;
                padding: 5px;
                transition: ease 0.5s;
                flex: 0.4;
                
            }
                .skill-container:hover {
                    box-shadow: 0 5px 5px #3d3d3d65;
                    transform: translateY(-5px);
                    flex: 0.5;
                }
                .skill-container i,
                .skill-container p {
                    transform: translateY(-190%);
                    padding: 10px;
                }
                    .progress {
                        height: 100%;
                        border-radius: 25px;
                    }
                        .html {
                            background-color: #ff7b00;
                        }
                        .css {
                            background-color: #0084ff;
                        }
                        .js {
                            background-color: #ffc400;
                        }
                        .scratch {
                            background-color: #ff5100;
                        }  

/* projects */

.projects {
    background-color: #101725;
    background-image: url("https://www.transparenttextures.com/patterns/axiom-pattern.png");
}
    .project-section {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        justify-self: center;
        min-height: 80dvh;
        gap: 10px;
        height: auto;
        max-width: 1000px;
        text-align: center;
    }
        .projects h1 {
            width: 100%;
            text-align: center;
        }
        .projects h2,
        .projects h4 {
            width: 100%;
            text-align: center;

        }
        .project-container {
            background-color: #202020;
            box-shadow: 0 5px 5px #00000033;
            border: outset #53535375 3px;
            height: 100%;
            padding-bottom: 40px;
            width: 300px;
            border-radius: 20px;
            color: #fff;
            
        }
            .project-container a {
                text-decoration: none;
                color: #fff;
                background-color: #1b5310;
                border: double 3px #16410d;
                border-radius: 30px;
                padding: 10px;
            }
            .project-container img {
                width: 90%;
                border-radius: 20px;
            }

/* debugging 

* {
    border: #9c9c9c dotted 1px;
}*/