/*Common Style*/
/*Source code: source from exam 2022 (DATA1200 H22) link: https://anchr.tk/ */
* {
    outline: 0;
    margin: 0;
    border: 0;
    padding: 0;
    color: var(--text-primary);
    text-decoration: none;
}

:root {
    /* Common Color*/
    --text-primary: #000000;
    --secondary: #FFDC00;
    --bg: #F0F8FF;
    --picture-gradient: #1c1c1982;

    /*Hero text*/
    --credits-text: #c8c6be;
    --hero-text: #d4d0ba;
    --button-text: #ffffff;
    --hero-gradient:#29292433;

    /*menu background*/
    --index-menu-bg: #caa900;

    /* Header Nav Color*/
    --bg-header: #282828;
    --bg-nav-list: #303030;

    /* Nav Text and Icon Color*/
    --text-nav: #DCDCDC;

    /* Footer Color*/
    --bg-footer: #D3D3D3;

    /* Footer Text and Icon Color*/
    --h3-footer: #505050;
    --p-footer: #A0A0A0;
    --icon-footer: #808080;
    --icon-footer-hover: #A9A9A9;

    /* Timers*/
    --hover-time: .5s;
    --slide-time: .5s;

    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    /*Header height for topical content*/
    --headerHeigth: 5rem;
}

a {
    color: var(--credits-text);
}

a:hover {
    color: var(--secondary);
}

/*Body of the site*/
body,
html {
    z-index: -2;
    position: relative;
    height: 100%;
    width: 100%;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
}
/*Header of the sites*/
.page-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 70vh;
    overflow: hidden;
    z-index: 0;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.page-header img {
    width: 100%;
    display: block;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: -2;
}

.page-header h1 {
    display: flex;
    justify-content: center;
    font-size: 4rem;
    position: absolute;
    padding: 0;
    margin: 0;
    color: #fff;
    z-index: 1;
}

.page-header p {
    position: absolute;
    bottom: 0;
    left: 0;
    color: #fff;
    padding: 2rem 2rem;
    z-index: 1;
}
/*Page header smaller screen responsiveness*/
@media (max-width: 450px) {
    .page-header {
        height: 50vh;
    }
    .page-header h1{
        font-size: 2rem;
       padding: 1rem;
    }
    .page-header p{
        font-size: 1rem;
        padding: 1rem;
    }
    
}


/*Remove styling all list*/
li {
    list-style: none;
}

/*Style Header*/
header {
    z-index: 1;
    position: fixed;
    top: 0;
    width: 100%;
}

.header-bar {
    padding: 0 1.5rem;
    height: 5rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-header);
}

/*To style logo*/
.logo-slot {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo {
    height: 69%;
    -webkit-user-select: none;
    /* Added for Safari support */
    user-select: none;
}

/*Hide burger menu on big devices*/
#btn-nav,
.menu,
.close {
    display: none;
    height: 2.5rem;
}

.menu-btn {
    font-size: 2.5rem;
    -webkit-user-select: none;
    /* Added for Safari support */
    user-select: none;
    cursor: pointer;
    color: var(--text-nav);
}

/*Style Nav*/
.nav-list {
    height: 5rem;
    width: 37rem;
    display: flex;
    justify-content: space-between;
}

.nav-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-link {
    font-size: 1.5rem;
    -webkit-user-select: none;
    /* Added for Safari support */
    user-select: none;
    color: var(--text-nav);
}

/*Hover animation*/
.logo,
.menu-btn,
.nav-link {
    transition: color var(--hover-time) ease-in-out;
}

.logo:hover,
.menu-btn:hover,
.nav-link:hover {
    color: var(--secondary);
}

/*Style Footer*/
footer {
    padding: 1.5rem;
    display: flex;
    flex-direction: row-reverse;
    position: relative;
    top: 5rem;
    justify-content: space-around;
    align-items: center;
    background-color: var(--bg-footer);
}

footer div p {
    color: var(--p-footer);
}

footer div h3 {
    font-size: 1.2rem;
    padding: .5rem;
    text-align: center;
    font-weight: 900;
    color: var(--h3-footer);
}

.fa {
    padding: .5rem;
    margin: .2rem;
    height: 1.5rem;
    width: 1.5rem;
    text-align: center;
    border-radius: 50%;
    border: .2rem solid var(--icon-footer);
    color: var(--icon-footer);
    font-size: 1.5em;
    transition-property: color, border-color;
    transition-duration: var(--hover-time);
    transition-timing-function: ease-in-out;
}

.fa:hover {
    color: var(--icon-footer-hover);
    border-color: var(--icon-footer-hover);
}

/*Accomadate medium to smaller sized devices*/
@media (max-width: 1000px) {

    /*Style Nav on medium to smaller sized devices*/
    #btn-nav:not(:checked)~.menu {
        display: block;
    }

    #btn-nav:checked~.close {
        display: block;
    }

    .nav-list {
        z-index: -1;
        position: absolute;
        top: -7rem;
        left: calc(50%);
        transform: translate(-50%);
        padding: 1.5rem;
        height: 9rem;
        width: 100%;
        display: flex;
        flex-direction: column;
        background-color: var(--bg-nav-list);
        transition: all var(--slide-time) ease-out;
    }

    #btn-nav:checked~.nav-list {
        top: 4.95rem;
        transition-property: top;
    }

    #btn-nav:checked~section {
        padding-top: 10rem;
    }

    .nav-link {
        display: block;
        height: 1.5rem;
        font-size: 1.5rem;
    }
}

