body{
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 0;
    margin-bottom: 0;
    background-color: #121212;
    font-size: small;
    font-family: 'Noto Serif', serif;
    color: rgb(213, 217, 220);
}

.centered-container{
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap:wrap;
    flex-direction: row;

    height: 80vh; /*da cambiare ogni volta che aggiungi o togli*/
    width: 80vw;

    /* background-color: green; */
}

.workshop-border{
    padding: 10px;
    margin: 10px;
    border: solid rgba(0, 0, 0, 0.379) 1px;
    /* background-color: green; */
    border-radius: 5px;
    transition: all 0.2s ease;
}

a{
    color: rgb(32, 120, 251);
    text-decoration: none;
}

#home-name{
    position: absolute;
    margin-left: nones;
    margin-right: none;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    font-style: italic;
    /*color: rgb(168, 223, 18);*/
    color: rgb(79, 80, 78);
}

p1 {
    font-style: italic;
    color: rgb(79, 80, 78);
}

#footer {
    position:absolute;
    bottom: 100px;
}

marquee{
    font-size: small;
    margin-top: 0;
    margin-bottom: 20px;
    color: black;
    
}

#canvas{
    margin-top: 40px;
    display: flex;
    overflow-y: scroll;
    overflow-x: hidden;

    /* border-style: solid;
    border-color: black;
    border-width: 1px; */
    
    flex-direction: row; /*defaul*/
    /*align-items: stretch;*/
    /*justify-content: space-evenly;*/
    justify-content: first baseline;
    flex-wrap: wrap;

    width: 80vw;
    max-width: 960px;
    height: 80vh;
    /* background-color: rgb(0, 0, 0); */
    background-color: rgb(244, 245, 230);
}

.squares{
    display: flex;
    width: 20vw;
    height: 30vh;

    /* border-style: solid;
    border-radius: 10px;
    border-color: rgb(0, 0, 0); */

    color: black;
    text-decoration: none;
    border-width: 1px;
    background-color: rgb(244, 245, 230);

    text-align: center;
    justify-content: center;
    align-items: center;

    transition: all 0.3s ease;
}

.squares:hover {
    transform: scale(101%);
}

#first{
    cursor: pointer;
    position: relative;
    text-align: center;
    overflow: hidden;
    background-color: black;
    background-image: url(media/curriculumimage.jpg);
    background-size: cover;
    background-position: center;
    filter: grayscale(20%);
    z-index: 81;
}

#second{
    flex-grow: 1;
    font-size: 10rem;
    text-align: left;
    width: auto;
    z-index: 80;
}

/* #third{
    background-image: url(media/sole2.png);
    background-size: cover;
    background-position: center;
    width: auto;
} */

#fourth{
    flex-grow: 0;
    /* background-image: url(media/softwaregal.png); */
    background-image: url(media/sole2.png);
    background-size: cover;
    background-position: center;
    /* filter: grayscale(100%); */
}

#fifth{
    font-size: 10rem;
    color: rgb(168, 223, 18);
    background-color: black;
}

#sixth{
    
    background-image: url(media/dungeonstars.png);
    background-size: cover;
    background-position: center;
}

#seventh{
    background-image: url(media/hammer.png);
    background-size: cover;
    background-position: center;
}

#eight{
    font-size: 9rem;
    color: rgb(168, 223, 18);
    background-color: black;

    flex-grow: 1;
}

#nineth{
    background-image: url(media/links.png);
    background-size: cover;
    background-position: center;
}

#text-container-left{
    position: absolute;
    
    text-align: right;
    margin: 0;
    height: 80vh;
    width: 65vw;
    
}

.p-centered{
    text-align: center;
}

.p-right{
    text-align: right;
}

@media (max-width: 768px) {

    #canvas{
        height: 73vh;
    }

    .squares{
        height: 26vh;
    }

    #first {
        width: 25%;
    }

    #second {
        width: 75%;
        font-size: 5rem;
    }

    #third {
        /* non esiste più */
    }

    #fourth {
        width: 25%;
        z-index: 80;
    }

    #fifth {
        width: 28%;
        
    }

    #sixth {
        width: 47%;
        
    }

    #seventh{
        z-index: 99;
        background-position: 30%;
        transform: scaleX(-1);
    }
}

.centered-box{
    margin-top: 40px;
    /* display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap; */

    height: 80vh; /*da cambiare ogni volta che aggiungi o togli*/
    width: 80vw;
}

@media (hover: hover) {
    

    .workshop-border:hover {
        box-shadow: 1px 0 5px rgb(152, 151, 151);
        transition: all 0.2s ease;
    }

    /* .workshop-border {
        cursor: pointer;
    } */
}