html
{
    width: 100%;
    height: 100%;
    padding:0;
    margin:0;
}

body
{
    background-color: black;
    color: white;

    font-family: "Lexend", sans-serif;
    font-optical-sizing: auto;
    font-size: 15px;
    font-weight: 200; /*100-900*/
    font-style: normal;

    width: 100%;
    height: 100%;
    padding:0;
    margin:0;
}

#wrapper
{
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;

    width: 100%;
    overflow:hidden;

    padding: 5%;
    box-sizing: border-box;
  
}




   /*---------------------*/
  /*-/ content windows /-*/
 /*---------------------*/

#windows
{
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 2% 0% 2% 0%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    position: absolute;
    top: 0; 
    left: 0;
}

#story_windows
{
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 2% 0% 2% 0%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    position: absolute;
    top: 0; 
    left: 0;
}

.central_window
{
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 1%;
    display: flex;
    justify-content: space-between;
    overflow-y: scroll;
    overscroll-behavior-y: none; 
    scrollbar-width: none;
}

.story_central_window
{
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 1%;
    display: flex;
    justify-content: space-between;
    overflow-y: scroll;
    overscroll-behavior-y: none; 
    scrollbar-width: none;
}

.column
{
    width: 33.333%;
    height: auto;
    display: flex;
    flex-direction: column;
    margin:0;
    gap: 20px;
}

.lateral_column
{
    width:10%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    justify-content: space-evenly;
    text-align: center;
}

#background
{
    position:absolute;
    top: 0; 
    left: 0;
}

.window
{ 
    box-sizing: border-box; /*added in order to fix overflowing of the window when i add padding*/
    width: 100%;
    height: fit-content;
    background-color: black;
    border: solid white 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: ease-in-out 0.3s;
    padding:5%
}

.window:hover
{
    border-color: white;
}








   /*----------------*/
  /*-/ story page /-*/
 /*----------------*/

.story_central_window
{
    width: 50%;
}


#story_windows
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-content: space-evenly;

    font-size: 20px;
}














   /*-------------------------*/
  /*-/ animated background /-*/
 /*-------------------------*/

#background1
{
    display: block;
    
    width: 10000px;
    height: 3000px;

    margin-top: -750px;
    transform-origin: 5000px 1800px;

    margin-right: -5000px;

    position: relative;
    top: 0; 
    left: 0;
}

.animation1
{
    animation: background1-rotation 140s infinite alternate ease-in-out;
}

@keyframes background1-rotation {
  0% {
    transform: rotate(15deg);
  }
  100% {
    transform: rotate(50deg);
  }
}

#background2
{
    display: block;
    
    width: 10000px;
    height: 3000px;

    margin-top: -750px;
    transform-origin: 5000px 1800px;

    margin-left: -5000px;

    position: relative;
    top: 0; 
    left: 0;
}

.animation2
{
    animation: background2-rotation 220s infinite alternate ease-in-out;
}

@keyframes background2-rotation {
  0% {
    transform: rotate(-30deg);
  }
  100% {
    transform: rotate(-75deg);
  }
}

.line
{
    text-align: center;
    position: relative;
    box-sizing: border-box;
    width: 10000px;
    height: 2.5%;
    border: solid white 1px;
    border-top: 0;
    background-color: rgba(0,0,0,0);
}

.first-line-div
{
    border: solid white 1px;
    background-color: aqua;
}

.last-line-div
{
    border: solid white 1px;
    background-color: rgb(255, 136, 0);
}










   /*--------------------*/
  /*-/ mobile devices /-*/
 /*--------------------*/



#windows_mobile
{
    visibility: hidden;
    width: 0px;
    height: 0px;
}


.column_mobile
{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    margin:0;
    gap: 20px;
}



@media only screen and (max-width: 768px) {
    body {
        font-size: 12px;
    }

    .story_central_window
    {
        width: 95%;
        font-size: 14px;
    }

    .lateral_column
    {
        width:0px;
        visibility: hidden;
    }

    #windows_mobile
    {
        box-sizing: border-box;
        width: 100%;
        height: 100%;
        padding: 2% 0% 2% 0%;
        display: flex;
        justify-content: space-between;
        align-items: center;

        position: absolute;
        top: 0; 
        left: 0;

        visibility: visible;
    }

    #windows
    {
        visibility: hidden;
    }

    .central_window
    {
        box-sizing: border-box;
        width: 90%;
        height: 100%;
        padding: 1%;
        display: flex;
        justify-content: space-between;
        overflow-y: scroll;
        overscroll-behavior-y: none; 
        scrollbar-width: none;
    }
}



@media only screen and (max-width: 1200px) and (min-width: 769px) {
    body {
        font-size: 12px;
    }
    .story_central_window
    {
        width: 80%;
    }
}