html{
    scrollbar-gutter: stable;
}
html, body{
    height: 100%;
}
body{
    background-image: url(/Images/Repeat-Codex.png);
    background-size: 100px 100px;
    font-family: "DotGothic16", "Consolas", sans-serif;
    letter-spacing: 1px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header{
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 960px;
    width: 100%;
}

.headlogo{
    border-radius: 20% 20% 0 0;
    max-width: 9600px;
    margin: 0;
}
nav {
    margin: 0;
    align-items: center;
}

.menubuttons > ul{
    background-color: #bc2238;
    display: flex;
    justify-content: center;
    flex-direction: row;
    list-style: none;
    flex-wrap: wrap;
    margin:0;
    padding:0;
    padding-inline-start: 0;
    align-items: center;
}
.menubuttons ul li{
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    min-width: 130px;
    background-color: #bc2238;
    color: white;
    margin: 0px;
    white-space: nowrap;
}
.menubuttons ul li a{
    text-decoration: none;
    color: white;
    padding: 10px 12px;
    width: 100%;
    height: 100%;
    text-align: center;
}
.menubuttons ul li:hover{
    background-color: black;
    cursor: pointer;
}
.dropmenu{
    position: absolute;
    top: 100%;
    left: -22%;
    display: none;

    flex-direction: column;
    background-color: black;
    min-width: 180px;

    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 1000;
}
.dropmenu li{
    padding: 0;
    white-space: nowrap;
}
.contsdrop:hover .dropmenu{
    display: block;
}
.comsdrop:hover .dropmenu{
    display: block;
}
.proddrop:hover .dropmenu{
    display: block;
}

mainthing{
    background-color: white;
    max-width: 960px;
    width: 100%;
    align-items: center;

}

mainthing > ul {
    list-style: none;
    display: flex;
    background-color: white;
    margin: 0;
    padding: 0;
    gap: 5px
}

mainthing ul li {
    background-color: white;
    margin: 0px;
}
.leftpanelall{
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    display: block;
    align-items: center;
}
.leftpanel ul{
    list-style: none;
}
.leftpanel{
    width: 230px;
    max-height: fit-content;
    margin-left: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid black;
    border-radius: 3px;
    background-color: #efefef;
    text-align: center;
}
.leftpanel ul{
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #efefef;
}
.leftpanel ul li{
    background-color: #efefef;
    margin: 10px;
    border: 1px solid black;
}
.leftpanel ul li h5{
    margin-bottom: 2px;
    margin-top: 3px;
    margin-right: 1px;
}
.leftpanel ul li h6{
    color: darkslategray;
    margin-top: 2px;
    margin-left: 4px;
    margin-right: 4px;
    margin-bottom: 3px;
}
.leftpanel ul li img{
    max-width: 100px;
}
.leftpanel ul li.siteupdate h5{
    margin:0;
}
.siteupdate h5{
    background-color: #bc2238;
    color: white;
    margin: 0;
}
.siteupdate ul{
    max-height: 80px;
    overflow-y: auto;
    background-color: white;
}
.siteupdate ul li{
    font-size: 12px;
    margin: 1px 0 0 1px;
    border: 0;
    background-color: white;
}
.leftpanel ul li.adsbanner{
    border: 0;
    max-width: 220px;
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.leftpanel ul li.adsbanner img{
    max-width: 160px;
    width: 100%;
    margin: 0;
    align-items: center;
}
.centralpanel{
    width: 710px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 5px;
    text-align: center;
    list-style: none;
}
maincontent {
    display: block;
}
maincontent img{
    width: 100%;
    max-width: 690px;
}
.textbox{
    text-align: justify;
    padding: 0px 8px;
}
.homelatest{
    list-style: none;
    padding: 0;
    margin: 0;
}
.codicelist{
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}
.codicelist li{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.codicelist li h5{
    margin-top: 4px;
}
.codiceimg{
    max-width: 75px;
    max-height: 75px;
    border-radius: 50%;
    border: 1px solid white;
    box-shadow: 1px 1px 2px gray;
}
.blogtitle{
    display: flex;
    justify-content: left;
    font-size: 30px;
    margin-left: 12px;
    margin-right: 16px;
}
.blogimg{
    display: inline-block;
    max-height: 340px;
    max-width: 100%;
    width: auto;
    height: auto;
    margin: 0px auto;
    border: 1px solid white;
    box-shadow: 1px 2px 3px gray;
}
.blogdate{
    display: flex;
    justify-content: left;
    font-size: 13px;
    margin-left: 12px;
    margin-top: 2px;
}
.blogtext{
    text-align: justify;
    line-height: 1.7;
    margin-left: 12px;
    margin-right: 20px;
    letter-spacing: 0;
    font-size: 18px;
}
.blogtext p{
    text-indent: 2em;
    margin: 2px 0 0 0;
    font-family: 'Times New Roman', Times, serif;
}
.blogtext p a{
    text-decoration: none;
    color: #bc2238;
}
.blogtext p:first-of-type{
    text-indent: 0;
    margin-top: 16px;
}
.blogfigure{
    width: 100%;
    margin: 12px auto;
    text-align: center;
}
.imagesub{
    font-size: 14px;
    display: block;
    width: 100%;
    margin: 0;
    text-align: center;
}
#footer-part{
    width: 100%;
    display: flex;
    justify-content: center;
}
.footer{
    width: 100%;
    max-width: 960px;
    flex-direction: column;
    align-items: center;
}
.footer garis{
    display: block;
    width: 100%;
    height: 4px;
    max-width: 960px;
    background-color: black;
    margin: 0;
}
.footer legit{
    color: white;
    min-height: 63px;
    font-size: 12px;
    display: block;
    background-color: #bc2238;
    text-align: left;
    margin: 0;
}
.footer legit ul{
    margin: 0;
}
.footer legit ul li{
    list-style: none;
}
.footer legit ul a{
    color: white;
    text-decoration: none;
}
.footer legit li:first-child{
    padding-top: 8px;
}
.footer legit li:last-child{
    padding-bottom: 10px;
}
