@import url(/assets/css/theme.css);

body {
    margin-bottom: 100px;
}

hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #6366f1, transparent);
    margin: 40px 0;
}

#nav-bar {
    display: flex;
    gap: 8px;
    justify-self: center;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 999;
    bottom: 10px;
    background-color: #262627;
    height: 45px;
    width: 300px;
    border-radius: 50px;
    box-shadow: 0 4px 12px black;

    a {
        display: flex;
        z-index: 999;
        align-items: center;
        font-family: var(--bodytxt);
        font-weight: 600;
        height: 25px;
        padding: 5px;
        border-radius: 50px;
        color: white;
        text-decoration: none;
    }
}

#home {
    #current {
        color: #201d2c;
        background-color: white;
    }

    header {
        .p-card {
            display: flex;
            justify-self: center;
            justify-content: center;
            align-content: center;
            gap: 40px;
            position: relative;
            width: 80%;
            padding: 40px 24px;
            border-radius: 20px;
            color: #ffffff;
            text-align: center;
            overflow: hidden;
            background: rgba(255, 255, 255, 0.04);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
            --x: 50%;
            --y: 50%;

            .prp {
                img {
                    height: 180px;
                    border-radius: 50%;
                    pointer-events: none;
                    user-select: none;
                }
            }

            .nnb {
                h1 {
                    margin: 0;
                    text-align: left;
                }

                h2 {
                    margin: 0;
                    text-align: left;
                    font-size: 20px;
                    color: yellow;
                }

                div {
                    font-family: var(--bodytxt);
                    display: flex;
                    align-items: left;

                    justify-self: left;
                    gap: 10px;
                    font-size: 14px;
                    color: #ffffff;

                    .status {
                        width: 15px;
                        height: 15px;
                        background-color: #22c55e;
                        border-radius: 100%;
                        position: relative;
                        display: block;
                    }

                    .status:after {
                        content: "";
                        position: absolute;
                        inset: 0;
                        border-radius: 50%;
                        background-color: #22c55e;
                        transform-origin: center;
                        animation: pulse 2s infinite ease-out;
                    }
                }

                .socials {
                    display: flex;
                    justify-content: left;
                    gap: 10px;
                    margin: 10px 0 0 0;

                    svg {
                        height: 20px;
                        width: auto;
                        margin: 0;
                    }

                    svg path {
                        fill: white;
                    }

                    img {
                        height: 20px;
                        margin: 0;
                    }
                }
            }
        }

        .p-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 50%;
            background: linear-gradient(180deg,
                    rgba(255, 255, 255, 0.1) 0%,
                    rgba(255, 255, 255, 0) 100%);
            pointer-events: none;
        }

        .p-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: inherit;
            background: radial-gradient(600px circle at var(--x) var(--y),
                    rgba(255, 255, 255, 0.18),
                    transparent 40%);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

        .p-card:hover::after {
            opacity: 1;
        }

    }

    main {
        p {
            margin: 80px;
        }
    }

}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

#contact {
    #current {
        color: #201d2c;
        background-color: white;
    }

    main {
        form {
            display: flex;
            flex-direction: column;
            justify-self: center;
            width: 600px;
            gap: 15px;

            input {
                height: 30px;
                border: none;
                border-radius: 10px;
                padding: 5px;
                font-family: var(--bodytxt);
                font-weight: 600;
                font-size: 14px;
                color: #201d2c;
            }

            input:focus {
                outline: none;
            }

            textarea:focus {
                outline: none;
            }

            textarea {
                border: none;
                border-radius: 10px;
                padding: 5px;
                font-family: var(--bodytxt);
                font-weight: 600;
                font-size: 14px;
                color: #201d2c;
                resize: none;
            }

            button {
                height: 35px;
                background-color: #fa6f06;
                border: none;
                font-family: var(--bodytxt);
                font-weight: 600;
                color: white;
                font-size: 14px;
                border-radius: 10px;
            }
        }
        p{
            text-align: center;
            font-weight: 700;
        }
    }
}


#trunk {
    #current {
        color: #201d2c;
        background-color: white;
    }

    header {
        h1 {
            margin: 0;

        }

        h2 {
            margin: 0;
            text-align: center;
            font-size: 20px;
            color: yellow;
            font-family: var(--bodytxt);
        }
    }

    main {
        section {
            h3 {
                display: block;
                justify-self: center;
                text-align: center;
                font-family: var(--bodytxt);
                background-color: #fa6f06;
                width: auto;
                padding: 2px 5px 2px 5px;
                border-radius: 10px;
                font-size: 21px;
                margin: 20px;
            }

            ul {
                margin: 20px 10px 20px 0;

                li {
                    margin: 20px 10px 20px 0;
                }
            }
        }
    }
}

#writings {
    #current {
        color: #201d2c;
        background-color: white;
    }

    header {
        h1 {
            margin: 0;

        }

        h2 {
            margin: 0;
            text-align: center;
            font-size: 20px;
            color: yellow;
            font-family: var(--bodytxt);
        }
    }

    main {
        .temp {
            margin: 100px 0 0 0;

            img {
                height: 500px;
                margin: 50px;
                display: flex;
                justify-self: center;
                pointer-events: none;
                user-select: none;
                border-radius: 10px;
            }

            h3 {
                text-align: center;
                font-size: 25px;
                margin: 0;
            }

            p {
                text-align: center;
                font-style: italic;
            }
        }
    }

    footer {
        p {
            text-align: center;
            font-weight: 400;
            font-size: 15px;
        }
    }
}

