﻿* {
    box-sizing: border-box;
    font-family: Arial;
    color: #777;
    background-color: transparent;
}

html, body {
    margin: 0;
    padding: 0;
    background-color: transparent;
}

body {
    background-image: url('./../assets/resources/HeaderBackground.jpg');
    background-position: center top;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
}

.header {

}

.search-text {

}

.topic-body {
    
}

.search {
    top: 21%;
    position: absolute;
    margin: 1px 0;
    border-radius: 4px;
    background-color: #2e3133;
    box-sizing: border-box;
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .search {
        padding: 6px 20px;
        font-size: 250%;
        width: 100vw;
    }
}
/* Medium devices (landscape tablets, 992px and up) */
@media only screen and (min-width: 992px) {
    .search {
        height: 5.3vh auto;
        padding: 18px 20px;
        font-size: 120%;
        width: 48vw;
    }
}

.filter-input {
    position: absolute;
    top: 20%;
    margin: 1px 0;
    border-radius: 4px;
    background-color: #2e3133;
    box-sizing: border-box;
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .filter-input {
        padding: 0px 18px;
        font-size: 30px;
        width: 60%;
    }
}
/* Medium devices (landscape tablets, 992px and up) */
@media only screen and (min-width: 992px) {
    .filter-input {
        padding: 6px 18px;
        font-size: 15px;
        width: 80%;
    }
}

.wrapper {
    width: 100%;
    height: 18vh;
    margin: 0 auto;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: multiply;
    z-index: 99;
    padding: 0 .5em;
    box-shadow: rgba(0, 0, 0, .6) 0 10px 20px;
}

    .nav ul {
        margin: 0;
    }
    
    .nav li {
        display: inline;
    }
    
    .nav a {
        display: inline-block;
        padding: .5em;
        color: white;
        text-decoration: none;
    }
    
    .nav a:hover {
        background-color: #33a3ee;
    }


.topics-list {
    /*white-space: nowrap;*/
    text-align: left;
    position: absolute;
    top: 26%;
    background-color: transparent;
    overflow-y: scroll;
    overflow-x: hidden;
    direction: rtl;
    opacity: 1;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 0.5s;
}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .topics-list {
        height: 58%;
        width: 100vw;
        font-size: 120%;
    }
}
/* Medium devices (landscape tablets, 992px and up) */
@media only screen and (min-width: 992px) {
    .topics-list {
        height: 53.7%;
        width: 50vw;
        font-size: 90%;
    }
}

@keyframes fadeInOpacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

    ::-webkit-scrollbar {
        width: 10px;
    }

    ::-webkit-scrollbar-track {
        background: #2e3133;
    }

    ::-webkit-scrollbar-thumb {
        background: #36566d;
        border-radius: 10px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: #33a3ee;
    }
    
    .topics-list li {
        direction: ltr;
        height: 5vh;
        position: relative;
        list-style: none;
        width: 95%;
        background: grey;
        opacity: 0.8;
        padding: 15px;
        transition: 0.5s;
        border-bottom: 1px solid rgba(255, 255, 255, .3)
    }
    
    .topics-list li:hover {
        background: #33a3ee;
        opacity: 0.9;
        transform: translateX(50px);
    }

    .topics-list li::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100px;
        width: 100px;
        height: 100%;
        background: #2e3133;
        opacity: 1;
        transform-origin: right;
        transition: 0.5s;
    }
    
    .topics-list li:hover::before {
        background: #33a3ee;
    }
    
    .topics-list li a {
        text-decoration: none;
        color: black;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        transition: 0.05s;
    }
    
    .topics-list li:hover a {
        color: whitesmoke
    }

.main-footer {
    text-align: center;
    align-items: center;
    background-color: #2e3133;
    position: absolute;
    height: auto;
    max-height: 20vh;
    bottom: 0;
    width: 100vw;
}