@media (max-width: 800px) {

    /*Style Footer on smaller sized devices*/
    footer {
        padding: .5rem;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    footer div {
        margin: 1rem;
        text-align: center;
    }
}







/* --- INDEX --- */




/* -- IMAGE CREDITS SETTINGS -- */

/*credits for images*/
.imageCredits{
    bottom: 2%;
    left: 1%;
    position: absolute;
    color: var(--credits-text) !important;
}
/*underlining link*/
.imageCredits a{
    text-decoration: underline;
}


/* -- BUTTONS -- */


/*Buttons*/
.index-show-button{
    display: block;
}
.index-hide-button{
    display: none;
}
.index-button-yellow {
    background-color: rgb(0, 0, 135) ;
    color: #dfdccd;
}
.index-button-blue {
    background-color: #e0bb00;
    color: #000064;
}

/*When hovering buttons*/
.index-button-yellow:hover {
    background-color: #000064;
    color: #bdbbad;
}
.index-button-blue:hover {
    background-color: #dbb600;
    color: rgb(0, 0, 135);
}



/* -- HERO SECTION -- */



/*main image section*/
.index-hero{
    display: flex;
    position:relative;
    background: linear-gradient(to bottom, var(--hero-gradient) 100%, var(--hero-gradient) 100%);
    text-align: center;
    margin-top: var(--headerHeigth);
}

/*main image*/
.hero-image{
    width: 100%;
    z-index:-1;
    object-fit: cover;
}

/*Main image text*/
.index-name{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -150%);
    color: var(--hero-text);
    font-size: 4rem;
}
/*Slogan text*/
.index-slogan{
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -220%);
    color: var(--hero-text);
    font-size: 2.5rem;
}



/* -- INDEX MENU -- */



/*page navigation menu*/
.index-menu{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-content: center;
    background-color: var(--index-menu-bg);
    padding: 1rem;
}

/*menu buttons*/
.index-menu-button{
    border: none;
    padding: 3rem 6rem;
    margin: 1.5rem;
    border-radius: 5px;
    font-size: 2rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition-duration: 0.4s;
    color: var(--button-text);
    background-size: cover;
}

/*button background images*/
.index-stdnt-btn{
    background-image: linear-gradient(to bottom, var(--picture-gradient) 100%,var(--picture-gradient) 100%), url(/img/index/index-students-btn.jpg);
}
.index-caf-btn{
    background-image: linear-gradient(to bottom, var(--picture-gradient) 100%,var(--picture-gradient) 100%), url(/img/index/kantine_oslomet\(btn\).jpg);
}
.index-TS-btn{
    background-image: linear-gradient(to bottom, var(--picture-gradient) 100%,var(--picture-gradient) 100%), url(/img/index/index-studying-btn.jpg);
}



/* -- ARTICLE -- */



/*section for the articles*/
.index-promotional {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}



/* -- SECTION GENERAL CSS -- */



