* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    background-color: #0e141f;

    color: white;
}

::-webkit-scrollbar {
    display: none;
}

section {
    width: 100%;
    height: 100vh;
    z-index: 1;
}

.heading {
    text-align: center;
    color: #639aff;
    font-size: 3rem;

    span {
        color: yellow;
    }
}

@media screen and (max-width: 767px) {
    .heading {
        font-size: 2rem;

    }
}

#particles-js {
    height: 100vh;
    width: 100%;
    position: sticky;
}

@media screen and (max-width: 767px) {
    #particles-js {
        display: none;
    }
}
.button {
    width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.button-32 {
    margin: 5vh auto;

    background-color: #fff000;
    border-radius: 12px;
    color: #000;
    cursor: pointer;
    font-weight: bold;
    padding: 10px 15px;
    text-align: center;
    transition: 200ms;
    width: 200px;
    box-sizing: border-box;
    border: 0;
    font-size: 16px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-32:not(:disabled):hover,
.button-32:not(:disabled):focus {
    outline: 0;
    background: #f4e603;
    box-shadow: 0 0 0 2px rgb(255 255 255 / 51%),
        0 3px 8px 0 rgb(255 255 255 / 25%);
}

.button-32:disabled {
    filter: saturate(0.2) opacity(0.5);
    -webkit-filter: saturate(0.2) opacity(0.5);
    cursor: not-allowed;
}

.home {
    display: flex;
    flex-direction: column;
    height: fit-content;

    .defaulter {
        height: 7vh;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 0 1rem;
        align-items: center;
        font-size: 1.5rem;
        color: white;
        padding-left: 3rem;

        ul {
            z-index: 11;
            display: flex;
            flex-direction: row;

            li {
                list-style: none;
                margin-right: 2rem;

                a {
                    color: #639aff;
                    text-decoration: none;
                }
            }

            :hover {
                text-decoration: underline;
                color: yellow;
            }
        }

        div {
            input {
                display: none;
            }

            label {
                color: #639aff;
                font-size: 1.5rem;
                display: none;
            }
        }

    }


}


.responsive {
    height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    align-items: center;
    font-size: 1.5rem;
    color: white;

    div {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
    }

    div {
        input {
            display: none;
        }

        label {
            display: block;
        }
    }

    ul {
        margin-top: 5px;
        width: 100%;
        z-index: 11;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 1rem;
        justify-items: stretch;
        align-items: center;
        justify-content: center;
        font-size: 1rem;

        li {
            background-color: #141d2e;
            padding: 5px 1rem;
            list-style: none;
            text-align: center;

            a {
                color: #639aff;
                text-decoration: none;
            }
        }

        :hover {
            text-decoration: underline;
            color: yellow;
        }
    }

}





@media screen and (max-width: 767px) {

    .home {
        display: flex;
        flex-direction: column;

        .defaulter {
            height: 7vh;
            display: flex;
            flex-direction: row;
            padding: 0 1rem;
            align-items: center;
            font-size: 1.5rem;
            /* padding-left: 3rem; */


            ul {
                display: none;
            }

            div {
                width: 100%;
                display: flex;
                flex-direction: row;
                justify-content: flex-end;
                align-items: center;
            }

            div {
                input {
                    display: none;
                }

                label {
                    display: block;
                }
            }
        }


    }
}

.codingprofile {
    padding: 5vh 0;

    .container {
        margin: 10vh auto;
        width: 80vw;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 1rem;
        justify-items: stretch;
        align-items: center;
        justify-content: center;

        .card {
            background-color: #141d2e;
            min-width: 100px;
            min-height: 100px;
            border-radius: 1rem;
            display: flex;
            flex-direction: row;
            overflow: hidden;

            .image {
                background-color: white;
                height: 200px;
                width: 200px;
                display: flex;
                justify-content: center;
                align-items: center;

                img {
                    height: 180px;
                    width: 180px;
                }
            }

            .info {
                margin-left: 1rem;
                display: flex;
                flex-direction: column;
                justify-content: center;
                height: 200px;
                width: 400px;
                line-height: 1.6rem;

                h2 {
                    text-transform: uppercase;
                    margin-bottom: 1rem;
                }
            }
        }
    }
}

@media screen and (max-width: 767px) {
    .codingprofile {
        height: fit-content;
        padding: 2vh 0 5vh;

        .container {
            margin: 5vh auto;
            width: 95vw;
            display: flex;
            flex-direction: column;
            justify-items: center;
            align-items: center;
            justify-content: center;

            .card {

                .image {
                    background-color: white;
                    height: 140px;
                    width: 130px;
                    display: flex;
                    justify-content: center;
                    align-items: center;

                    img {
                        height: 120px;
                        width: 120px;
                    }
                }

                .info {
                    margin-left: 1rem;
                    height: 140px;
                    width: 200px;
                    line-height: 1rem;

                    h2 {
                        font-size: 1.2rem;
                    }

                    h3 {
                        font-size: 1rem;
                    }

                    h4 {
                        font-size: 0.8rem;
                    }
                }
            }
        }
    }
}

.heading2 {
    text-align: center;
    position: relative;
    font-size: 2.5rem;
}

@media screen and (max-width: 767px) {.heading2 {
    font-size: 1.5rem;
}}
.MyBadges {
    height: fit-content;

    .container {
        margin: 5vh auto;
        padding: 1rem;
        border-radius: 1rem;
        width: 80vw;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* background-color: #639aff; */

        .box {
            height: 30vh;
            width: 20vw;
            background-color: #141d2e;
            border-radius: 1rem;
            display: flex;
            flex-direction: column;
            justify-content: space-evenly;
            align-items: center;

            img {
                padding: 5px;
                border-radius: 1rem;
                background-color: #14213a;
                height: 100px;
                width: auto;
            }

            .lBadges {
                display: grid;
                grid-template-columns: repeat(7, 1fr);
                grid-template-rows: 2fr 1fr;
                align-content: center;
                align-items: center;
                justify-items: center;
                justify-content: center;
            }
        }

        .box1 {
            display: block;
            margin: 0 auto;
            width: 70vw;
            height: fit-content;
            padding: 1rem;
        }

        .minicontainer {
            padding: 1rem;
            width: 80vw;
            margin-top: 2rem;
            display: flex;
            flex-direction: row;
            justify-content: space-evenly;
            align-items: center;

            .box>div {
                width: 100%;
                display: flex;
                flex-direction: row;
                justify-content: space-evenly;
            }
        }
    }
}

@media screen and (max-width: 767px) {
    .MyBadges {
        height: fit-content;

        .container {
            margin: 2vh auto;
            width: 95vw;

            .box {
                height: fit-content;
                width: 100%;

                img {
                    margin: 1rem ;
                }

                .lBadges {
                    grid-template-columns: repeat(2, 1fr);
                    grid-template-rows: 7fr;
                }
            }

            .box1 {
                height: fit-content;
                width: 100%;
                padding: 1rem;
            }

            .minicontainer {
                width: 95vw;
                margin-top: 1rem;
                flex-direction: column;
                .box{
                    padding: 1rem;
                    margin: 1rem ;
                }
            }
        }
    }
}

.certificates {
    height: fit-content;
    margin-bottom: 10vh;

    .container {
        margin: 5vh auto;
        width: 80vw;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 1rem;
        justify-items: stretch;
        align-items: center;
        justify-content: center;

        img {
            width: 30vw;
            height: 300px;
            border-radius: 1rem;
        }
    }
}

@media screen and (max-width: 767px) {
    .certificates {
        .container {
            margin: 5vh auto;
            width: 95vw;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;

            img {
                margin: 1rem auto;
                width: 90vw;
                height: 250px;
                border-radius: 1rem;
            }
        }
    }
}