#links {
    main {
        div {
            font-family: var(--bodytxt);
            display: flex;
            align-items: center;

            justify-self: center;
            gap: 10px;
            font-size: 14px;
            color: #ffffff;

            .status {
                width: 15px;
                height: 15px;
                background-color: #22c55e;
                border-radius: 100%;
                position: relative;
                display: block;
            }

            .status:after {
                content: "";
                position: absolute;
                inset: 0;
                border-radius: 50%;
                background-color: #22c55e;
                transform-origin: center;
                animation: pulse 2s infinite ease-out;
            }
        }

        section {
            display: block;
            justify-self: center;
            padding: 10px;
            margin: 10px;

            p {
                font-family: var(--bodytxt);
                text-align: center;
                font-size: 20px;
                font-weight: 600;
            }

            a {
                display: block;
                align-content: center;
                text-align: center;
                background-color: #fa6f06;
                color: white;
                font-family: var(--bodytxt);
                font-weight: 500;
                font-size: 18px;
                border-radius: 10px;
                height: 50px;
                width: 50vw;
                text-decoration: none;
                margin: 10px;
                transition: transform 0.3s ease, box-shadow 0.3s ease;
            }

            a:hover {
                transform: translateY(-6px);
                box-shadow: 0 16px 24px -6px rgba(0, 0, 0, 0.5);
            }
        }
    }
}

#post {
    margin: 0 200px 0 200px;

    header {
        .navigation {
            display: flex;
            justify-content: center;
            margin: 20px 0 20px 0;

            button {
                color: #201d2c;
                background-color: #6ed4ff;
                font-family: var(--bodytxt);
                font-size: 20px;
                font-weight: 600;
                border: none;
                border-radius: 5px;
                cursor: pointer;
            }
        }

        div {
            h1 {
                font-family: var(--title);
                text-align: center;
            }

            .details {
                display: flex;
                gap: 100px;
                justify-content: center;
                font-family: var(--bodytxt);
                padding: 0;
                margin: 0;
            }
        }
    }

    main {
        p {
            font-family: var(--bodytxt);
        }
    }

    footer {
        margin: 20px 0 50px 0;

        .legal {
            display: flex;
            flex-direction: column;
            gap: 5px;
            background-color: rgb(255, 136, 136);
            height: fit-content;
            width: fit-content;
            padding: 15px;
            border-radius: 10px;
            border-left: 11px solid #ff0000;
            font-family: var(--bodytxt);
            color: #201d2c;

            label {
                font-weight: 800;
            }

            caption {
                font-weight: 550;
            }

            p {
                margin: 0 0 11px 0;
            }
        }
    }
}

#services{
    background-color: #201d2c;
    header{
        h2{
            text-align: center;
            font-size: 25px;
        }
    }
    main{
        .website{
            .quotation{
                display: flex;
                gap: 20px;
                justify-content: center;

                .single-page{
                    background-color: rgb(58, 62, 66);
                    height: 600px;
                    width: 300px;
                    border-radius: 11px;

                    h3{
                        text-align: center;
                        font-size: 50px;
                        margin: 0 0 0 0;
                    }
                    h4{
                        text-align: center;
                        font-size: 25px;
                        margin: 10px 0 0 0;
                        font-weight: 600;
                    }
                    ul{
                        li{
                            font-family: var(--bodytxt);
                        }
                    }

                }
                .standard{
                    background-color: rgb(58, 62, 66);
                    height: 600px;
                    width: 300px;
                    border-radius: 11px;

                    h3{
                        text-align: center;
                        font-size: 50px;
                        margin: 0 0 0 0;
                    }
                    h4{
                        text-align: center;
                        font-size: 25px;
                        margin: 10px 0 0 0;
                        font-weight: 600;
                    }
                    ul{
                        li{
                            font-family: var(--bodytxt);
                        }
                    }

                    div{
                        border-radius: 10px;
                        text-align: center;
                        font-family: var(--bodytxt);
                        font-weight: 800;
                        border-radius: 10px 10px 0 0;
                        background-color: #6366f1;
                    }
                }
                .premium{
                    background-color: rgb(58, 62, 66);
                    height: 600px;
                    width: 300px;
                    border-radius: 11px;

                    h3{
                        text-align: center;
                        font-size: 50px;
                        margin: 0 0 0 0;
                    }
                    h4{
                        text-align: center;
                        font-size: 25px;
                        margin: 10px 0 0 0;
                        font-weight: 600;
                    }
                    ul{
                        li{
                            font-family: var(--bodytxt);
                        }
                    }
                }
                .custom{
                    background-color: rgb(58, 62, 66);
                    height: 600px;
                    width: 300px;
                    border-radius: 11px;
                }
            }
        }
    }
}

@media (max-width: 768px) {
    #home {
        header {
            .p-card {
                width: 80vw;
                gap: 15px;
                align-items: center;
                padding: 10px;

                .prp {
                    img {
                        width: 160px;
                        height: auto;
                    }
                }

                .nnb {
                    h1 {
                        font-size: 40px;
                    }

                    h2 {
                        font-size: 12px;
                        font-weight: 500;
                    }

                    .stat {
                        display: flex;
                        align-items: center;
                        justify-items: left;
                    }
                }
            }

            main {
                margin: 10px;
            }
        }
    }

    #writings {

        main {
            .temp {
                img {
                    height: auto;
                    width: 90vw;
                }
            }
        }
    }

    #contact {
        main {
            form {
                width: 90vw;
            }
        }
    }

    #links {
        main {
            section {
                a {
                    width: 90vw;
                }
            }
        }
    }
}