/*Font import*/
@import url('https://fonts.googleapis.com/css?family=Inter&display=swap');
@import url('https://fonts.googleapis.com/css?family=Lato&display=swap');

/*Default Styling for elements on the webpage*/
* {
    font-family: 'Lato';
}

:root {
    --box-bg-color-og: rgba(126, 157, 126, 1);
    --box-bg-color: linear-gradient(70deg, #779f73 0%, rgb(97 172 88) 100%);;
    --box-bg-dark-color: rgb(111, 141, 108);
    --font-bg-color: rgba(178, 238, 218, 0.519);
    --font-color-nav: rgb(29, 79, 29);
    --font-color: white;
    --immersive-bubble-br: 5px;
    --bg-color: #ECEFEC;
}

body {
    background-color: var(--bg-color);
    margin: 0px;
    width: 100vw;
    height: 100vh;
    overflow: overlay;
    overflow-x: hidden;
    /* font-family: 'Inter'; */
    font-style: normal;
}

h1 {
    font-size: 70px;
    font-weight: bolder;
}

h2 {
    font-size: 35px;
    font-weight: bolder;
}

.immersive-bubble h2, .list-bubble h2 {
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.618);
}

.big-header {
    font-size: 55px;
}

.navbar {
    position: relative;
    z-index: 20;
    width: 100vw;
    display: flex;
    height: 60px;
    line-height: 60px;
    padding: 10px 15px;
    padding-right: 30px;
}

.navbar .links, .footer span{
    font-size: 22px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding-right: 40px;
    padding-left: 10px;
}

.navbar .links a {
    text-decoration: none;
}

.navbar .logo img {
    height: 60px;
}

.newsletter-name {
    color: var(--font-color-nav) !important;
    font-weight: bolder;
}

.navbar .links .extention-links a {
    margin-left: 10px;
    margin-right: 10px;
    color: var(--font-color-nav) !important;
    font-weight: 100;
    /* 1 pixel black shadow to left, top, right and bottom */
    text-shadow: 0 1px 2px var(--font-bg-color);
}

.collapse-navbar {
    display: none;
}

/*Scrollbar*/
body::-webkit-scrollbar, .scrollable::-webkit-scrollbar {
    width: .4em;
}

body::-webkit-scrollbar-track, .scrollable::-webkit-scrollbar-track {
    background-color: transparent;
}

body::-webkit-scrollbar-thumb, .scrollable::-webkit-scrollbar-thumb {
    background-color: rgba(10, 10, 10, 0.778);
    border-radius: 14px;
}
.sports-bubbles::-webkit-scrollbar{
    height: 0.4em;
}

body::-webkit-scrollbar-corner {
    background-color: transparent;
}

/*Page Elements*/

.page-container {
    /*Every Large Container on the Page*/
    position: relative;
    margin: 40px 80px;
}

.page-block {
    /*The formatting of the different fullscreen elements*/
    height: 100vh;
    width: 100vw;
}

.slider-container {
    margin: 0px;
    width: 100%;
    overflow: hidden;
}

/*All Images by default*/
.img {
    object-fit: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    position: relative;
    width: 100%;
}

/*These styles only apply to the Featured Image Slider On the homepage*/
.slider-images {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    transition: transform 1s ease;
}

.slider-images img {
    width: 100vw;
    height: 100vh;
    position: relative;
    display: block;
    object-fit: cover;
    transition: all 1s ease;
}

