html,
body {
    width: 100%;
    background-color: rgb(163, 163, 163);
    height: 100%;
    padding: 0;
    margin: 0;
}
/* Animazione barra di navigazione */
@keyframes slideInFromTop {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translatey(0);
    }
}

/* Barra di navigazione */
.topbar {
    background-color: rgb(29, 29, 29);
    margin: 0 auto;
    height: 75px;
    position: fixed;
    animation: 600ms ease-in-out 0s 1 slideInFromTop;
    z-index: 100;
    width: 100%;
    display: flex;
    border-bottom: 10px solid black;
}
/* Tasto per apertura menu, si visibile in modalità mobile (800px) */
.menu{
    display: none;
}
.dropDown{
    display: flex;
    transition: 200ms ease-in-out;
}
.dropDownHide{
    display: none;
    transition: 200ms ease-in-out;
}



.topbarContainer {
    height: 100%;
    width: 70%;
    display: flex;
    margin: 0 auto;
}

.topbarContainer ul {
    list-style-type: none;
    display: inline-flex;
    align-items: center;
    height: 100%;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    width: 100%;
}

.topbarContainer li {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    vertical-align: middle;
    transition: 400ms;
    width: 100%;
    height: 100%;
}

/* Logo Dedem 'navigation bar' */
.imgContainer {
    display: flex;
    flex-direction: row;
    vertical-align: center;
    align-items: center;
    margin: 0 auto;
    height: 100%;
    width: auto;

}

.imgContainer img {
    width: 45px;
    height: min-content;
    margin-right: 0 auto;
    padding-right: 20px;
    align-items: center;
    vertical-align: center;
    transition: 400ms;
}

/* Item specifico della barra di navigazione*/
.box {
    align-items: center;
    margin: 0 auto;
    vertical-align: center;
    justify-content: center;
    width: 100%;
    height: min-content;
    font-style: bold;
    font-size: 43px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transform: scaleZ(1);
    transition: font-size 400ms ease-in-out;
    transition: 700ms;
}


.box a {
    text-decoration: none;
    color: white;
    transform: scaleZ(1);
    width: 100%;
    vertical-align: middle;
    margin: 0 auto;
    transition: font-size 200ms ease-in-out;
    transition: 400ms;
}

.box:hover a, .box:active a {
    color: rgb(255, 115, 0);
    -webkit-tap-highlight-color: transparent;
    font-size: 40px;
    height: 100%;

}


a::after {
    display: block;
    content: '';
    width: 100%;
    margin: 0 auto;
    align-content: center;
    margin-top: 4px;
    border-bottom: solid 4px white;
    transform: scaleX(0);
    transition: transform 200ms ease-in-out;
}

.box:hover a::after {
    transform: scaleX(1);
}

/* impostazione per telefoni */

.ulHide{
    display: none;
}

@media only screen and (max-width: 1000px) {
    @keyframes menuAnim {
        0%{
            transform: translateY(-100%);
        }        
        100%{
            transform: translateY(0);
        }
    }
    .topbar {
        width: 100%;
        overflow: hidden;
        transition: 1s;
        padding-bottom: 5px;
        height: min-content;
        animation: 500ms ease-in-out 0s 1 menuAnim;
    }
    .menu{
        display: flex;
        width: 50px;
        height: 30px;
        margin: 20px;
        margin-top: 20px;
        margin-bottom: 10px;
        &.menu img{
            width: 40px;
            height: 30px;
        }
    }

  
    

    .topbarContainer {
        width: 100%;
        padding-top: 2%;
        &.topbarContainer ul{
            display: none;
            animation: 500ms ease-in-out 0s 1 menuAnim;
            flex-direction: column;
            align-items: left;
        };
        &.topbarContainer li{
            margin-left: 20px;
            text-align: left;
            padding-bottom: 10px;
            padding-top: 10px
        };
    }
    .box{
        align-items: left;
        margin-left: 10px;
        text-align: left;
        width: 100%;
        vertical-align: center;
    }


    .box a {
        font-size: 6.2vw;
        vertical-align: center;
        text-align: left;
        margin-left: 0;
    }

    .box:hover a, .box:active a {
        font-size: 5.8vw;
    }

    a::after {
        display: none;
        border-bottom: 2px solid white;
        width: 100%;
    }
   .imgContainer{
        width: 100%;
        height: 100%;
        margin-left: 10px;
        vertical-align: center;
        margin: auto;
    }

    .imgContainer img {
        width: 8vw;
        margin: 0 auto;
    }
}


/* Fine Navigation Bar */

/* Inizio Main */

