@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@600&display=swap");

body {
    font-family: "Roboto", Sans-serif;
    margin: 30px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
    color:#3a3f45;
}

.header {
    position: fixed;
    top: 0;
    z-index:1000;
    width: 100%;
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    background-color: white;
    color: #3a3f45; 
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.strip {
    position: fixed;
    top: 60px;
    z-index:1;
    width: 100%;
//    display: flex;
 //   justify-content: space-between;
    /* align-items: center; */
//    background-color: white;
 //   color: #3a3f45; 
  //  padding: 10px 20px;
  //  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header .logo img {
    height: 80px; /* Adjust the height as needed */  
}

.ham-btn {
    display: none;
    position: absolute;
    width: 60px;
    height: 60px;
    top: 0px;
    right: 0px;
    transition-duration: 0.5s;

    .icon-left {
        transition-duration: 0.5s;
        position: absolute;
        height: 4px;
        width: 15px;
        top: 30px;
        background-color: #ff0000;

        &:before {                              
            transition-duration: 0.5s;
            position: absolute;
            width: 15px;
            height: 4px;
            background-color: #00ff00;
            content: "";
            top: -10px;
        }

        &:after {
            transition-duration: 0.5s;
            position: absolute;
            width: 15px;
            height: 4px;
            background-color: #0000ff;
            content: "";
            top: 10px;
        }

        &:hover {
            cursor: pointer;
        }
    }

    .icon-right {
        transition-duration: 0.5s;
        position: absolute;
        height: 4px;
        width: 15px;
        top: 30px;
        left: 15px;
        background-color: #aaaaaa;

        &:before {
            transition-duration: 0.5s;
            position: absolute;
            width: 15px;
            height: 4px;
            background-color: #999999;
            content: "";
            top: -10px;
        }

        &:after {
            transition-duration: 0.5s;
            position: absolute;
            width: 15px;
            height: 4px;
            background-color: #444444;
            content: "";
            top: 10px;
        }
    }

    /*
    &.open {
        .icon-left {
            transition-duration: 0.5s;
            background: transparent;

            &:before {
                transform: rotateZ(45deg) scaleX(1.4) translate(2px, 2px);
            }

            &:after {
                transform: rotateZ(-45deg) scaleX(1.4) translate(2px, -2px);
            }
        }

        .icon-right {
            transition-duration: 0.5s;
            background: transparent;

            &:before {
                transform: rotateZ(-45deg) scaleX(1.4) translate(-2px, 2px);
            }

            &:after {
                transform: rotateZ(45deg) scaleX(1.4) translate(-2px, -2px);
            }
        }
    }
    */

    &:hover {
        cursor: pointer;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001; /* Ensure the button is above the menu */
}

.hamburger .bar {
    height: 3px;
    width: 25px;
    background-color: black;
    margin: 4px 0;
    transition: 0.3s;
}

/* Transform the hamburger into an "X" when active */
/*
.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
*/
.menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    font-family: "Roboto", Sans-serif;
    font-size: 11px;
    font-weight: 600;
    justify-content: center;
    flex-grow: 1;
}

.menu li {
    position: relative;
}

.menu li a {
    display: inline-block;
    color: #3a3f45;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.menu li a:hover,
.dropdown:hover .dropbtn {
//    border-bottom: 2px solid green;
//    border-bottom: 4px solid #6889bb;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    flex-direction: column;
}

.dropdown-content a {
    color: #3a3f45;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
//    background-color: #f1f1f1;

    background-color: #6889bb;
    color:#ffffff;

}

.dropdown:hover .dropdown-content {
    display: flex;
}

/*
@media (max-width: 10000px) {
  .dropdown:hover {
      display: flex;
  }
}
*/

.dropbtn:after {
    content: " \25BC"; /* Unicode for downward arrow */
    font-size: 10px;
    margin-left: 5px;
}

.body {
    flex: 1;
    align-items: center;
    justify-content: center;
//    padding: 20px;
//      padding-top: 80px;        
}

.grid-container-1 {
    display: grid;
    grid-template-columns: 100%;
//    padding: 10px;
}

.width-50 { 
    width: 50%;
}
    
.grid-container-2 {
    display: grid;
    grid-template-columns: 50% 50%;
    padding: 10px;
}
.grid-container-2-nobordi {
    display: grid;
    grid-template-columns: 50% 50%;
}
.grid-container-3 {
    display: grid;
    grid-template-columns: 33% 33% 33%;
//    padding: 10px;
}

.grid-container-30 {
    display: grid;
    grid-template-columns: 25% 50% 25%;
//    padding: 10px;
}

.grid-container-2-1 {
    display: grid;
    grid-template-columns: 66% 33%;
//    padding: 10px;
}

.grid-container-4 {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    padding: 10px;    
}

.grid-container-5 {
    display: grid;
    grid-template-columns: 20% 20% 20% 20% 20%;
    padding: 10px;    
}

.grid-item {
    padding: 10px;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    margin: 20px;
//    border: 1px solid red;
}

.grid-item-nob {
    padding: 10px;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    margin: 0 20px;
//    border: 1px solid blue;
}

.grid-border {
        border: 1px solid blue; 

}

.grid-item-half {
    padding: 2px;
    font-size: 16px;
//    font-weight: bold;
    font-weight: 400;
    text-align: left;
    line-height: 20px;
//    border:1px solid red;
    margin: 5px;
}

.grid-item-nobordi {
    font-size: 16px;
//    font-weight: bold;
    font-weight: 400;
    text-align: left;
    line-height: 20px;
//    border:1px solid red;
}

.padding-nobordi {
    padding:8em 4em;
}

.small {
    font-size: 12px;
}

.container-image {
    position: relative;
    text-align: center;
    color: white;
}

.overimage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*
.container-image-left {
    position: relative;
//    text-align: center;
    color: red;
}

.overimage-left {
    position: relative;
    top: 7%;
    left: 80%;
    transform: translate(-7%, -80%);
}
*/

.h5 { Font-size: calc(0.5rem + 5vmin); }
.h4 { Font-size: calc(0.5rem + 4vmin); }
.h3 { Font-size: calc(0.5rem + 3vmin); }
.h2 { Font-size: calc(0.5rem + 2vmin); }
.h15{ Font-size: calc(0.5rem + 1.5vmin); }
.h12{ Font-size: calc(0.5rem + 1.2vmin); }
.h1 { Font-size: calc(0.5rem + 1vmin); }
.h08 { Font-size: calc(0.5rem + 0.8vmin); }
.h05 { Font-size: calc(0.5rem + 0.5vmin); }

.title-caption { text-decoration: none; color: #000; }
.sub-caption-white { text-decoration: none; color: #FFFFFF; }
.sub-caption-lightgrey { text-decoration: none; color: #c0c0c0; }
.sub-caption-darkgrey { text-decoration: none; color: #666; }
.sub-caption-orange { text-decoration: none; color: #FD5D14; } 
.sub-caption-blu { text-decoration: none; color: #6889bb; }

/* link */
a { text-decoration: none; color: #FD5D14 }
a:hover { color: #b8c164 }

.colorbtnclose .colorbtnclose:hover { text-decoration: none; color: #000 }

.hline08 {line-height: 0.8;}
.hline1 {line-height: 1;}
.hline12 {line-height: 1.2;}
.hline15 {line-height: 1.5;}
.hline2 {line-height: 2;}
.hline3 {line-height: 3;}
.hline4 {line-height: 4;}

.text-justify { text-align: justify;}
.text-right { text-align: right; }
.text-left { text-align: left; }
.text-center { text-align: center; }

.align-center { align-items:center }
.align-right { align-items:right }
.align-left { align-items:left }
.align-justify { align-items:justify }

.aleft { align:left }

.bg-grey { background-color: #F4F6F8 }
.bg-darkgrey { background-color: #3a3f45 }
.bg-white { background-color:#FFFFFF }
.bg-red { background-color:#FF0000 }
.bg-pink { background-color:#ffe4e1 }
.bg-orange { background-color:#FD5D14 }
.bg-blu { background-color:#6889bb }
.bg-black { background-color: #000000 }
.bg-violet { background-color: #B1BFF1 }
.bg-azzurro { background-color:#8cb6d1 }
.bg-footer { background-color:#222222 } 
.bg-vmenu { background-color:#383838 }
.bg-green { background-color:#b8c164 }

.smoothed {
  -webkit-font-smoothing: antialiased;
//  -moz-osx-font-smoothing: grayscale;
}

.color-white { color: #ffffff }
.color-darkwhite { color: #FDFCFC }
.color-vmenu { color: #383838 }
.color-orange { color: #FD5D14 }
.color-red { color:#FF0000 }
.color-grey { color:#F4F6F8 }
.color-black { color:#000000 }
.color-darkgrey { color:#3a3f45 }
.color-blu { color:#6889bb }
.color-green { color: #b8c164 }
.color-green-wa {color: #25D366}

.pad-top1 { padding-top: 1em; }
.pad-top2 { padding-top: 2em; }
.pad-top25 { padding-top: 2.5em; }
.pad-top3 { padding-top: 3em; }
.pad-top4 { padding-top: 4em; }

.pad-bot1 { padding-bottom: 1em; }
.pad-bot2 { padding-bottom: 2em; }
.pad-bot3 { padding-bottom: 3em; }
.pad-bot4 { padding-bottom: 4em; }

.pad05 { padding: 0.5em; }
.pad1 { padding: 1em; }
.pad2 { padding: 2em; }
.pad3 { padding: 3em; }
.pad4 { padding: 4em; }

.pad-left05 { padding-left: 0.5em; }
.pad-left1 { padding-left: 1em; }
.pad-left12 { padding-left: 1.2em; }
.pad-left15 { padding-left: 1.5em; }
.pad-left2 { padding-left: 2em; }
.pad-left3 { padding-left: 3em; }
.pad-left4 { padding-left: 4em; }

.pad-right1 { padding-right: 1em; }
.pad-right2 { padding-right: 2em; }
.pad-right25 { padding-right: 2.5em; }
.pad-right3 { padding-right: 3em; }
.pad-right4 { padding-right: 4em; }

.mar-top05 { margin-top: 0.5em; }
.mar-top1 { margin-top: 1em; }
.mar-top2 { margin-top: 2em; }
.mar-top3 { margin-top: 3em; }
.mar-top4 { margin-top: 4em; }

.mar-bot1 { margin-bottom: 1em; }
.mar-bot2 { margin-bottom: 2em; }
.mar-bot3 { margin-bottom: 3em; }
.mar-bot4 { margin-bottom: 4em; }

.mar-bot-1 { margin-bottom: -1em; }
.mar-bot-2 { margin-bottom: -2em; }
.mar-bot-3 { margin-bottom: -3em; }
.mar-bot-4 { margin-bottom: -4em; }

.mar-left1 { margin-left: 1em; }
.mar-left2 { margin-left: 2em; }
.mar-left3 { margin-left: 3em; }
.mar-left4 { margin-left: 4em; }

.mar-left-1 { margin-left: -1rem;}
.mar-left-2 { margin-left: -2rem;}
.mar-left-3 { margin-left: -3rem;}
.mar-left-4 { margin-left: -4rem;}

.mar-top-left { margin: 2em 0 0 2em; }
.mar-top-right { margin: 2em 0 0 0; }

.h-100{height:100%}
.w-100{width:100%}

.title { color: #717171; font-weight: 700;}
.title-normal { color: #717171; font-weight: normal;}
/* colore scelto per tutto */
.title-evid { color: #6889bb; font-weight: 700; }
/* arancio */
.title-evid-arancio { color: #FD5D14; font-weight: 700; }
/* blu */
.title-evid-blu { color: #6889bb; font-weight: 700; }
/* azzurro */
.title-evid-azzurro { color: #8cb6d1; font-weight: 700; }
/* viola */
.title-evid-viola { color: #bb86a8; font-weight: 700; }
/* giallo scuro */
.title-evid-giallo-scuro { color: #fcbb4f; font-weight: 700; }
/* giallo chiaro */
.title-evid-giallo-chiaro { color: #f0cc94; font-weight: 700; }
/* verde */
.title-evid-verde { color: #b8c164; font-weight: 700; }

.title-normal-white { color: #FFFFFF; font-weight: normal;}
.title-white { color: #FFFFFF; font-weight: 700;}

.box-shadow-white { box-shadow: 5px 10px 18px #FFFFFF; }

.no-decor { text-decoration: none; }

.text-uppercase { text-transform: uppercase; }


/* INIZIO PARTE DI POPUP */

    .popup-btn {
      color:#FD5D14; 
//      font-size:1em;
//      font-style:900; 
      border-color:white; 
      border-style:none; 
      background-color: transparent;    
    }

    .popup-btn:hover {
      background-color: #b8c164 ;
      cursor: pointer;
    }

    .popup-overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background-color: rgba(0, 0, 0, 0.9);
      display: none;
      justify-content: center;
      align-items: top;
      z-index: 999;
    }

    .popup-content {
      width: 35%;
      padding-top: 7.5em;
//      overflow-y: auto; 
    }


 /* INIZIO esempio 1 per zoom immagine*/
    .zoom {
      overflow: hidden;       /* Evita che l'immagine esca dal box */
      display: inline-block;  /* Cosė si adatta all'immagine */
      border-radius: 8px;     /* opzionale, per angoli arrotondati */
    }
    
    .zoom img {
      transition: transform 0.5s ease; /* Animazione fluida */
    }
    
    .zoom:hover img {
      transform: scale(1.2); /* Zoom 120% */
    }
 /* FINE esempio 1 per zoom immagine*/
 
    .close-popup-btn {
      margin-top: 15px;
      padding: 10px 20px;
      background-color: #717171;
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
    }

    .close-popup-btn:hover {
      background-color: #b8c164 ;
    }

@media (max-width: 1400px) {

   .popup-content {
      width: 45%;
      padding-top:10em;
   }   
} 

@media (max-width: 1200px) {

   .popup-content {
      width: 55%;
      padding-top:10em;
   }   
} 

@media (max-width: 900px) {

   .popup-content {
      width: 90%;
      padding-top:10em;
   }   
} 



/* FINE PARTE DI POPUP */








/* inizio sezione storta */
.sez-tecnologia {
  margin-top: 50px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
  background-color:#6889bb;
//  background: linear-gradient(rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.95)), url("https://s20.postimg.org/kiga8zlv1/keyboard-886462_1280.jpg");
  background-size: cover;
  background-position: center bottom;
  color: whitesmoke;
}
.sez-tecnologia span {
  position: relative;
  display: block;
  padding: 25px 10% 75px 10%;
  box-sizing: border-box;
  color: whitesmoke;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}
.sez-tecnologia .profileImg {
  height: 150px;
  width: 150px;
  border-radius: 50%;
  background: lightblue;
}

.sez-tecnologia:before {
  content: "";
  background: white;
  height: 80px;
  transform: skewY(-2deg);
  position: absolute;
  left: 0;
  right: 0;
  top: -50px;
  z-index: 1;
}

.sez-tecnologia:after {
  content: "";
  background: white;
  height: 80px;
  transform: skewY(2deg);
  position: absolute;
  left: 0;
  right: 0;
  bottom: -50px;
}
/* fine sezione storta */






hr.orange-3 {  
  border: 3px solid #FD5D14;
  border-radius: 3px;
  width: 30%;
}

hr.black-3 {  
  border: 3px solid #000000;
  border-radius: 3px;
  width: 30%;
}

hr.grey-3 {  
  border: 3px solid #717171;
  border-radius: 3px;
  width: 30%;
}

.hr-color {
  height:5px; 
  width:30px; 
  border-width:0; 
}

.hr-color-lunga {
  height:5px; 
  width:150px; 
  border-width:0; 
}

.hr-color-tot {
  height:5px; 
  border-width:0; 
}

.hr-color-blu {
  height:2px; 
  width:100%; 
  border-width:0;
}

.hr-footer {
  height:3px; 
  width:30px; 
  border-width:0; 
//  color:#FDFCFC; 
//  background-color:white;
}

.dot {
  height: 12px;
  width: 12px;
  background-color: #6889bb;
  border-radius: 50%;
  display: inline-block;
}

.dot-blu {
  height: 9px;
  width: 9px;
  background-color: #6889bb;
  border-radius: 50%;
  display: inline-block;
}

.dot-grey {
  height: 9px;
  width: 9px;
  background-color: #717171;
  border-radius: 50%;
  display: inline-block;
}

.dot-white {
  height: 9px;
  width: 9px;
  background-color: #ffffff;
  border-radius: 50%;
  display: inline-block;
}

.dot-black {
  height: 9px;
  width: 9px;
  background-color: #000000;
  border-radius: 50%;
  display: inline-block;
}

.contorno-img {
    width:100%; 
    border:3px solid #FD5D14;
}

.overcaption {
    position: relative;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -70%);
    background: #FFF;
    width: 70%;
    text-align: center;
    box-shadow: 2px 2px lightgrey;    
//    padding-top: 2px;
    padding: 16px;
}

.overcircle {
    margin-top: -50px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
}

.overcircle-long {
    margin-top: -90px;
    margin-left: 80%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
}

.overcircle-left {
    margin-left: 0;
    margin-top: -50px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
}

.overcircle-80 {
    margin-top: -40px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
}

.bordercircle {
    border-bottom: 5px solid #6889bb; 
    padding-bottom:6px;
}

. borderbottomcolor {
    border-bottom: 3px solid #6889bb; 
    padding-bottom:4px;
}

.img-shape {
    float: left;
    clip-path: circle(40%);
    shape-outside: circle(45%);
}

.display-flex { display:flex }
.flex-direction { flex-direction:column }

.page-header {
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
//    background: linear-gradient(rgba(4, 15, 40, .7), rgba(4, 15, 40, .7)), url(../img/carousel-1.jpg) center center no-repeat;
//    background-size: cover;
}

/*
.downcaption {
    position: relative;
    bottom: 16%;
    left: 50%;
    transform: translate(-50%, 0);
    background: #FF0;
    width: 100%;
    text-align: center;
//    box-shadow: 2px 2px lightgrey;    
//    padding-top: 2px;
    padding: 50px 16px 16px 16px;
}
*/

div.polaroid {
//  background-color: white;
  margin-bottom: 5%;
}

div.polaroid-nocolor {
  background-color: transparent;
}

div.polaroid-grey {
  background-color: #F4F6F8;
}

.polaroid-style {
  border: 10px solid;
  border-image-slice: 1;
  border-width: 5px;
  border-image-source: linear-gradient(to bottom right, #6889bb, #F4F6F8, #6889bb);
  border-right:0;
  border-bottom:0;
  padding: 2px;
}

div.container {
  text-align: center;
  padding: 10px 20px;
}

div.container-lf {
  text-align: left;
  padding: 10px 20px;
}

div.container-nopad {
  text-align: center;
//  padding: 0 20px;
}

div.container20 {
  text-align: center;
  padding: 20px 10px 30px 10px;
}

div.container-left {
  text-align: left;
  padding: 20px 10px 30px 10px;
}

.bg-dark-radial {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) 1px, transparent 1px, transparent 100%);
    background-size: 3px 3px;
}





/*
.bg-dark-radial-orange {
    background-image: -webkit-repeating-radial-gradient(center center, rgba(253, 93, 20, 0.3), rgba(253, 93, 20, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(253, 93, 20, 0.3), rgba(253, 93, 20, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(253, 93, 20, 0.3), rgba(253, 93, 20, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: -o-repeating-radial-gradient(center center, rgba(253, 93, 20, 0.3), rgba(253, 93, 20, 0.3) 1px, transparent 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(253, 93, 20, 0.3), rgba(253, 93, 20, 0.3) 1px, transparent 1px, transparent 100%);
    background-size: 3px 3px;
}
*/

/* BUTTON */
:root {
  --primary-light: #8abdff;
//  --primary: #FD5D14; //#6d5dfc;
  --primary: #6889bb;
  --primary-dark: #5b0eeb;
  --white: #FFFFFF;
  --greyLight-1: #E4EBF5;
  --greyLight-2: #c8d0e7;
  --greyLight-3: #bec8e4;
  --greyDark: #9baacf;
}
.btn {
  width: 16em;
  padding: 1em 2em;
  border-radius: 1rem;
  box-shadow: 0.3rem 0.3rem 0.6rem var(--greyDark), -0.2rem -0.2rem 0.5rem var(--white);
  cursor: pointer;
  transition: 0.3s ease;
  border:none;
  font-size: 16px;
  margin: 1em;
}
.btn__secondary {
  color: var(--greyDark);
}
.btn__secondary:hover {
  color: var(--primary);
}
.btn__secondary:active {
  box-shadow: inset 0.2rem 0.2rem 0.5rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

.btn__primary {
  color: var(--primary);
}
.btn__primary:hover {
  color: var(--primary);
}
.btn__primary:active {
  box-shadow: inset 0.2rem 0.2rem 0.5rem var(--primary-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}


.btn-position {
  display: flex; 
}
/* FINE BUTTON */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
//    margin: 0;
//    padding: 0;
    box-sizing: border-box;
//    font-family: "Poppins", sans-serif;
      font-family: "Roboto", Sans-serif;
}

body {
    min-height: 100vh;
    width: 100%;
    background: #ffffff;
}

footer {
    position: relative;
    background: #6889bb;
    width: 100%;
    bottom: 0;
    left: 0;
}

footer .content {
    max-width: 1250px;
    margin: auto;
    padding: 30px 40px 40px 40px;
}

footer .content .link-boxes {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

footer .link-boxes .box {
    width: calc(100% / 2 - 10px);
    padding: 5px;
//    background-color: red; 
}

.content .link-boxes .box .link_name {
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    position: relative;
}

.link-boxes .box .link_name::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 35px;
    background: #fff;
}

.content .link-boxes .box li {
    margin: 6px 0;
    list-style: none;
}

.content .link-boxes .box li a {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.4s ease;
}

.content .link-boxes .box li a:hover {
    opacity: 1;
    text-decoration: underline;
}

.content .link-boxes .input-box {
    margin-right: 55px;
}

footer .bottom-details {
    width: 100%;
//    background: #717171;
    background: #171717;
    color: #717171;    
}

footer .bottom-details .bottom_text {
//    max-width: 1250px;
//    margin: auto;
    padding: 20px 40px;
//    display: flex;
//    justify-content: space-between;
    text-align:center;
}

.bottom-details .bottom_text span,
.bottom-details .bottom_text a {
    font-size: 14px;
    font-weight: 300;
    color: #fff;
    opacity: 0.8;
    text-decoration: none;
}

.bottom-details .bottom_text a:hover {
    opacity: 1;
    text-decoration: underline;
}

.bottom-details .bottom_text a {
    margin-right: 10px;
}

.grid-container-1 {
//        background-color: violet;
}

@media (max-width: 900px) {

/* faccio apparire l'hamburger */
    .ham-btn {
        display: flex;
    }
    
    /* fa sparire il menų orizzontale */
    .menu {
        display: none;
    }    

    footer .content .link-boxes {
        flex-wrap: wrap;
    }

    footer .content .link-boxes .input-box {
        width: 40%;
        margin-top: 10px;
    }

/* inizio SISTEMARE LE GRID PER SMARTPHONE */
.grid-container-1 {
    display: grid;
    grid-template-columns: 100%;
//    padding: 10px;
//        background-color: pink;
}
.grid-container-2 {
    display: grid;
    grid-template-columns: 50% 50%;
    padding: 10px;
}
.grid-container-2-nobordi {
    display: grid;
    grid-template-columns: 50% 50%;
}
.grid-container-3 {
    display: grid;
    grid-template-columns: 50% 50%;
//    padding: 10px;
}

.grid-container-30 {
    display: grid;
    grid-template-columns: 100%;
//    padding: 10px;
}

.grid-container-2-1 {
    display: grid;
    grid-template-columns: 50% 50%;
//    padding: 10px;
}
.grid-container-4 {
    display: grid;
    grid-template-columns: 50% 50%;
    padding: 10px;
}
.grid-container-5 {
    display: grid;
    grid-template-columns: 33% 33% 33%;
    padding: 10px;
}

.grid-item {
    padding: 20px;
    font-size: 12px;
//    font-weight: bold;
    font-weight: 400;
//    text-align: justify;
}
.grid-item-nobordi {
    padding: 20px;
    font-size: 12px;
//    font-weight: bold;
    font-weight: 400;
//    text-align: justify;
}
.padding-nobordi {
    padding:8em 4em;
}
/* fine SISTEMARE LE GRID PER SMARTPHONE */


}

@media (max-width: 700px) {

.grid-container-1 {
//        background-color: green;
}

    .ham-btn {
        display: flex;
    }

/* fa sparire il menų spostandolo al di sopra della schermata per la sua interezza (-100%) */
    .menu {
        display: none;
        /*
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
        position: fixed;
        top: 0;
        left:0;
        width: 100%;
        z-index: 1000; /* Ensure the menu is above other content */
      /*  background-color: #f9f9f9; /* Based on your menu's background color */
    }

    .menu.active {
        display: none;
        /*
        transform: translateY(0);
        display: flex;
        flex-direction: column;
        opacity: 0.9;
        top: 100px; */
    }

    .menu li {
        width: 100%;
        text-align: center;
    }

    .dropdown:hover .dropdown-content {
        margin: 0px 100px;
        background-color:#ffffff;
        width: 50%;
        left:10%;
    }

    footer {
        position: relative;
    }

    .content .top .logo-details {
        font-size: 26px;
    }

    .content .top .media-icons a {
        height: 35px;
        width: 35px;
        font-size: 14px;
        line-height: 35px;
    }

    footer .content .link-boxes .box {
        width: calc(100% / 3 - 10px);
    }

    footer .content .link-boxes .input-box {
        width: 60%;
    }

    .bottom-details .bottom_text span,
    .bottom-details .bottom_text a {
        font-size: 12px;
    }
.h2 { Font-size: calc(0.5rem + 1.5vmin); }

}

@media (max-width: 520px) {

#checkris { display: none; }

.h12{ Font-size: calc(0.5rem + 2vmin); }

    .header {
        flex-wrap: wrap;
        position: fixed;
        top: 0;
        width: 100%;
        background-color: transparent;
        padding: 0px;
    }
    .logo {
        padding: 10px 20px;
        width: 100%;
        background-color: white;
    }
    .menu {
        opacity: 0.9;
        top: 0;
        align-self: center;
        background-color: #f9f9f9;
        justify-self: center;
    }

    .dropdown:hover .dropdown-content {
        margin: 0px 100px;
        background-color:#ffffff;
        width: 50%;
        left:5%;
    }

    footer::before {
        top: 145px;
    }

    footer .content .top {
        flex-direction: row;
    }

    .content .top .media-icons {
        margin-top: 16px;
    }

    footer .content .link-boxes {
        gap: 20px;
        flex-direction: column;
    }

    footer .content .link-boxes .box {
        width: 100%;
    }

    footer .bottom-details .bottom_text {
        gap: 10px;
        flex-direction: column;
    }

    footer .content .link-boxes .input-box {
        width: 100%;
    }


/* inizio SISTEMARE LE GRID PER SMARTPHONE */
.grid-container-1 {
    display: grid;
    grid-template-columns: 100%;
//    padding: 10px;
//        background-color: red;
}
.grid-container-2 {
    display: grid;
    grid-template-columns: 100%;
    padding: 10px;
}
.grid-container-2-nobordi {
    display: grid;
    grid-template-columns: 100%;
}
.grid-container-3 {
    display: grid;
    grid-template-columns: 100%;
//    padding: 10px;
}
.grid-container-30 {
    display: grid;
    grid-template-columns: 100%;
//    padding: 10px;
}
.grid-container-2-1 {
    display: grid;
    grid-template-columns: 100%;
//    padding: 10px;
}
.grid-container-4 {
    display: grid;
    grid-template-columns: 100%;
    padding: 10px;
}
.grid-container-5 {
    display: grid;
    grid-template-columns: 50% 50%;
    padding: 10px;
}
.grid-item {
    padding: 10px 20px 0px 20px;
    font-size: 12px;
//    font-weight: bold;
    font-weight: 400;
//    text-align: justify;
}
.grid-item-nobordi {
    padding: 20px;
    font-size: 12px;
//    font-weight: bold;
    font-weight: 400;
//    text-align: justify;
}
.padding-nobordi {
    padding:4em 2em;
}
/* fine SISTEMARE LE GRID PER SMARTPHONE */

.h08 { Font-size: calc(0.5rem + 1.5vmin); }
.h1 { Font-size: calc(0.5rem + 1.5vmin); }
.h2 { Font-size: calc(0.5rem + 1.5vmin); }

.pad-left3 { padding-left: 0em; }
.pad-bot2 { padding-bottom: 1em; }
.pad-bot4 { padding-bottom: 2em; }
}

@media (max-width: 420px) {

#checkris { display: none; }

    .dropdown:hover .dropdown-content {
        margin: 0px 50px;
    }
    
    .h2 { Font-size: calc(0.5rem + 1.5vmin); }

    .grid-container-1 {    
//        background-color: black;
     }    
}