.slider-container .green-shaddow {
    position: absolute;
    width: 70vw;
    height: 100vh;
    left: 0px;
    top: 0px;
    background: linear-gradient(90.72deg, #707A70 0.52%, rgba(180, 180, 180, 0) 98.39%);
}

.slider-text {
    position: absolute;
    top: 15%;
    display: flex;
    z-index: 2;
    color: var(--font-color);
    transition: opacity .5s ease;
}

.slide-text {
    width: 45vw;
    margin-right: 51vw;
    left: 4vw;
    font-size: 28px;
    position: relative;
}

.slider-text p {
    font-weight: 100;
}

/*Immersive News Bubbles*/

.read-article {
    position: absolute;
    width: 244px;
    height: 51px;
    background: var(--box-bg-dark-color);
    border-radius: 12px;
    border-width: 0px;
    filter: drop-shadow(0px 4px 20px rgba(0, 0, 0, 0.25));
    font-size: 25px;
    font-weight: 400;
    color: var(--font-color);
    cursor: pointer;
    text-align: center;
    line-height: 50px;
    overflow: hidden;
}

.read-article .background {
    position: absolute;
    display: inline-block;
    background-color: var(--box-bg-color);
    z-index: -2;
    width: 0%;
    height: 100%;
    top: 0;
    left: 0;
    animation-name: button-background;
    animation-duration: 9.8s;
    animation-iteration-count: infinite;
}

@keyframes button-background {
    0% {
        width: 0%;
    }

    82% {
        width: 100%;
    }

    90% {
        width: 100%;
    }

    92% {
        width: 0%;
    }
}

.immersive-bubbles {
    display: flex;
    margin: auto;
    position: relative;
    width: min-content;
}

.immersive-bubble {
    width: 42.8vw;
    height: 75.8vh;
    min-width: 450px;
    max-height: 650px;
    margin-right: 20px;
    margin-left: 20px;
    position: relative;
    background: var(--box-bg-color);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
    border-radius: var(--immersive-bubble-br);
    z-index: 2;
    cursor: pointer;
    transition: scale .3s ease-in-out;
}

.immersive-bubble:hover {
    scale: 101%;
}

.immersive-bubble .img {
    height: 100%;
    border-radius: inherit;
    background-position: center;
}

.immersive-bubble-small {
    height: 37.1vh;
    max-height: calc(325px - .4vw);
    margin-bottom: .8vw;
}

.immersive-bubble .green-shaddow {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, #2c3924c5 0.72%, rgba(180, 180, 180, 0) 98.39%);
    height: 100%;
    width: 100%;
    border-radius: inherit;
}

.immersive-bubble .text-container {
    color: var(--font-color);
    position: absolute;
    bottom: 6%;
    padding: 30px;
    text-align: center;
}

.immersive-bubble .authors {
    margin-bottom: 30px;
}

/*List Bubbles such as Opinion and Culture*/

.list-bubbles {
    display: flex;
    position: relative;
    height: max-content;
}

.list-bubble {
    height: 560px;
    text-align: center;
    width: 30%;
    margin-right: 1.5%;
    margin-left: 1.5%;
    background: var(--box-bg-color);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
    color: var(--font-color);
    cursor: pointer;
    transition: all .3s ease;
    background: linear-gradient(70deg, rgba(111,141,108,1) 0%, rgb(97 172 88) 100%);
    border-radius: var(--immersive-bubble-br);
}

.list-bubble:hover {
    scale: 102%;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.4);
}

.list-bubble .desc {
    padding: 23px 21px;
    position: relative;
}

.list-bubble h2 {
    position: relative;
    padding: 0px 21px;
    height: 86px;
    margin-bottom: 34%;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}

.centered-header {
    text-align: center;
    width: 100%;
}
.centered-item{
    position: relative;
    margin: auto;
    display: block;
    margin-bottom: 20px;
}

.page-block .page-title-header {
    margin-bottom: 90px;
}

.page-breaker {
    margin-top: 80px;
    margin-bottom: 80px;
}

.list-bubble .bubble-text {
    position: relative;
    top: calc(-200% + 10%);
    width: 100%;
}

