
.header {
    max-height: 300px;
    min-height: 130px;
}

.header-text {
    text-align: center;
    position: absolute;
    color: white;
    text-shadow: 1px 1px 5px #212121, 0 0 25px #9e9e9e, 0 0 5px #616161;
    top: 40px;
    bottom: 0;
    left: 0;
    right: 0;
}

.header-bottom {
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.header-bottom ul {
    padding-left: 25px;
    padding-right: 25px;
}

.header-bottom a {
    outline: none;
}

.search-field {
    position: absolute;
    right: 25px;
}

.header-bottom img { height: 24px; }
.relative { position: relative; }
.htb-avatar { width: 100%; max-width: 300px; }
#thm_badge { margin: 0; }
#thm_badge > div:nth-child(1) > div { width: 45px; height: 45px; }
#thm_badge > div:nth-child(2) { width: 195px !important; height: 52px !important; }

@media only screen and (max-width: 1200px) {
    .header-bottom img { height: 14px; }
    .header-text { top: 10px; }
    .header-text h1 { font-size: 30px; }
    .header-text h3 { font-size: 24px; }
    #iconNavbar .nav-link { padding-top: .35rem; padding-bottom: .35rem; }
    .search-field { display: none; }
}

@media only screen and (max-width: 900px) {
    .header-bottom img { height: 12px; }
    .header-text { top: 10px; }
    .header-text h1 { font-size: 20px; }
    .header-text h3 { font-size: 17px; }
    #iconNavbar .nav-link { padding-top: .1rem; padding-bottom: .1rem; }
}

#mainNavbar .nav-item {
    margin-left: 10px;
    margin-right: 10px;
}

#mainNavbar .nav-link {
    text-shadow: 1px 1px 5px #212121, 0 0 5px #616161;
}

.bash {
    background-color: #2E3436;
    padding: 3px 5px 3px 5px;
    box-shadow: 4px 4px 4px 4px #3E4446;
}

.bash span, .bash div, a, span {
    color: #D3D7CF;
    overflow-wrap: break-word;
    word-break: break-all;
}

.bash .bash-prefix {
    display: inline;
    color: #4E9A06;
}

.bottom-left {
    position: absolute;
    bottom: 5px;
    left: 25px;
}

.bottom-right {
    position: absolute;
    bottom: 5px;
    right: 20px;
}

@media only screen and (max-width: 767.98px) {
    .dropdown-item {
        text-align: center;
    }
}

.thumbnail {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

.thumbnail:hover { opacity: 0.7; }

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10000; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-height: 80%;
}

/* Caption of Modal Image */
#fullscreenContainer .caption {
    margin: auto;
    display: block;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, #fullscreenContainer .caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.3s;
    animation-name: zoom;
    animation-duration: 0.3s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }

    .hackingBadge:not(:first-child) { margin-top: 1rem; }
    .hackingBadge > div { margin: 0 auto; }
    #thm_badge { display: block !important; margin: 0 auto; }
}

code.inline {
    padding: 1px 5px;
    word-break: break-word;
    border: 1px solid #565656;
    border-radius: 3px;
    display: inline;
}

.token-watermark {
    position: absolute;
    right: 25px;
    color: #151c23;
    font-family: monospace;
}