main {
    width: 100%;
    height: auto;
    align-items: center;
    display: flex;
    flex-direction: column;
}

/*Barra del titolo e Sottotitolo con*/
.Outbox {
    width: 100%;
    display: flex;
    height: auto;
    align-items: center;
    padding-bottom: 5%;
    padding-top: 20vh;
    margin: 0 auto;
    background-color: rgba(255, 115, 0, 0.904);
    border-bottom: 10px solid white;
    background-image: url('./HomepageFile/cncc_logo.png');
    background-repeat: no-repeat;
    background-size: 900px;
    background-position: center;
    transition: 500ms;
}



.innerbox {
    width: 70%;
    background-color: rgba(255, 255, 255, 0.377);
    box-shadow: 0px 5px 100px 0px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(17px);
    z-index: 99;
    height: min-content;
    border-radius: 10px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    padding-bottom: 30px;
    padding-top: 20px;
    position: relative;
    transition: 400ms;
    border-bottom: 5px solid rgba(68, 68, 68, 0.582);
}



.subBox {
    z-index: 95;
    width: auto;
    display: flex;
    background-color: transparent;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
}


.title {
    border-top: 5px solid black;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 8vw;
    margin: 0 auto;
    height: min-content;
    width: min-content;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-shadow: 6px 3px rgba(136, 136, 136, 0.836);
}