.list-bubble .green-shaddow {
    position: relative;
    top: -100%;
    left: 0;
    background: linear-gradient(0deg, #2c39249a 0.72%, rgba(180, 180, 180, 0) 98.39%);
    height: 100%;
    width: 100%;
    border-radius: inherit;
}

/* .list-bubble .img{
    height: 300px;
    border-radius: inherit;
    background-position: center;
    background-size: 150%;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
} */

.list-bubble .img {
    height: 100%;
    border-radius: inherit;
    background-position: center;
}

/*Sport's Bubbles*/

.sports-bubbles {
    display: flex;
    overflow: hidden;
    padding: 20px;
    width: 95%;
    position: relative;
    overflow-x: auto;
}

.sport-bubble {
    width: 300px;
    min-width: 300px;
    position: relative;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    background: var(--box-bg-color);
    border-radius: 5px;
    margin-right: 35px;
}

.sport-bubble:hover {
    scale: 106%;
}

.sport-bubble .img {
    width: 100%;
    height: 300px;
    border-radius: 5px;
}

.sport-bubble h3 {
    color: var(--font-color);
    padding: 10px 20px;
    position: absolute;
    bottom: 10px;
    text-shadow: 0 2px 3px rgb(0 0 0 / 50%);
}

/*Tilt elements*/
.immersive-bubble, .sport-bubble, .list-bubble .bubble-text {
    cursor: pointer;
    transform-style: preserve-3d;
    /*Makes the text look 3d when hovered on*/
}

.immersive-bubble .text-container, .sport-bubble h3, .list-bubble h2, .list-bubble p {
    transform: translateZ(20px);
}

/*Article Lists*/
.list-articles {
    padding: 0px 60px;
    margin-top: 140px;
}

.list-article {
    display: flex;
    height: 200px;
    border-bottom: 1px solid darkgray;
    padding: 10px 20px;
    cursor: pointer;
    justify-content: space-between;
}

.list-article .img {
    margin-left: 40px;
    height: 190px;
    top: 5%;
    width: 450px;
    border-radius: 5px;
    position: relative;
    object-fit: cover;
    flex-basis: auto;
}

.list-article .text-elements {
    flex-basis: auto;
    width: 1677px;
}

.list-article .authors, .segmented-articles .authors {
    font-style: italic;
    color: rgb(75, 75, 75)
}

.list-article h3 {
    font-size: 24px;
}

#articles-pt2-list-articles {
    margin-top: 0px;
}

#articles-pt2 {
    border-top: 1px solid darkgray;
}

.tab-header {
    display: flex;
    width: 100%;
    border-bottom: 1px solid darkgray;
}

.tab-option {
    cursor: pointer;
    position: absolute;
    padding: 15px 30px;
    top: -50px;
    height: 25px;
    border: 1px solid transparent;
    font-size: 20px;
}

.tab-option.active {
    border: 1px solid darkgray;
    border-bottom: none;
    background-color: var(--bg-color);
    ;
    height: 20px;
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    font-weight: bolder;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.list-other-articles {
    padding: 0px 60px;
    display: flex;
    justify-content: space-around;
}

.list-other-articles-title {
    padding: 0px 80px;
    font-size: 25px;
}

.other-article {
    width: 25%;
    cursor: pointer;
    justify-content: space-between;
    border-right: 1px solid darkgray;
}

.other-article:last-child {
    border-color: transparent;
}

.other-article .img {
    margin: auto;
    height: 200px;
    border-radius: 10px;
}

.other-article>* {
    width: 90%;
    margin: auto;
}

.other-article h6 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.segmented-articles {
    width: 92%;
    margin: auto;
    display: flex;
}

.segmented-articles>* {
    width: 50%;
}

.segmented-articles .article-big-left {
    border-right: 1px solid darkgray;
}

.segmented-articles>*>* {
    width: 90%;
    margin: auto;
}

.articles-right>* {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    margin-bottom: 20px;
    height: 200px;
}

.articles-right .text-elements {
    width: calc(100% - 250px);
    position: relative;
}

.articles-right .text-elements h3 {
    margin-top: 0px;
    margin-bottom: 30px;
    max-height: 100px;
    overflow: hidden;
}

.articles-right .img {
    height: 180px;
    width: 180px;
    background-position: center;
    border-radius: 10px;
}

.segmented-articles h3 {
    font-size: 28px;
}

.article-featured-1 .img {
    width: 100%;
    height: 400px;
    border-radius: 10px;
}

#login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40%;
    height: 40%;
    min-width: 600px;
    top: 50%;
    position: relative;
    transform: translateY(-70%);
    margin: auto;
    border: 1px solid black;
}

