* {box-sizing: border-box}

body {font-family: 'Arial', Helvetica, sans-serif;
margin:0;
padding:0;
font-size: clamp(1rem, 2vw, 1.25rem);
background-color:black;
height: 100vh;}


:root{
    --white: #ffffff;
    --black: #000000;
    --azure: #c9ecff;
    --blue: #3a1faa;
    --yellow: #e2f200;
    --green: #30e70c;
    --red: #f20070;
    --grey: #e2e2e2;
    --pearl: #fff8f2;
    --orange: #ffa25d;
}


.main {max-width: 750px;
margin:auto;}

.header {
     overflow: hidden;
    background-color:var(--white);
  top: 0;
  width: 100%;
    
}

h1 {
    font-family: 'Arial', Helvetica, sans-serif;
    letter-spacing: 5px;
  text-align: center;
  color: var(--black);
    font-size:5vw;
    text-shadow: -1px 0 var(--grey), 0 1px var(--grey), 1px 0 var(--grey), 0 -1px var(--black), -1px 1px var(--black), -2px 2px var(--black);
}

@media screen and (max-width: 600px) {
  h1 {
    font-size:25px;
}
}
   

/* Navbar */

ul {
  list-style-type: none;
  margin: 50px;
  padding: 0;
  background-color: #000000;
  display: flex;
  justify-content: center;
    flex-wrap:wrap;
}

ul li a {
  color: var(--green);
  padding: 14px 16px;
  text-decoration: none;
 display:inline-block;
  flex: auto;
  overflow:hidden;
  position:relative;
}

ul li a:hover {
  color: var(--red);
    text-decoration:overline;
}

/* CENTRARE TESTO NEL BOX */
.container p {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%);
    line-height: 1.5;
}

/* img */

img {
    max-width: 100%;
    height: auto;
}

.center img {
  display: block;
  margin-left: auto;
  margin-right: auto;     
}



/* footer */
.footer {
   height:100px;
    width: 100%;
   left: 0;
   bottom: 0;
    margin-top: 50px;
    display: flex;
    align-items:center;
    justify-content: center;
   color: var(--pearl);
   text-align: center;
    font-size: clamp(0.5rem, 1vw, 1.05rem);
    padding:5px;
}

/* COMIC con tante caselle*/
.comiccomic {
  display:flex;
justify-content: center
  flex-wrap:wrap;
  font-family:'Arial', Helvetica, sans-serif;
    margin-top:1vmin;
  padding:1vmin;
grid-row-gap: 2vmin;
grid-column-gap: 2vmin;
}

/* COMIC */
 .comic {display: flex;
    flex-direction: column;
     flex-wrap: nowrap;
     justify-content: center;
  height: 50;           /* height: 100vh;Esempio: altezza piena della viewport */
     width: 100%;}

.panel {
  background-color:#0000;
  border:solid 2px #ffffff;
  box-shadow:0 6px 6px -6px #000;
  display:inline-block;
  flex: auto;
  height:300px;
  margin:1vmin;
  overflow:hidden;
  position:relative;
}

.pannello {
    background-color:#0000;
  border:solid 2px #ffffff;
  box-shadow:0 6px 6px -6px #000;
  display:inline-block;
  flex: auto;
  height:200px;
  margin:1vmin;
  overflow:hidden;
  position:relative;

}
.testo {
  background-color:var(--red);
    color:white;
  border:solid 3px #000;
  margin:0;
  padding:3px 10px;
}

.top-left {
  left:-6px;
  position:absolute;
  top:-2px;
  transform:skew(-15deg);
}

.top-right {
  right:-6px;
  position:absolute;
  top:-2px;
  transform:skew(-15deg);
}

.top-centered {
  top:-2px;
  position:absolute;
  left:-6px;
right:-6px;
    text-align:center;
}

.bottom-right {
  bottom:-2px;
  position:absolute;
  right:-6px;
  transform:skew(-15deg);
}

.bottom-left {
  bottom:-2px;
  position:absolute;
  left:-6px;
  transform:skew(-15deg);
}

.bottom-centered {
  bottom:-2px;
  position:absolute;
  left:-6px;
right:-6px;
    text-align:center;
}


.imgBx img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.imgBox img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .imgBx {
    position: relative;
    width: 100%;
    height: 100%;
  }}
/* END of COMIC */