.subtitle {
    margin: auto;
    position: relative;
    height: min-content;
    width: min-content;
    text-align: center;
    font-size: 3vw;
    margin-top: -16px;
    border-bottom: 5px solid black;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transform: scaleY(1.4);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.date {
    text-align: center;
    font-size: 1.8vw;
    margin: 0 auto;
    width: max-content;
    font-style: italic;
    margin-top: 10px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.navigation {
    width: 100%;
    background-color: rgb(46, 46, 46);
    display: flex;
    height: auto;
    align-items: center;
    align-content: center;
    border-bottom: 7px solid black;
}

.navigation ul {
    display: inline-flex;
    margin: 0 auto;
    padding: 0;
    height: 100%;
    width: 50%;
}

.navigation li {
    margin: 0 auto;
    list-style-type: none;
    width: 100%;
    height: 100%;
    padding: 0;
    align-content: center;
    transform: scaleX(1);
    transition: 200ms ease-in-out;
    display: flex;
}

.navigation li:hover {
    background-color: rgba(255, 115, 0, 0.904);
    -webkit-tap-highlight-color: transparent;
    padding-left: 20px;
    padding-right: 20px;
}

.navigation li:hover .tabNavName {
    color: black;
    font-style: initial;
}

.tabNavName {
    text-align: center;
    text-decoration: none;
    font-size: 1.2vw;
    color: white;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    transition: 600ms;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/*  Gestione schermo da larghezza 1280px  */

@media only screen and (max-width: 1280px) {
    .yearCompet p {
        font-size: 1.5vw;
    }

    .title {
        font-size: 12vw;
    }

    .date {
        font-size: 4vw;
    }

    .subtitle {
        font-size: 4vw;
        transform: scaleY(1.1);
    }

    .innerbox::after {
        display: none;
    }

    .tabNavName {
        font-size: 2vw;
    }
}

/* Gestione schermo dispositivi mobile ( 800px ) */

@media only screen and (max-width: 1000px) {

    .title {
        font-size: 20vw;
        font-family:Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    }

    .date {
        font-size: 6vw;
    }

    .subtitle {
        font-size: 8vw;
        font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        transform: scaleY(1);
    }

    .Outbox {
        height: auto;
        padding-bottom: 10%;
        padding-top: 25%;
    }

    .innerbox {
        width: 100%;
        border-radius: 0%;
        top: 15%;
    }

    .innerbox::after {
        display: none;
    }

    .navigation ul {
        width: 100%;
    }

    .tabNavName {
        font-size: 4vw;
    }
}

/* Inizio liste candidati */
.contentBoxOut {
    width: 100%;
    align-items: center;
    margin: 0 auto;
    padding-bottom: 80px;
    padding-top: 40px;
    background-color: rgb(1, 78, 59);
    
}
.listH2{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    margin: 0 auto;
    width: 70%;
    text-align: center;
    height: min-content;
    font-size: 40px;
    text-shadow: 6px 6px rgba(49, 49, 49, 0.623);
    margin-bottom: 100px;
}

.textOff{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    margin: 0 auto;
    text-align: center;
    vertical-align: middle;
    font-size: 40px;
    text-shadow: none;
    padding: 20px;
}


.contentBoxIn {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    vertical-align: top;
    justify-content: center;
    gap: 20px;
    align-content:space-between;;
    width: 80%;
    
}


.flexList {
    flex: 25%;
    max-width: 25%;
    max-height: min-content;
    height: min-content;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 20px;
    background-color: white;
    transition: 200ms ease-in-out;
  
}

.flexList:hover, .flexList:active {
    transform: translateY(-10px);
    -webkit-tap-highlight-color: transparent;
    box-shadow: 5px 5px 30px 5px rgba(0, 0, 0, 0.521);
}

.flexList:hover .underLine, .flexList:active .underLine {
    width: 80%;
    margin-left: 5%;
}

.flexList h2 {
    width: 90%;
    text-align: left;
    font-size: 1.3vw;
    transition: 300ms;
    margin: auto;
    padding-bottom: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.underLine {
    content: '';
    border-bottom: 4px solid black;
    width: 60%;
    margin-left: 15%;
    transition: 300ms;
}

.UlList {
    list-style-type: none;
    font-size: 1vw;
    margin: 0 auto;
    padding: 0;
    padding-top: 3px;
    padding-bottom: 3px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.UlList li {
    width: auto;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: row;
    cursor: pointer;
    transition: 100ms;
}

.UlList li:hover , .UlList li:active{
    border-color: linear-gradient;
    background-color: rgba(0, 97, 65, 0.445);
    border-radius: 5px;
    -webkit-tap-highlight-color: transparent;
}
.UlList .idText{
    text-decoration: none;
    width: min-content;
    font-weight: 700;
    font-style: inherit;

}

.UlList p {
    text-decoration: none;
    width: 90%;
    margin-left: 5px;
    margin-right: 5px;

}

.UlList a {
    text-decoration: none;
    color: black;
}

@media only screen and (max-width: 1280px) {
    .flexList {
        flex: 100%;
        max-width: 25%;
    }
}

@media only screen and (max-width: 1000px) {
    .listH2{
        font-size: 6vw;
        width: 95%;
        margin-top: 10px;
        margin-bottom: 30px;
        padding-bottom: 10px;
    }
    .flexList {
        flex: 100%;
        max-width: 100%;
    }

    .flexList h2 {
        font-size: 4vw;
    }

    .contentBoxIn {
        width: 95%;
        gap: 40px;
      
    }

    .UlList li {
        font-size: 3vw;
    }

    .textOff{
        font-size: 5vw;
    }
}

/*Inizio footer */

footer {
    bottom: 0;
    width: 100%;
    height: auto;
    background-color: rgb(29, 29, 29);
    border-top: 8px solid black;
    padding-bottom: 80px;
    padding-top: 20px;
}

.blockContainer {
    width: 60%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.blockContainerInner {
    width: 40%;
    margin: 0 auto;
    gap: 30px;
}

.dividerFooter {
    content: '';
    width: 10px;
    height: 80%;
    border-right: 6px solid white;
}

.Contatti {
    font-family: sans-serif;
    width: 100%;
    color: white;
    margin: 0 auto;
}

.Contatti h3 {
    font-size: 2vw;
    margin-left: 20px;
}

.horFooter {
    content: '';
    width: 90%;

    margin-bottom: 30px;
    height: auto;
    border-bottom: 4px solid rgb(114, 114, 114);
}


.emailTitle {
    font-size: 1.4vw;
    display: flex;
    flex-direction: row;
    margin-left: 20px;
}

.emailTitle .PreEmail {
    font-size: 1.2vw;
    margin: 10px;
    color: rgb(117, 117, 117);
}

.emailTitle .email {
    margin: 10px;
    font-size: 1.2vw;
    color: white;
}

.copyrights {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.copyrights img {
    width: 30%;
    height: 10%;
    margin: 0 auto;
}

#copyRights {
    font-size: 1vw;
    margin: 0 auto;
    width: auto;
    color: rgba(255, 255, 255, 0.473);
}

@media only screen and (max-width : 1000px) {
    .blockContainer {
        width: 100%;
        flex-direction: column;
    }

    .blockContainerInner {
        width: 100%;
    }

    .Contatti h3 {
        font-size: 5vw;
    }

    .horFooter {
        margin: 0 auto;
    }

    .emailTitle .PreEmail,
    .emailTitle .email {
        font-size: 3vw;
    }

    .copyrights {
        padding-top: 25px;
    }

    .copyrigthsIn {
        content: '';
        width: 100%;
        margin-top: 30px;
        border-top: 4px solid rgb(110, 110, 110);
    }

    #copyRights {
        font-size: 3vw;
    }

    .copyrights img {
        width: 20%;
        height: 7%;
    }

}

#tryGet p{
    font-family: 'Courier New', Courier, monospace;
    color: red;
}