.alerts_box {
    display: flex;
    flex-direction: column-reverse;
    width: 55%;
    max-width: 500px;
    margin: 20px;
    bottom: 0px;
    padding: 5px;
    overflow-y: auto;
    position: fixed;
    z-index: 102;
    left: var(--nav-width);
}
.alerts_box::-webkit-scrollbar {
  width: 2px;
}

.alerts_box::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0); 
  border-radius: 10px;
}

.alerts_box::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}

.alerts_box .alert{
    transition: all .4s ease;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    line-height: 35px;
    border-radius: 5px;
}
.alerts_box .alert span, .alerts_box .alert button{
    margin-top:  0px;
    font-size: 16px;
    color: black;
}
.alert button{
    background-color: transparent;
}
.alert-success{
    background-color: rgb(5, 171, 5);
    border-color: green;
}
.alert-error, .alert-danger{
    background-color: coral;
    border-color: coral;
}
.hide-opacity{
    opacity: 0 !important;
}

#userList{
    position: relative;
    top: -30px;
    left: 0px;
    width: 166px;
    padding-left: 0px;
    padding-top: 20px;
    border: 1px solid darkgray;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top: 0px solid transparent;
    max-height: 155px;
    overflow-y: hidden;
}

#selected-user-list{
    list-style: none;
    padding-left: 0px;
}
#selected-user-list button{
    left: 20px;
    position: relative;
}

#userList li{
    padding: 10px 5px;
    transition: background-color .3s ease;
    width: 156px;
    text-align: center;
    cursor: pointer;
}

#userList li:last-child{
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

#userList li:hover{
    background-color: lightgray;
}

.footer{
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.footer p{
    font-size: 20px;
}
.footer span{
    width: unset;
    line-height: 64px;
}

.popup{
    width: 100vw;
    height: 100vh;
    top: 0px;
    left: 0px;
    position: absolute;
    background-color: white;
    opacity: 0;
    z-index: -22;
    transition: all .5s ease;
}
.popup-showing{
    opacity: 1;
    z-index: 22;
}
.popup .extention-links{
    display: flex;
    flex-direction: column;
    text-align: center;
    top: 50%;
    position: absolute;
    transform: translate(-50%, -70%);
    left: 50%;
}
.popup .extention-links a{
    margin-bottom: 20px;
    font-size: 24px;
    text-decoration: none;
    color: black;
}
.collapse-navbar{
    width: 50px;
    background-color: rgba(255, 255, 255, 0.401);
    border: 1px solid darkgray;
    border-radius: 10px;
}


.google-btn {
    display: flex;
    align-items: center;
    background-color: #88b1f3;
    color: white;
    width: 240px;
    height: 50px;
    border-radius: 3px;
    border: 1px solid #88b1f3;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.25);
    transition: background-color 0.3s;
}

.google-btn:hover {
    background-color: #b3d7fb;
}

.google-icon {
    width: 30px;
    margin-right: 10px;
    margin-left: 5px;
}

@media screen and (max-width:1400px) {
    .segmented-articles h3 {
        font-size: 24px;
    }

    .page-container {
        margin-left: 0px;
        margin-right: 0px;
    }
    .page-container > h2{
        margin-left: 20px;
    }

}

@media screen and (max-width:1260px) {
    .segmented-articles {
        flex-direction: column;
    }

    .segmented-articles>* {
        width: 100%;
    }

    .segmented-articles .article-big-left {
        border-right: 0px solid transparent;
        border-bottom: 1px solid darkgray;
    }

    .articles-right {
        display: flex;
        margin-top: 20px;
    }

    .articles-right>* {
        flex-direction: column;
        height: max-content;
        margin-top: 0px;
        padding: 10px;
    }

    .articles-right .text-elements {
        width: 100%;
        margin-top: 20px;
    }

    .articles-right .img {
        width: 100%;
    }

    .article-big-left {
        padding-bottom: 20px;
    }

    .list-articles, .list-other-articles {
        padding: 0px 30px;
    }

    .list-other-articles {
        flex-wrap: wrap;
    }

    .list-other-articles .other-article {
        width: calc(50% - 1px);
        padding-top: 40px;
        border-top: 1px solid darkgray;
    }

    .list-other-articles .other-article:nth-child(1) {
        border-top: 0px solid transparent;
        padding-top: 0px;
    }

    .list-other-articles .other-article:nth-child(2) {
        border-top: 0px solid transparent;
        border-right: 0px solid transparent;
        padding-top: 0px;
    }

    .slide-text {
        width: 85vw;
    }
}

@media screen and (max-width:1000px) {
    .page-container {
        margin-left: 0px;
        margin-right: 0px;
    }

    .segmented-articles h3 {
        font-size: 20px;
    }

    .list-article h3 {
        font-size: 20px;
    }

    .segmented-articles p, .list-article p {
        font-size: 14px;
    }

    .collapse-navbar {
        display: block;
        right: 30px;
        position: relative;
    }

    .navbar {
        justify-content: space-between;
        width: 97vw;
    }

    .links {
        display: none !important;
    }

    .list-bubbles {
        flex-wrap: wrap;
    }

    .list-bubble {
        width: 80%;
        margin: auto;
        height: 500px;
        margin-bottom: 40px;
    }

    .list-bubble .bubble-text h2 {
        margin-bottom: 140px;
    }

    .immersive-bubble {
        min-width: unset;
        width: 95vw;
        margin-bottom: 40px;
    }

    .immersive-bubbles {
        flex-direction: column;
    }

    #im-bubble-1 {
        width: 95vw;
    }

    .immersive-bubbles .bubble-container {
        display: flex;
        flex-direction: column;
    }

    .navbar {
        padding-right: 0px;
    }
}

