*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    border: none;
    user-select: none;
}

html{
    scroll-behavior: smooth;
    font-size: 75%;
    font-weight: 300;
}

a{
    text-decoration: none!important;
}

body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

ul{
    list-style-type: none;
    scroll-behavior: smooth;
}
select{
    outline: none;
}
select option{
    background-color: #555;
    gap: 10px;
}

.father-container{
    display:grid;
    grid-template-rows:55px 1fr;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(#000 0%, #555 100%);
    color: white;
}

header{
    background: #00000088;
    border-bottom: 1px solid #ffffff22;
    display: flex;
    overflow-y: hidden;
    overflow-x: auto;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 5%;
    z-index: 2;
}
header > div{
    display: flex;
    align-items: center;
}
header h1{
    width: max-content;
    line-height: 100%;
    font-size: 1.5rem;
}

#topicSelector{
    background: transparent;
    border: 1px solid #ffffff33;
    color: white;
    padding: 5px 10px;
    cursor: pointer;
}

main{
    background: #00000088;
    display: grid;
    grid-template-rows: .8fr 1fr;
    overflow: hidden;
    z-index: 2;
}
.news-box{
    background: #00000044;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

ul.news-list{
    overflow: auto;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 25px 25px 80px 35px;
    position: relative
}

ul.news-list li{
    background-color: #ffffff22;
    border-radius: 0 15px 15px 0;
    padding:15px 30px 15px 15px;
    font-size: .9rem;
    width: 100%;
    min-height: 50px;
    overflow: hidden;
    border-left: 3px solid red;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

ul.news-list li::after{
    content: "";
    transition: border .35s .1s ease;
    width: 100%;
    left: 0;
    top: 0;
    position: absolute;
    pointer-events: none;
    height: 100%;
    box-sizing: inherit;
    border-radius: 0 15px 15px 0;
    border-right: 0px solid #ffffff88;
}

ul.news-list li.active::after{
    border-right: 10px solid #ffffff22;
}

.see-more{
    pointer-events: none;
    font-size: .9rem;
    padding:2px 8px;
    cursor: pointer;
    display: block;
    width: max-content;
    margin: 10px auto 0 auto;
    border-radius: 10px;
    border: 1px solid #ffffff33;
    color: white;
}
.see-more:active{
    background: #ffffff22;
}

.pointer{
    position: absolute;
    top: -10px;
    left: 15px;
    transition: top .2s ease;
    width: 8px;
    height: 8px;
    border: 3px solid #ffffffcc;
    background: white;
    border-radius: 2px;
}
.pointer.walking{
    filter: blur(3px);
    opacity: .75;
}

.image-cover{
    position: absolute;
    top: 0%;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    filter: blur(7px);
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: .9;
}
.image-cover.changing{
    transition: opacity .2s ease;
    opacity: 0;
}

.info-box{
    padding: 50px 40px;
    overflow-y: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 2px 6px #00000088;
    position: relative;
}
.description{
    overflow-y: auto;
    text-align: center;
    font-size: 1.8rem;
    height: min-content;
    max-height: 100%;
    opacity: 1;
    transition: opacity .25s ease;
}
.description.hidden{
    opacity: 0;
    transition: opacity 0s ease;
}
.description a{
    display: block;
}
.source{
    position: absolute;
    right: 10%;
    bottom: 5%;
    color: #aaa;
}

@media screen and (min-width: 768px) {
    header{
        text-align: center;
        justify-content: center;
    }
    .info-box{
        padding: 50px 20%;
    }
    .source{
        right: 20%;
        bottom: 20px
    }
    .news-box{
        padding: 0 20%;
    }
    ul.news-list{
        justify-content: center;
        gap: 15px;
    }
    ul.news-list li{
        flex-basis: 100%;        
        border-radius: 6px 15px 15px 6px;
        font-size: .8rem;
        padding: 10px 30px 10px 15px
    }    
    ul.news-list li.active{
        background: #ffffff44;
    }
    .pointer{
        display: none;
    }
    .scrolly {
        scrollbar-color: #999 #333;
      }
    .scrolly::-webkit-scrollbar {
    width: 10px;
    height: 10px;
    }
    .scrolly::-webkit-scrollbar-thumb { /* Foreground */
    background: #999;
    }
    .scrolly::-webkit-scrollbar-track { /* Background */
    background: #333;
    }
}