/*Images for phone/smaller*/
.index-smaller-img{
    display: none;
    float: left;
    width: 100%;
    border-radius: 20px;
}

/*Hides smaller image credits*/
.credits-hide{
    display: none;
    float: none;
    width: 200%;
    border-radius: 20px;
}

/*text content within articles*/
.index-text-flex{
    color: #d4d0ba;
    float: left;
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 3rem 1rem 3rem;
    text-align: left;
    position:relative;
}

/*heading in article*/
.index-text-flex h3{
    font-size: 2rem;
    padding: 1.5rem;
}

/*paragraph in article*/
.index-text-flex > p{
    padding: 0.5rem;
    margin: 1rem;
    font-size: 1rem;
    width: 80%;
}

/*button in article*/
.index-text-flex > input{
    border: none;
    padding: 0.5rem 1rem;
    margin: 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition-duration: 0.4s;
}


/* - SECTION IMAGES - */


/*images within article*/
.index-img {
    float: right;
    width: 100%;
    height: 100%;
}

/*container for images and credits*/
.img-div {
    width: 40%;
    position: relative;
}



/* -- UPPER SECTION -- */



/*article sections*/
.index-upper-section {
    display: flex;
    flex-direction: row;
    padding: 7rem 0rem 0rem 0rem;
    background-color: #ffd500;
}



/* -- MIDDLE SECTION -- */



/*placement of middle container*/
.index-middle-section{
    background-color: rgb(228, 228, 228);
    padding: 7rem 0rem 7rem 0rem;
    display: flex;
    flex-direction: row;
}

/*middle image*/
.index-middle-img {
    float: left;
}

/*middle text*/
.index-middle-text {
    float: right;
    align-items:end;
    justify-content: right;
    text-align: right;
    color: #d4d0ba;
    width: 60%;
    display: flex;
    flex-direction: column;
    padding: 1rem 3rem 1rem 3rem;
    position:relative;
}

/*heading in article*/
.index-middle-text > h3{
    font-size: 2rem;
    padding: 1.5rem;
}

/*paragraph in article*/
.index-middle-text > p{
    padding: 0.5rem;
    margin: 1rem;
    font-size: 1rem;
    width: 80%;
}

/*button in article*/
.index-middle-text > input{
    border: none;
    padding: 0.5rem 1rem;
    margin: 1.5rem;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition-duration: 0.4s;
}



/* -- BOTTOM SECTION -- /*



/*bottom container*/
.index-lower-section{
    padding: 0rem 0rem 7rem 0rem;
    background-color: #000064;
    width: 100%;

    display: flex;
    flex-direction: row;
}

/*bottom heading*/
.index-lower-topic{
    margin-top: 3rem;
    color: #dfdccd;
}

/*bottom text*/
.index-lower-text{
    color: #dfdccd;
}



@media (min-width: 2000px){
    .index-name{
        font-size: 8rem;
    }
    .index-slogan{
        font-size: 5rem;
    }
    .index-menu{
        justify-content:center;
    }
    .index-menu-button{
        margin: 4rem;
        padding: 4rem 8rem;
        font-size: 5rem;
        border-radius: 2rem;
    }
    .index-text-flex > input{
        padding: 2rem 4rem;
        font-size: 3rem;
    }
    .index-text-flex > h3{
        font-size: 5rem;
    }
    .index-text-flex > p{
        font-size: 3rem;
    }


}

