html,body{
    --bg: #F4F4F4;
    --Color: #239A94;
    --Write : #FFBC2B;
    --logo_B: url("./Assets/Logo_B.svg");
    --logo_W: url("./Assets/Logo_W.svg");
    --txt : #404040;
    --babes: "Bebas Neue", sans-serif;
    --Roboto: "Roboto Condensed", sans-serif;
    --Archivio: "Archivo Narrow", sans-serif;
    margin: 0;
    padding: 0;
    color: var(--txt);
    font-family: var(--Roboto);
    background-color: var(--bg);
}
/*--------------------------------------------------------------*/
::-webkit-scrollbar {
    width: 10px;
    background-color: #239A94;

}
::-webkit-scrollbar-track {
    background: transparent;
    
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 999px;
}
/*--------------------------------------------------------------*/
h1 {
    font-family: var(--babes);
    font-size: 22vh;
    letter-spacing: 2px;
    color: var(--txt);
    line-height: 20vh;
    @media (max-width: 1022px) {
            font-size: 22vw;
            line-height: 20vw;
    }
}
@media (max-aspect-ratio: 1/1) {
    h1 {
        font-size: 12vh;
        line-height: 10vh;
        
    }
}
@media (min-aspect-ratio: 1/1) {
    h1 {
        font-size: 12vw;
        line-height: 10vw;
    }
}
h2{
    font-family: var(--babes);
    font-size: 10vh;
    letter-spacing: 2px;
    color: var(--txt);
    line-height: 20vh;
    display: flex;
    align-items: center;
    margin: 0;
    height: 10vh;

    @media (max-width: 1022px) {
        font-size: 10vw;
    }
}
h2 img{
    height: 10vh;
    margin: 10px;
}

h4{
    font-family: var(--babes);
    font-size: 4rem;
    margin: 20px;
}

.highlighted{
    color: var(--Write);
}
/*--------------------------------------------------------------*/
.logo{
    background-image: var(--logo_W);
    background-repeat: no-repeat;
    background-size: contain; /* oppure cover o una dimensione precisa */
    background-position: center;
    width: calc(22px * 2);
    height: calc(28px * 2);
    margin: 10px;
}
.lateral{
    margin: 20px;
    color: var(--bg);
}

.icon{
    width: 2%;
    color: var(--Color);
}

.icon path{
    fill: red;
}
/*--------------------------------------------------------------*/

ul {
    list-style: none;      /* rimuove i pallini */
    padding: 0;
    margin: 20px 0;
}

li {
    font-size: 2rem;
    margin: 12px 0;
    display: flex;
    align-items: center;
}

li::before {
    content: "✓";
    color: var(--Color);
    font-weight: bold;
    margin-right: 10px;
}

/*--------------------------------------------------------------*/

.bottom{
    width: stretch;
    background-color: var(--txt);
    height: 100px;
    display: flex;
    color: var(--bg);
    padding: 20px;

}
/*--------------------------------------------------------------*/

video{
    width: 40vw;
    border-radius: 5px;
    @media (max-width: 500px) {
        width: min(90%, 600px);
        height: auto;
    }
}

/*--------------------------------------------------------------*/
button{
    width: 10vw;
    
    min-height: 20px;
    min-width: 40px;
    height: 5vh;
    background-color: var(--Write);
    border: 0;
    font-family: var(--Roboto);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
    transition: transform 0.3s ease;
    padding: 10px;
}

button:hover{
    transform: scale(1.1);
}

.button2{
    background-color: var(--bg);
}

/*--------------------------------------------------------------*/

.imgcard{
    width: min(40%,1000px);
    aspect-ratio: 4 / 3;
    object-fit: cover;

    @media (max-width: 500px) {
        width: min(90%,1000px);
        height: auto;
    }
}

.imgcard:hover{
    object-fit: scale-down;

}

/*--------------------------------------------------------------*/
.topbar_{
    position: absolute;
    top: 0;
    left: 0;
    height: 80px;
    width: 100%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    overflow: hidden;
    transition: height 1.5s ease;
    background-color: var(--bg);
    z-index: 10;
}
.topbar-content {
    height: 80px;
    display: flex;
    align-items: center;
}
.topbar-content .logo{
    background-image: var(--logo_B);
}
.topbar-content .lateral{
    color: var(--txt);
}
.topbar.compact {
    height: 0px; /* lascia una piccola "lingua" */
}

/*--------------------------------------------------------------*/
.buttonlink{
    background-color: var(--Write);
    border: solid 1px var(--txt);
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
}
.page{
    height: 100vh;
    display: flex;
    align-items: center;
}
.page-long{
    height: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.intropage {
    position: relative;
    background: var(--Color);
    overflow: hidden;
    display: flex;
    align-items: center;
}
/* immagine trasparente sopra */
.intropage::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("Assets/programmatore-informatico.png");
    background-size: cover;
    background-position: center;
    opacity: 0.15; /* trasparenza immagine */
}
/* contenuto sopra tutto */
.intropage > * {
    position: relative;
    z-index: 1;
}
.title{
    margin: 3vw;
    color: var(--Write);
}
.banner{
    background-color: white;
    box-shadow: 0px 0px 5px 0px #00000015;
    margin: 5px;
    width: -webkit-fill-available;

}
.slot{
    display: flex;
    justify-content: space-evenly;
    padding: 20px;
    margin: 5px;
    align-items:center;
    @media (max-width: 500px) {
        flex-direction:column;
        text-align: center;
    }
}

.down{
    @media (max-width: 500px) {
        flex-direction:column-reverse
    }
}

.swap{
    flex-direction:row-reverse
}

.centered{
    justify-content: center;
}

.clear{
    justify-content: center;
    margin: 0;
    padding: 0;
    @media (max-width: 500px) {
        flex-direction:column
    }
}

.card{
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px;
    @media (max-width: 500px) {
        width: 90%;
    }
}


.container {
    perspective: 1200px;
    background-color: #6fd0aa36;
    /*overflow: hidden;*/
    width: 30vw;
    height: 40vh;
    
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    @media (max-width: 500px) {
        width: 50vw;
        height: 20vh;
    }
}
.iim {
    width: 70vw;
    transform:
        rotateX(10deg)
        rotateY(-25deg)
        /*translateX(200px)*/
        translateZ(0)
        scale(0.4);
    filter: drop-shadow(0 30px 40px rgba(0,0,0,.2));
    transform-style: preserve-3d;
    transition: transform .5s ease;
    border-radius: 15px;
        @media (max-width: 500px) {
            width: auto;
            height: 40vh;
    }
}
.iim:hover {
    transform:
        rotateX(0deg)
        rotateY(0)
        translateZ(50px)
        scale(0.51);
}
.texbox{
    min-width: 20vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 30px;
}

.colum{
    flex-direction: column;
}

.poster{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

.poster img{
    width: 40vw;
    border: solid 1px var(--txt);
    border-radius: 20px;
}

.number{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--Color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.line{
    width: 1px;
    height: 10px;
    background-color: var(--txt);
}

