@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;
    bottom:10px;
    background-color: #262627;
    height: 45px;
    width: 300px;
    border-radius: 50px;
    box-shadow: 0 4px 12px black;
    a{
        display: flex;
        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 {
        h1{
            margin: 0;
        }
        h2 {
            margin: 0;
            text-align: center;
            font-size: 20px;
            color: yellow;
        }

        .socials {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin: 10px 0 0 0;

            svg {
                height: 20px;
                width: auto;
                margin: 0;
            }

            svg path {
                fill: white;
            }

            img{
                height: 20px;
                margin: 0;
            }
        }
        
    }

    main {
        p {
            padding: 30px;
        }
    }
}

@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;
            }
        }
    }
}


#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{
            ul{
                h3{
                    display: flex;
                    justify-self: center;
                    justify-content: center;
                    font-family: var(--bodytxt);
                    background-color: #fa6f06;
                    width: 200px;
                    border-radius: 10px;
                    font-size: 21px;
                    margin: 20px;
                }
                li{
                    margin: 20px;
                }
            }
        }
    }
}

#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;
            }
            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);
            }
        }
    }
}