/*Accomadets regular sized devices*/
@media (max-width: 1400px){
    .index-name{
        font-size: 3rem;
    }
    .index-slogan{
        font-size: 1.8rem;
    }
    .index-menu-button{
        padding: 1.5rem 3rem;
    }
    .img-div{
        width: 90%;
    }
}
/*Accomadate medium sized devices*/
@media (max-width: 1000px){
    .index-hero > img{
        width: 100vw;
        height: 50vh;
    }
    .index-name{
        top: 52%;
        font-size: 2rem;
    }

    .index-slogan{
        left: 50%;
        transform: translate(-50%, -220%);
        color: var(--hero-text);
        font-size: 1.2rem;
    }
    .index-menu{
        flex-direction: row;
        justify-content: center;
        padding: 0rem;
    }
    .index-menu-button{
        padding: 2rem;
        margin: 1rem 0.3rem;
        font-size: 1.7rem;
    }
    .index-upper-section {
        flex-direction: column;
        padding: 0;
    }
    .index-lower-section{
        flex-direction: column;
        padding: 0%;
    }
    /*placement of middle container*/
    .index-middle-section{
        flex-direction: column;
        padding: 0;
    }
    .index-img{
        display: none;
    }
    .index-text-flex{
        width: 90%;
        float:none;
        margin: 5%;
        padding: 0;
        align-items: center;
        text-align:center;
        justify-content: center;
    }
    .index-hide-button{
        display: block;
    }
    .index-show-button{
        display: none;
    }
    .index-text-flex > input{
        padding: 0.5rem 1rem;
        margin: 1.5rem;
        border-radius: 5px;
        font-size: 2rem;
        text-align: center;
        text-decoration: none;
        cursor: pointer;
        transition-duration: 0.4s;
    }
    .index-middle-text {
        width: 90%;
        float:none;
        margin: 5%;
        padding: 0;
        align-items:center;
        justify-content: center;
        text-align: center;
    }
    .index-text-flex > h3{
        font-size: 4rem;
        padding: 1rem;
    }
    .index-text-flex > p{
        font-size: 140%;
    }
    .index-middle-text h3{
        font-size: 4rem;
        padding: 1rem;
    }
    .index-middle-text > p {
        font-size: 140%;
    }
    .index-middle-text input{
        padding: 0.5rem 1rem;
        margin: 1.5rem;
        border-radius: 5px;
        font-size: 2rem;
        text-align: center;
        text-decoration: none;
        cursor: pointer;
        transition-duration: 0.4s;
    }
    .img-small-div {
        display: block;
    }
    .index-smaller-img{
        display: block;
    }
    .credits-hide{
        display: block;
        width: 100%;
    }
    .credits-show{
        display: none;
    }
}
/*Accomadates smaller devices*/
@media (max-width: 700px){
    .index-slogan{
        top: 64.5%;
        font-size: 1.3rem;
    }

    .index-menu-button{
        padding: 1rem;
        margin: 1rem 0.3rem;
        font-size: 1rem;
    }
}
/*Accomadates tiny devices*/
@media (max-width: 400px){
    .credits-hide{
        font-size: 0.5rem;
    }
    .index-text-flex h3{
        font-size: 3rem;
    }
    .index-middle-text h3{
        font-size: 3rem;
    }
}



/*Studentlife Start*/

/*section for the sections*/
.Student-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color:#ffffff;
    
}

/*section container*/
.Student-section {
    display: flex;
    flex-direction: row;
    padding: 3rem;
    border-radius: 3%;

}

/*images within top section*/
.Student-section img {
    width: 40%;
    padding: 2%;
    border-radius: 2%;
    margin-left: auto;
    position: relative;
}

.Student-text {
    position: relative;
    padding: 0;
    margin: 0;
}

.Student-img-text-top {
    position: absolute;
    bottom: 0;
    right: 0;
}

.Student-img-text-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
}


/*text for content*/
.Student-section div {
    color: .000000;
    float: left;
    width: 58%;
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 3rem;
    text-align: left;
    height: auto;
}
/*Title*/

/*content title*/
.Student-text h2 {
    text-align: left;
    font-size: 3.5rem;
    padding: 1%;
    margin: 0 5% 5% 5%;
}

/*content pragraph*/
.Student-text p {
    text-align: left;
    padding: 0.5%;
    margin: 1%;
    font-size: 1.5rem;
    width: auto;
}


/*Images for phone or samller devices*/
.Student-smaller-img {
    display: none;
}

/*For smartphones or samller devices*/
@media (max-width: 1000px) {
    .Student-section {
        flex-direction: column;
        padding: 0;
    }

    .Student-section>img {
        display: none;
    }

    .Student-section>div {
        width: 90%;
        float: none;
        padding: 5%;
        align-items: center;
        text-align:center;
        justify-content: center;
        
    }
    .Student-text{
        background-color: #ffffff; 
        text-align: center;
    }
    /*Images for phone/smaller*/
    .Student-smaller-img {
        display: block;
        max-height: auto;
        min-width: 100%;
    }

    .Student-img-text-top {
        left: 0;
        top: 0;
        font-size: 0.5rem;
    }

    .Student-img-text-bottom {
        right: 0;
        top: 0;
        display: inline-block;
        font-size: 0.5rem;
    }

}
/*Studentlife End*/