@media screen and (max-width:740px) {
    .list-article .text-elements {
        width: 100%;
    }

    .list-other-articles .other-article {
        width: 100%;
        border-right: 0px;
        border-bottom: 1px dashed darkgray;
        border-top: 0px;
        padding-top: 30px !important;
        padding-bottom: 30px;
    }

    .list-other-articles .other-article:last-child {
        border-bottom: 0px;
    }

    .list-other-articles {
        margin-bottom: 0px;
    }

    .list-other-articles-title {
        padding: 0px 40px;
    }

    h1 {
        font-size: 52px;
        margin-top: 0px;
    }

    .slide-text p {
        font-size: 24px;
    }
}

@media screen and (max-width:580px) {
    .footer{
        flex-direction: column;
    }

    .list-article {
        height: unset;
        flex-direction: column-reverse;
        border-bottom: 0px;
    }

    #articles-pt1 .list-article:last-child {
        padding-bottom: 30px;
        border-bottom: 1px solid darkgray;
    }

    #articles-pt2 .list-article:first-child {
        padding-top: 30px;
    }

    .list-article .img {
        width: 100%;
        margin: 0px;
    }

    .list-article .desc {
        display: none;
    }

    .articles-right {
        flex-direction: column;
    }

    .page-breaker {
        width: 90%;
        margin: auto;
    }

    #search-tab {
        right: 40px;
    }

    .tab-container {
        padding-top: 10px;
        margin-top: 30px;
    }

    .tab-option {
        top: -50px;
    }

    .list-bubble {
        width: 95%;
    }

    .navbar {
        width: 95vw;
    }

    .immersive-bubble {
        margin-left: 5px;
        margin-right: 5px;
    }

    .sports-bubbles {
        width: 85%;
        overflow-x: scroll;
    }

    .immersive-bubble h2, .list-bubble h2 {
        font-size: 26px;
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.618);
    }

    .immersive-bubble-small {
        height: 100vh;
    }
}

@media screen and (max-height:700px) {
    h1 {
        font-size: 38px;
        margin-top: 0px;
    }

    .slide-text p {
        font-size: 22px;
    }

    .read-article {
        height: 40px;
        line-height: 40px;
        width: 60%;
        font-size: 18px;
    }
}

@media screen and (max-height:600px) {
    h1 {
        font-size: 30px;
        margin-top: 20px;
    }

    .slide-text p {
        font-size: 18px;
    }
}