@charset "utf-8";

/* Structural Styles */
body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin: 15px;
    background: #454545;
    color: white;
    overflow: auto;
    text-align: center;
}

pre {
    margin: 0 auto 0 auto;
    max-width: fit-content;
    background: black;
    border-radius: 10px;
    code {
        p {
            text-align: left;
            margin: 0;
            padding: 0 10px 0 10px;
        }
    }
}

footer {
    padding: 5px 0 5px 0;
    background: rgb(52, 52, 52);
    width: 100%;
    p {
        color: white;
    }
}
footer::after {
    clear: both;
}

/* Navigation Styles & Link Styles */
.navbar {
    overflow: hidden;
    background-color: #333;
    font-family: Arial, Helvetica, sans-serif;
    button, a {
        background: #333;
        float: left;
        font-size: 16px;
        color: white;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
        border: none;
        cursor: pointer;
    }
    button:hover, a:hover {
        background-color: #ddd;
        color: black;
    }
}

nav.vertnav {
    display: flex;
    margin: 0 auto;
    ul.social {
        li {
            a {
                font-size: 28px;
                margin: 0 2.5px;
            }
        }
    }
    ul {
        width: fit-content;
        padding: 0 10px;
        li {
            list-style: none;
            a {color: rgb(202, 202, 202);}
            a:hover, a:active {color: rgb(255, 255, 255);}
        }
    }
}

a {
    color: white;
    text-decoration: none;
}
a:hover {
    color: rgb(200,200,200)
}

p, h2 {
    a {
        color: white;
        text-decoration: none;
    }
    a:hover, a:active {
        color: rgb(200, 200, 200);
    }
}

button.Download {
    background: rgb(189, 189, 189);
    max-width: 300px;
    min-width: 300px;
    border-radius: 50px;
    img {
        float: left;
        height: 50px;
        padding-top: 10px;
    }
}

/* Div Styles */
div.topbggrad {
    background: linear-gradient(0deg, rgba(69, 69, 69, 1), rgba(69, 69, 69, 0.6)),  url(/Assets/Images/bg1.jpg);
}

div.terasbggrad {
    background: linear-gradient(0deg, rgba(69, 69, 69, 1), rgba(69, 69, 69, 0.6)),  url(/Assets/Images/bg2.jpg);
}

div.terasbggrad, div.topbggrad {
    background-size: cover;
    border-radius: 25px;
    color: white;
    h1, h2, h3, p {
        padding: 0 5px;
    }
}

/* Blog Styles */
article.box {
    width: 95%;
    min-width: 600px;
    max-width: 700px;
    margin: 0 auto 0 auto;
    padding: 0 7px 0 7px;
    background: rgb(115, 115, 115);
    border-radius: 10px;
    color: white;
}

article {
    font-family: "Courier New", Courier, monospace;
    width: 95%;
    max-width: 1150px;
    min-width: 600px;
    margin-left: auto;
    margin-right: auto;
    background: rgb(84, 84, 84);
    p:first-of-type:first-letter {
        font-size: 1.5em;
    }
    p:last-of-type {
        padding-bottom: 5px;
    }
    a:hover {
        color: rgb(200, 200, 200);
    }
    a, a:visited {
        color: white;
    }
    p:first-of-type {
        padding-top: 7px;
    }
    h2:first-of-type {
        padding-top: 5px;
    }
}

header.blog {
    font-family: "Courier New", Courier, monospace;
}

/* Keyframes and Keyframe Content Styles */
@keyframes alert-popup {
    0% {
        opacity: 0%;
        top: 0%;
        left: 50%;
        transform: translate(-50%);
    }
    50% {
        top: 55%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    100% {
        opacity: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}
@keyframes overlay {
    0% {
        opacity: 0%;
    }
    100% {
        opacity: 100%;
    }
}
@keyframes alert-fadeout {
    0% {
        opacity: 100%;
    }
    25% {
        top: 55%;
    }
    100% {
        top: 0%;
        opacity: 0%;
    }
}
@keyframes overlay-fadeout {
    0% {
        opacity: 100%;
    }
    100% {
        opacity: 0%;
    }
}

div.alert-popup {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    background: white;
    color: black;
    visibility: hidden;
    padding: 0 10px 10px 10px;
    z-index: 9999;
    button {
        float: right;
        border-radius: 7px;
        border: thick;
        padding: 8px;
        z-index: 9999;
        cursor: pointer;
    }
}

#overlay {
    position: fixed;
    width: 100%; height: 100%;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* Mobile Layout */
@media (max-width: 768px) {
    body {
        font-size: 14px;
        margin: 0;
        p {
            padding: 4px;
        }
        div.topbggrad, div.terasbggrad {
            border-radius: 0;
            h1 {
                margin-top: 0;
                padding-top: 10px;
            }
        }
    }
    .navbar {
        font-size: 16px;
    }
    div.tril, div.tlil {img {width: 100%;}}
    div.trir, div.tlir {img {width: 100%;}}
    p.error {
            margin-bottom: 100px !important;
    }
}

/* Paragraph Structuring Styles */
div.tril, div.tlil {img {float: left}}
div.tlir, div.tlil {text-align: left}
div.trir, div.tlir {img {float: right}}
div.tril, div.trir {text-align: right}

/* Error Page Styles */
div#error {
    position: flex;
    align-content: center;
    height: 100%;
    h1 {
        font-size: 11.5rem;
        background: linear-gradient(white 10%, rgba(0,0,0,0.5) 75%, rgba(0,0,0));
        filter: drop-shadow(0 20px 5px rgba(0,0,0,0.4));
        background-clip: text;
        -webkit-text-fill-color: transparent;
        margin: 40px 0 0 0;
    }
    p:last-of-type {margin-bottom: 65px; margin-top: auto;}
    p:first-of-type {margin-bottom: auto;}
}