/*Cafe Start*/

/*h1 course title*/
.item-course {
    scroll-margin-top: 5rem;
    border-bottom: .1rem solid var(--text);
    padding-top: 1rem;
    font-size: 3rem;
    color: var(--text);
    text-align: center;
    line-height: 3rem;
}

/* beverages title */
#beverages {
    border-top: .1rem solid var(--text);
    padding-top: 2.5rem;
}

/* food item container */
.item-container {
    margin: 1.5rem auto;
    border-bottom: .1rem solid var(--text);
    padding: 1rem;
    display: flex;
}

.item-img {
    border: .05rem solid var(--text);
    height: 10rem;
    width: 10rem;
}

.item-text {
    margin-left: 1rem;
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.item-title {
    flex-grow: 1;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-end;
}

.item-description {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.item-icons {
    margin-top: 1rem;
    display: flex;
    align-items: flex-end;
}

.item-icon {
    margin-right: .75rem;
}

.item-price {
    max-height: 1.125rem;
    padding: .4rem;
    margin-left: auto;
}

.item-price {
    background-color: var(--price);
}

.info-icons {
    margin: 1.5rem auto 2.5rem auto;
    max-width: 60rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icons * {
    color: var(--text);
}

.info-icon:nth-child(1) {
    margin-left: 0;
}

.info-icon {
    margin-left: .75rem;
    margin-right: .25rem;
}

/* beverages container */
.beverages-container {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    border-bottom: .1rem solid var(--text);
}

.beverages-container * {
    color: var(--text);
}

.beverages-info {
    margin: .11rem .5rem;
    color: var(--text);
}

/* media queries */
@media (max-width: 1200px) {
    .item-course {
        scroll-margin-top: 7rem;
    }
}

@media (max-width: 870px) {
    .item-container {
        flex-direction: column;
        align-items: center;
    }

    .item-text {
        margin-top: 1rem;
        margin-left: 0;
    }
}

@media (max-width: 700px) {
    .beverages-info {
        display: none;
    }
}

@media (max-width: 600px) {
    .item-course {
        font-size: 2.5rem;

    }

    .info-icons {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }

    .info-icon:nth-child(1) {
        margin: .75rem auto;
        margin-right: .5rem;
    }

    .info-icon {
        margin: .75rem auto;
        margin-right: .5rem;
    }
}

@media (max-width: 480px) {
    .item-course {
        scroll-margin-top: 5rem;
    }
}

/*Cafe end*/

/* -------- Accessibility ---------- */
.Accessibility-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;

}

.Accessibility-section {
    display: flex;
    flex-direction: row;
    padding: 3rem;
    border-radius: 3%;
}

.imageCredits {
    position: absolute;
    bottom: 2%;
    left: 1%;
    color: var(--h4)
}

.imageCredits a {
    color: var(--h4);
    text-decoration: underline;
}

.Accessibility-content a {
    text-decoration: underline;
    color: rgb(92, 92, 255);
}

/* Content container */

.Accessibility-text {
    max-width: 800px;
    margin: 0 auto;
    padding: 2%;
}

/* content title */
.Accessibility-text h1 {
    text-align: left;
    font-size: 3.5rem;
    padding: 2%;
}

/* Content main text */
.Accessibility-text p {
    text-align: left;
    padding: 4%;
}

/* Content sub headings */
.Accessibility-text h2 {
    text-align: left;
    font-size: 2rem;
    padding: 3%;
}

/* Content sub headings */
.Accessibility-text h3 {
    font-size: 1.5rem;
    text-decoration: underline; 
    padding: 4%;
}

/* --------TOPICAL START ---------- */

/*Styling for the page's header*/
/*animation form: https://stackoverflow.com/questions/4411306/transition-of-background-color*/
.page-tittle {
    /*So it doesnt conflict with the header*/
    margin-top: var(--headerHeigth);
    position: relative;
    z-index: inherit;
    /*RGB for opacity control*/
    background: linear-gradient(-45deg,
            rgba(43, 63, 33, 0.5),
            rgba(70, 92, 180, 0.5),
            rgba(81, 90, 30, 0.5),
            rgba(40, 25, 78, 0.5));
    background-size: 400% 400%;
    animation: gradient 20s ease infinite;
    height: 19em;
}

/* Gradient animation sequence and transition*/
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.page-tittle h1 {
    padding-top: 5rem;
    text-align: center;
    font-size: 4rem;
}

.page-tittle p {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0 0 2rem 2rem;
}

/*Styling for the break/space between the content's header and tittle*/
hr {
    padding: 1.5rem;
}

/*Styling for main content elements*/

/*common article class container styling for the topical page*/
.topical-container {
    padding: 0 2rem;
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 1rem 2rem;
    margin: 0 auto 5rem auto;
    word-wrap: break-word;

}

/*To style the module tittle*/
.topical-tittle {
    text-align: right;
    font-size: 2rem;
    padding: 0;
    position: relative;
}
/*Styling for the p and h4 element*/
.topical-text p, .topical-text h4{
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
}
/*Styling for the main text*/
.topical-section {
    padding: 1rem;
    width: 100%;
    max-width: 90rem;
    margin: auto;
    word-wrap: break-word;

}

/*Styling for the embedded videos*/
.video-container {
    position: relative;
    padding: 1.5rem 1.5rem;
    height: 350px;
    width: 400px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*Styling for the side image */
.sticky {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    border-radius: 10px;
    position: sticky;
    top: var(--headerHeigth);
    padding: 0;
    margin: 0;

}
.side-image img {
    width: 100%;
    height: auto;

}
.picture-credit {
    text-align: center;
    margin: 0;
    padding: 0;
}

/*References styling*/
.references {
    text-align: left;
    font-family: 'Times New Roman', Times, serif;
    width: 80%;
    margin: 0;
    padding: 0;

}

.references p {
    margin: 0;
    padding: 0;
    font-size: 1rem;
}

/*medium screen size for large phones and tablets*/
@media screen and (max-width: 750px) {

    .topical-container {
        grid-template-columns: auto;
        padding: 0 1rem;

    }

    .topical-section {
        padding: 0;
        margin: 0;
    }

    .topical-text {
        padding: 0;
        margin: 0;
        font-size: 1.5rem;
    }

    .topical-tittle {
        text-align: center;
        font-size: 2rem;
        padding: 0;
        margin: 0;
    }

    .topical-tittle h2 {
        padding: 0;
        margin: 0;
    }

    .side-image img {
        min-width: auto;
        width: 100%;
        margin: 0;
        justify-content: center;
    }

    h2.sticky {
        text-align: left;
    }

    .references {
        padding: 0;
        margin: 0;
        width: 100%;

    }

    .references h2 {
        text-align: center;
        font-size: 2rem;
    }
}

/*medium to large screen size: tablets - smaller desktop screens*/
@media screen and (max-width: 1100px) and (min-width: 751px) {

    /* Styling for the page's header*/
    .topical-tittle {
        width: auto;
    }

    /*Styling for the main content elements*/
    .topical-container {
        grid-template-columns: auto auto;
        padding: 0 1rem;
        font-size: 1;

    }

    /*Styling for the break/space between the content's header and tittle*/
    .topical-page hr {
        margin: 1rem 1rem;
    }
    /*Styling text*/
    .topical-tittle {
        grid-column: span 2;
    }

    h2.sticky {
        text-align: left;
    }

    .references {
        margin: 0;
        padding: 0;
        width: auto;
        height: auto;
        font-size: 1rem;

    }
}

/*smaller size screen - phones*/
@media screen and (max-width: 450px) {

    /*Styling for the main content elements*/
    .topical-container {
        grid-template-columns: auto;
        padding: 0;
        font-size: 1.5;
        margin: 0.5rem;
    }

    /*Styling for content's section*/
    .topical-section {
        padding: 0;
        margin-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    /*Styling for the stickes*/
    h2.sticky {
        text-align: left;
    }

    /*Styling for the embedded videos*/
    .video-container {
        width: 100%;
        height: auto;
        padding: 0;
    }

    .video-container iframe {
        width: 100%;
        height: auto;
        position: relative;
    }

    /*Styling for the figcaption*/
    .video-container .embedded-text {
        font-size: 0.7rem;
    }
}

/*Topical end*/