/* static/css/base.css */

/* BODY */
@media only screen and (max-width: 720px) {
    body, .dropdown-item { 
        font-size: 1.4em; 
    }
    .form-control, #comment-form button, #contact-form button {
        font-size: 1em;
    }
}

body {
    background-color: rgb(24, 25, 26);
    color: rgb(255, 255, 255);
}

.container {
    max-width: 64rem;
}

img, iframe {
    border-radius: 5px;
}

hr {
    border-top: 1px solid rgb(255, 255, 255);
}

a {
    text-decoration: underline;
    color: rgb(255, 255, 255);
}

a:hover {
    text-decoration: underline;
    color: rgb(0,150,255);
}

::selection {
    background-color: rgb(0,150,255);
    color: rgb(255, 255, 255);
}

/* NAVIGATION */
#nav-top {
    background-color: rgb(36, 37, 38);
}

#nav-left {
    text-decoration: none;
    color: rgb(255, 255, 255);
    background-color: rgb(0,150,255);
    border-radius: 5px;
    height: 100px;
    width: 100px;
    padding-left: 10px;
}

#nav-right a {
    text-decoration: none;
    color: rgb(117, 117, 117);
}

#nav-right a:hover {
    color: rgb(255, 255, 255);
    background-color: rgb(36, 37, 38);
}

.navbar .nav-item .dropdown-menu{ 
    display: none;
}

.navbar .nav-item:hover .dropdown-menu{ 
    display: block;
    background-color: rgb(36, 37, 38);
    color: rgb(117, 117, 117);
    margin-top: 0;
}

#searchbar-form .search-input {
    color: rgb(255, 255, 255);
    background-color: rgb(58, 59, 60);
    border-radius: 25px;
    border: 0px;
    height: 3rem;
}

/* CARD */
.card-img {
    border-radius: 5px;
    object-fit: cover;
    width: 15rem;
    height: 15rem;
}

.card {
    border-radius: 5px;
    background-color: rgb(0,150,255);
    margin: 0.4rem;
}

a:hover img.card-img {
    opacity: 0%;
}

.info {
    display: none;
    font-size: 1rem;
}

.card:hover .info {
    position: absolute;
    top: 0%;
    left: 0%;
    display: block;
    color: rgb(255,255,255);
    margin: 20px 20px 20px 20px;
}

.info hr {
    border-top: 1px solid rgb(255, 255, 255);
    margin: 0px;
    margin-top: 15px;
    margin-bottom: 25px;
    width: 30px;
}

/* FOOTER */
.footer {
    background-color: rgb(36, 37, 38);
    color: rgb(255, 255, 255);
    font-size: 10px;
}

#footer-left {
    padding-right: 2rem;
}

#footer-right {
    padding-left: 2rem;
}

/* COMMENT */
#comment-form .form-control {
    color: rgb(255, 255, 255);
    background-color: rgb(58, 59, 60);
    border-radius: 25px;
    border: 0px;
    height: 3rem;
    display: inline-block;
    vertical-align: middle;
    line-height: 2rem;
}

#comment-form button {
    height: 3rem;
    border-radius: 25px;
}

.btn-secondary:hover {
    background-color: rgb(0,150,255);
}

#comment-body {
    background-color: rgb(36, 37, 38);
    border-radius: 5px 25px 25px 25px;
    padding: 0.8rem;
    max-width: 58rem;
}

#comment-initial {
    background-color: rgb(175, 92, 247);
    border-radius: 25px;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    line-height: 3rem;
    height: 3rem;
    color: rgb(24, 25, 26);
    font-size: 1.2rem;
}

#comment-created_on {
    color: rgb(117, 117, 117);
}

#comment-author {
    color: rgb(175, 92, 247);
}

#comment-small {
    margin-left: 3rem;
}

/* CONTACT */
#contact-form .form-control {
    color: rgb(255, 255, 255);
    background-color: rgb(58, 59, 60);
    border: 0px;
}

/* CUSTOM */
.code-block {
    color: rgb(255, 255, 255);
    background-color: rgb(0, 0, 0);
    border-radius: 5px;
    font-family: SFMono-Regular,Menlo,Monaco,Consolas,liberation mono,courier new,monospace;
    white-space: pre-wrap;
    padding: 1rem;
}

.warning-block {
    color: rgb(225,0,225);
    background-color: rgb(216,200,216);
    border-radius: 5px;
    padding: 1rem;
}

.normal-block {
    color: rgb(255, 255, 255);
    background-color: rgb(36, 37, 38);
    border-radius: 5px;
}
