body {
    background-color: #1E1E1E;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.topnav {
    background-color: #333;
    overflow: hidden;
    position: relative;
    margin-top: 5px;
    margin-left: 4px;
    margin-right: 4px;
    border-radius: 7px;
}
  
.topnav a, .topnav details {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}
  
.topnav details {
    position: relative;
    z-index: 2;
    border-right: 4px solid transparent;
}

.topnav details[open] {
    background-color: #4141417e;
    border-radius: 7px;
    margin-bottom: 7px;
    margin-top: 7px;
}

.topnav details:last-of-type {
    border-right: none;
}

.topnav details:hover {
    background-color:#3D3D3D ;
    border-radius: 7px;
}

summary::marker {
    font-size: 0px;
}
details[open] summary::marker {
    size: 0px;
}
.topnav details summary {
    cursor: pointer;
    padding: 14px 16px;
    transition-timing-function: ease-in;
}
.topnav details summary::-webkit-details-marker {
    display: none;
}

.topnav details summary:hover {
    background-color: #ddd;
    color: black;
    border-radius: 7px;
}
.topnav details summary:active {
    background-color: #777;
}
.topnav a:hover {
    background-color: #ddd;
    color: black;
    border-radius: 7px;
}
.topnav a:active {
    background-color: #777;
    border-radius: 7px;
}
.topnav details a {
    display: flex;
    background-color: #4444449c;
    padding: 10px 16px;
    gap: 5px;
    border:4px solid #1E1E1E;
}
  
.topnav details[open] a.sub-link {
    display: flex;
    border-radius: 12px;
    border: 4px solid #4d4d4d62;
    gap: 10px;
}

.freccia-destra, .freccia-sinistra {
    background-color: #303030;
    position: fixed;
    bottom: 16px;
    border: 4px solid #535353;
    border-radius: 10px;
}

.freccia-destra img:hover, .freccia-sinistra img:hover {
    background-color: rgba(101, 167, 167, 0.61);
    border-radius: 7px;
    
}

.freccia-destra {
    right: 16px;
}

.freccia-sinistra {
    left: 16px;
}

.freccia-destra img, .freccia-sinistra img {
    width: 35px;
}

.container {
    background-color: #494949;
    border-radius: 0px;
    display: flex;
    flex-direction: row-reverse;
    gap: 20px;
    padding: 7px;
    width: 100%;
    box-sizing: border-box;
    align-items: flex-start;
}

.container a {
    border-radius: 10px;
    border: 5px solid #535353;
    background-color: #3D3D3D;
    flex: 0 1 20%;
}

.container a img {
    display: block;
    width: 100%;
    width: 150px;
}

.descrizione {
    border-radius: 10px;
    background-color: #535353;
    color: white;
    padding: 50px;
    flex: 1 1 80%;
    font-size: 20px;
}

.phantom-img {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.sub-link {
    padding: 20px;
    gap: 20px;
}

@media screen and (max-width: 767px) {
    .container {
        display: flex;
        flex-direction: column;
    }

    .container a img {
        display: flex;
        justify-content: center;

    }
    
}