/***************** Reset styles ***************/

h1, h2, h3, h4, h5, h6, p, img, b, i, dl, dt, dd, ol, ul, li, a,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, footer, header, nav, section {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

article, footer, header, nav, section {
    display: block;
}

/********************  Global styles  *******************/

body {
    line-height: 1;
    font-family: Roboto, sans-serif;
}

/********************  Button Back tu MainMenu  *******************/
.button {
    position: fixed;
    background-color:crimson;
    height: 40px;
    width: 40px;
    color: #ffffff;
}


html, body {
    width: 100%;
    height: 100%;
}

#page {
    min-width: 1065px;
    max-width: 1065px;
    height: min-content;
    margin: 0 auto 10px;
}

/********************  Header  *******************/

#header {
    width: 100%;
    height: 630px;
    position: relative;
}

.main-image {
    width: 100%;
    height: 500px;
    background-repeat: no-repeat;
}

.main-title {
    font-size: 48px;
    font-weight: bold;
    color: white;
    position: absolute;
}

#main-menu {
    width: 100%;
    height: 120px;
    padding: 0;
    margin: 0;
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: space-between;
    flex-wrap: wrap;
}

.menu-item {
    width: 251px;
    height: 55px;
    display: block;
    border-radius: 20px;
    text-align: center;
    line-height: 55px;
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.menu-item.selected {
    border: 2px solid red;
}

.menu-item-1 {
    background: linear-gradient(-57deg, #021E20, #BC13FE);
}

.menu-item-2 {
    background: linear-gradient(-57deg, #E5E52A, #FE8113);
}

.menu-item-3 {
    background: linear-gradient(-57deg, #2C7EEA, #FFFFFF);
}

.menu-item-4 {
    background: linear-gradient(-57deg, #E80595, #93577F);
}

.menu-item-5 {
    background: linear-gradient(-57deg, #2AE55C, #FE1313);
}

.menu-item-6 {
    background: linear-gradient(-57deg, #333333, #666666);
}

.menu-item-7 {
    background: linear-gradient(-57deg, #05D9E8, #BC13FE);
}

.menu-item-8 {
    background: linear-gradient(-57deg, #615F49, #F5DA91);
}

#pagination {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 344px;
    height: 88px;
    margin: 60px auto;
    border-radius: 20px;
}

#pagination .pages {
    font-size: 32px;
    font-weight: bold;
    line-height: 88px;
}

#pagination a {
    color: inherit;
    display: block;
    font-size: 64px;
    font-weight: bold;
    text-decoration: none;
    line-height: 88px;
}

/********************  Footer  *******************/

#footer {
    width: 100%;
    height: 220px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-end;
    padding-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
}

#footer nav {
    width: 540px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}

#footer nav a {
    color: inherit;
    text-decoration: none;
}