:root {
    --verde: #95bb20;
    --verde_trasp: #95bb2099;
    --bianco: #eeeeee;
    --grigio_logo: #575756; /* grigio del logo */
    --nero: #575756;
}

@font-face {
    font-family: importante;
    src: url(../fonts/Montserrat-ExtraLight.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
/*    font-family: 'Courier New', Courier, monospace; */
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    overflow: hidden;
}

.tabs input {
    visibility: hidden;
    display: none;
}

.buttons {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 8888;
}

.buttons label {
    width: 20px;
    height: 20px;
    background: var(--verde);
    opacity: 0.5;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.5s;
    
}

.tabs input:nth-child(1):checked ~ .buttons label:nth-child(1),
.tabs input:nth-child(2):checked ~ .buttons label:nth-child(2),
.tabs input:nth-child(3):checked ~ .buttons label:nth-child(3),
.tabs input:nth-child(4):checked ~ .buttons label:nth-child(4) {
    opacity: 1;
    width: 50px;
    border: 2px solid var(--bianco);
}

.content {
    position: relative;
    width: 400vw;
    display: flex;
    transition: 2s;
}

.content .box {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    padding: 40px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.content .box:nth-child(1) {
    background-image: url('../images/home_ppt1.jpg');
}
.content .box:nth-child(2) {
    background-image: url('../images/home_ppt2.jpg');
}
.content .box:nth-child(3) {
    background-image: url('../images/home_ppt3.jpg');
}
.content .box:nth-child(4) {
    background-image: url('../images/home_ppt4.jpg');
}
.tabs input:nth-child(1):checked ~ .content {
    left: 0;
}
.tabs input:nth-child(2):checked ~ .content {
    left: -100vw;
}
.tabs input:nth-child(3):checked ~ .content {
    left: -200vw;
}
.tabs input:nth-child(4):checked ~ .content {
    left: -300vw;
}

.content .box .content_title {
    background-color: #57575699;
    padding: 10px 16px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    margin: 0px;
}

.content .box .content_title p {
    float: right;
    line-height: 24px;
    color: var(--bianco);
    font-family: importante;
    font-weight: bold;
    margin-left: 5px;
}

.content .box .content_title img {
    cursor: pointer;
    width: 24px;
    height: 24px;
    animation: rotation 3s infinite linear;
}

.content .box .contentIn {
    display: flex;
    justify-content: center;
    align-items: end;
    flex-direction: column;
    max-width: 300px;
/*    gap: 10px;
    padding: 10px;
    background-color: #57575699;
    border-radius: 10px; 
    border: 2px solid var(--grigio_logo);
    border-width: 2px; */
    position: absolute;
    right: 10px;
    bottom: 50px;
}

.content .box .content_body {
    background-color: #57575699;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 20px;
    padding: 10px 16px;
    display: flex;
    justify-content: center;
    align-items: end;
    flex-direction: column;
    row-gap: 10px;
}

.content .box .content_body p {
    color: var(--bianco);
    font-family: importante;
    font-style: italic;
    margin-top: 0px;
    /* font-size: small; */
    text-align: center;
}


.content .box .contentIn h2 {
    color: var(--verde);
    font-family: importante;
    font-size: larger;
    background-color: var(--grigio_logo);
    padding: 10px 16px;
}

.content .box .content_body button {
    padding: 0px;
    margin: 0;
    
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background-color: var(--verde_trasp);
    border: none;
    cursor: pointer;
}

.content .box .content_body img {
    padding: 0;
    margin: 0;
    width: 20px;
    height: 20px;
    margin-top: 4px;
}


/* Categorie */
#categorie {
    position: absolute;
    top: 230px;
    left: 20px;
}

#categorie ul {
    list-style-type: none;
    padding: 0;
    overflow: hidden;
    background-color: var(--verde_trasp);
}

/*#categorie ul:nth-child(1) {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}*/

#categorie ul:nth-last-child(1) {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

#categorie li {
    float: none;
}

#categorie li a {
    display: block;
    color: var(--bianco);
    text-align: center;
    letter-spacing: 0.3em;
    padding: 10px 10px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    font-family: importante;
}

#categorie li a:hover {
    background-color: var(--grigio_logo);
}

.categorie_title {
    background-color: var(--grigio_logo);
    padding: 10px 16px;
}

.categorie_title:nth-of-type(1) {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.categorie_title:nth-last-of-type(1) {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.categorie_title p {
    float: left;
    line-height: 24px;
    color: var(--bianco);
    font-family: importante;
    font-weight: bold;
    margin-right: 5px;
    
}

.categorie_title img {
    cursor: pointer;
    width: 24px;
    height: 24px;
    animation: rotation 3s infinite linear;
}



/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: var(--bianco); 
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--verde); 
}
  
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--grigio_logo); 
}

