/*  Reset */

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    background-color: #d5d5d5;
    opacity: 1;
    transition-duration: 0.7s;
    transition-property: opacity;
}
body.fade {
    opacity: 0;
}  
ul, li{
}
a{
    text-decoration: none;
    color: black;
}
iframe{
    border: 0;
}
input {
    border-radius: 0;
    -webkit-appearance: none;
}
:focus{
    border: 0px;
    outline: none;
}
.class-body{
    overflow-x: hidden;
}

/* Typography */

@font-face {
    font-family: 'Honor';
    src: url('fonts/Honor.woff') format('woff');
}
body, html, h1, h4, ::placeholder, input, button, small{
    font-family: 'Honor';
    line-height: 1.2;
    font-weight: 600;
    font-size: 35px;
    letter-spacing: -0.9;
    color: black;
}
h2{
    font-size: 1.5em;
    text-align: center;
    color: Blue;
}
h3{
    font-size: 1.5em;
    text-align: center;
    width: 100%;
    color: black;
}
strong{
    color:blue;
}
header{
    display: flex;
    justify-content:space-between;
    position: fixed;
    width: 100%;
    padding-top: 1em;
}
.logo{padding-left: 1em;
}
.logo p{
    color: blue !important;
}
.logo :visited{
    color: blue;
}
.logo :hover{
    text-decoration: underline;
}
.menu-button{
    padding-right: 1em;
    cursor: pointer;
    color:blue;
}
.menu-button :visited{
    color: blue;
}
.menu-button :hover{
    text-decoration: underline;
}
.homepage-abstract{
    padding-top: 2.45em;
    position: fixed;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    z-index: -5;
}
.homepage-abstract p{
}
.title{
    padding-top: 2em;
    font-size: 2em;
    width: 100%;
    text-align: center;
}
.category{
    padding-top: 1em;
}
.category-container{
    padding-top: 7em;
}

/* Buttons */

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    display: block;
    width: 75%;
    height: 350px;
    /* background: linear-gradient(#2d9ceb, #d2f9ff); */
    border-radius: 300px;
    box-shadow: inset 5px 10px 10px 1px #ffffff3b, 1px 1px 1px 1px #162a0b;
    display: flex;
    margin: 0 auto;
    cursor: pointer;
    z-index: 100;
    margin-bottom: 20px;
    position: relative;
    transition: 0.4s ease;
}
.button:hover {
    scale: 102%;
}
.inner-button {
    background: linear-gradient(#ffffffcb, #ffffff40, #ffffff00);
    border-radius: 200px;
    width: 90%;
    height: 220px;
    margin: 0 auto;
    margin-top: 10px;
    opacity: 90%;
    position: absolute;
    top: 0;
}
.inner-text{
    font-size: 2em;
    z-index: 100;
}
.inner-text p{
    color: black;
    text-shadow: 0.5px 1.5px 0px rgba(255, 255, 255, 0.511), 0px -2px 0px rgba(0,0,0,.9);
}
.button:nth-child(1) { background-color: #5ec236; }
.button:nth-child(2) { background-color: #703fbf; }
.button:nth-child(3) { background-color: #9e9e9e; }
.button:nth-child(4) { background-color: #edcd3b; }
.button:nth-child(5) { background-color: #89aae0; }
.button:nth-child(6) { background-color: #da4e9a; }
.button:nth-child(7) { background-color: #238885; }
.button:nth-child(8) { background-color: #b86cff; }
.button:nth-child(9) { background-color: #fca2ec; }

/* Small buttons */

.button-small {
    justify-content: center;
    align-items: center;
    width: fit-content;
    padding: .5em;
    height: 40px;
    border-radius: 50px;
    box-shadow: inset 5px 10px 10px 1px #ffffff3b, 1px 1px 1px 1px #162a0b;
    display: flex;
    cursor: pointer;
    z-index: 100;
    position: fixed;
    transition: 0.4s ease;
    top: 1.5em;
    left: 50%;
    transform: translate(-50%, -50%);
}
.button-small :hover {
    scale: 102%;
}
.inner-button-small {
    background: linear-gradient(#ffffffcb, #ffffff40, #ffffff00);
    border-radius: 200px;
    width: 90%;
    height: 20px;
    margin: 0 auto;
    margin-top: 2px;
    opacity: 90%;
    position: absolute;
    top: 0;
}
.inner-text-small{
    color: black;
    font-size: 0.75em;
}
.inner-text-small a{
    color: black;
}
.inner-text-small :visited{
    color: black;
}

/* Artist */

.artists-container {
    list-style-type: disc;
    list-style-position: inside;
    text-align: center; 
    font-size: 2em;
    padding-top: 2em;
}

.artists-container li {
    color: black;
}
.artists-container :visited{
    color: black;
}
.artist {
    color: black;
}
.artist a {
    text-decoration: none;
    color: black;
}

/* Blocks */

.paragraph{
    width: 70%;
    margin: 0 auto;
    padding-top: 1em;
    padding-bottom: 1em;
}
.paragraph-title {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 10px;
    color: blue;
}
.paragraph-text {
    text-align: left;
}
.profile-image {
    margin: 0 auto;
    border: blue 2.5px solid;
    width: 400px;
    margin-top: 1em;
    margin-bottom: 1em;
}
.profile-image img {
    width: 100%;
}
.image-container{
}
.motto{
    font-size: 1.5em;
    width: 40%;
    text-align: center;
    margin: 0 auto;
    padding-top: 1em;
    padding-bottom: 1em;
}
.block.project{
    padding-top: 1em;
    padding-bottom: 1em;
}
.block.double_project {
    margin: 0 auto;
    width: 70%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: min-content;
    align-items: start;
    padding-top: 1em;
    padding-bottom: 1em;
}
.block.triple_project {
    margin: 0 auto;
    width: 70%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: min-content;
    align-items: start;
    padding-top: 1em;
    padding-bottom: 1em;
}
.picturebox {
    width: 400px; 
    margin: 10px auto; /* Centra il contenitore */
    padding: 5px;
    border: 1px solid rgb(70, 70, 70);
    background-color: #f9f9f9;
    text-align: center;
    margin-top: 1em;
    margin-bottom: 1em;
}
.picturebox img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid rgb(70, 70, 70);
}
.caption {
    font-size: 0.65em;
    color: #555;
    margin-top: 8px;
    margin-bottom: 5px;
    text-align: left;
    font-family: Times New Roman;
    font-weight: 100 !important;
    letter-spacing: 0;
}

.picturebox.right {
    float: right;
    margin-left: 15px;
}

.picturebox.left {
    float: left;
    margin-right: 15px;
}

p {
    clear: both;
}

/* Next */
.next-artist h3{
    width: 100%;
    font-weight: 600;
    text-align: center;
    padding-top: 1em;
    padding-bottom: 2em;
    color: black;
}
.next-artist :hover{
    text-decoration: underline;
    color: black;
}
/* MOBILE */

@media only screen and (max-width: 700px) {
body, html, h1, h4, ::placeholder, input, button, small{
    font-family: 'Honor';
    font-size: 18px; 
    }
h2{
    font-size: 1.5em;
    text-align: center;
    color: Blue;
    }
h3{
    font-size: 1.5em;
    text-align: center;
    width: 100%;
    color: black;
}
.container-button{
    z-index: 100;
    display:block;
    padding-top: 12em;
    }
.button {
    display: flex;
    justify-content: center;
    align-items: center;
    display: block;
    width: 90%;
    height: 90px;
    border-radius: 300px;
    box-shadow: inset 5px 10px 10px 1px #ffffff3b, 1px 1px 1px 1px #162a0b;
    display: flex;
    margin: 0 auto;
    cursor: pointer;
    z-index: 100;
    margin-bottom: 10px;
    position: relative;
    }    
.inner-text{
    font-size: 20px;
    text-align: center;
    }
.inner-text p{
    text-shadow: 0.3px 1.2px 0px rgba(255, 255, 255, 0.511), 0px -1px 0px rgba(0,0,0,.9);
}     
.inner-button {
    background: linear-gradient(#ffffffcb, #ffffff40, #ffffff00);
    border-radius: 200px;
    width: 87%;
    height: 45px;
    margin: 0 auto;
    margin-top: 3px;
    opacity: 90%;
    position: absolute;
    top: 0;
}
.button-small {
    justify-content: center;
    align-items: center;
    width: fit-content;
    height: 30px;
    background: #dedede;
    border-radius: 50px;
    box-shadow: inset 5px 10px 10px 1px #ffffff3b, 1px 1px 1px 1px #162a0b;
    display: flex;
    cursor: pointer;
    z-index: 100;
    position: fixed;
    transition: 0.4s ease;
    top: 1.5em;
    left: 50%;
    transform: translate(-50%, -50%);
}
.inner-button-small {
    background: linear-gradient(#ffffffcb, #ffffff40, #ffffff00);
    border-radius: 200px;
    width: 90%;
    height: 15px;
    margin: 0 auto;
    margin-top: 2px;
    opacity: 90%;
    position: absolute;
    top: 0;
}
.inner-text-small{
    font-size: 0.65em;
    color: black;
}    
.homepage-abstract{
    padding-top: 2.5em;
    position: fixed;
    padding-left: 1em;
    padding-right: 1em;
    width: 100%;
    z-index: -5;
    }
.category-container{
    padding-top: 10em;
}
/* Blocks Mobile*/

.paragraph{
    width: 100%;
    margin: 0 auto;
    padding: 1em;
}
.paragraph-title {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 10px;
    color: blue;
}
.paragraph-text {
    text-align: left;
}
.profile-image {
    margin: 0 auto;
    border: blue 2.5px solid;
    width: 90%;
}
.profile-image img {
    width: 100%;
}
.image-container{
}
.motto{
    font-size: 1.5em;
    width: 90%;
    text-align: center;
    margin: 0 auto;
    padding-top: 1em;
    padding-bottom: 1em;
}
.block.project{
    padding-top: 1em;
    padding-bottom: 1em;
    margin: 0 auto;
    width: 90%;
    height: auto;
}
.block.double_project {
    margin: 0 auto;
    width: 90%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: min-content;
    align-items: start;
    padding-top: 1em;
    padding-bottom: 1em;
}
.block.triple_project {
    margin: 0 auto;
    width: 90%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: min-content;
    align-items: start;
    padding-top: 1em;
    padding-bottom: 1em;
}
.picturebox {
    width: 100% ; 
    margin: 0 auto; /* Centra il contenitore */
    padding: 5px;
    border: 1px solid rgb(70, 70, 70);
    background-color: #f9f9f9;
    text-align: center;
    margin-top: 1em;
    margin-bottom: 1em;
}
.picturebox img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid rgb(70, 70, 70);
}
.caption {
    font-size: 0.65em;
    color: #555;
    margin-top: 7px;
    text-align: left;
    letter-spacing: 0;
}

.picturebox.right {
    float: right;
    margin-left: 15px;
}

.picturebox.left {
    float: left;
    margin-right: 15px;
}

p {
    clear: both;
}
}