 body {
 background-image: url(../Loghi/back.gif);
 margin: auto;
 max-width: 1000px;
 font-family: Comic sans Ms;
 font-size: 16px;
 text-align: center;
}

@font-face {
font-family: Comic sans Ms;
src: url(../Comic_sans_Ms/ComicSansMS3.ttf);
}


a {
text-decoration: none;
color: darkred;
}
 h1 {
 text-align: center;
 color: red;
}

 h2 {
 text-align: center;
 color: red;

}
 p {
 text-align: left;
}

 .p1 {
 font-size: 12px;
 text-align: center;
}

 .p2 {
 font-family: Sofia;
 font-size: 15px;
 text-align: center;
}

@media screen and (max-width: 480px) {
  img {
   min-width: 100%;
  }
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

 #div1 {
 background-image: url(../Accessori/sfondo4.jpg);
 border-style: double;
 border-width: 5px;
 border-color: gray;
 border-radius: 10px;
 margin: 10px 10px;
 padding: 10px;
}

div.sticky {
 top: 0;
 background-color: tomato;
 border-style: double;
 border-width: 1px;
 border-color: red;
 border-radius: 5px;
 margin: 2px 2x;
 padding: 2px;
} 
* {
  box-sizing: border-box;
}

.box1 {
  float: left;
  width: 50%;
  padding: 10px;
}

.box2 {
  float: left;
  width: 33%;
  padding: 25px;
}

.box3 {
  float: left;
  width: 25%;
  padding: 10px; 
  font-size: 16px;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
  
* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  border-style: double;
  border-width: 6px;
  border-radius: 10px;
  border-color: white;
  background-image: url(../Accessori/sfondo4.jpg);
}

/* Hide the images by default */
.mySlides {
  display: none;
  img {vertical-align: middle;}
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
    
/* Position the "prev button" to the left */
.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
 .container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
}

/* Then style the iframe to fit in the container div with full height and width */
.responsive-iframe {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
 div.log {
  max-width: 964px;
  background-image: url(CostaGargano.jpeg);
  background-size: cover;
  padding:15px;
  border: 3px solid #4CAF50;
} 

footer {
max-width:  width: 1000px;
bottom: 0;
left: 0;
text-align: left;
border-style: solid;
border-width: 5px;
border-color: gray;
border-radius: 4px;
background-image: url(../Immagini/footer-image02.png);
background-size: cover; 
font-size: 12px;
color: black;
}

footer .content{
  max-width: 1000px;
  margin: auto;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
footer .content p,a{
  color: black;
 
}
footer .content .box{
  width: 33%;
  transition: all 0.4s ease;
}
footer .content .topic{
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  color: black;
  margin-bottom: 16px;

}
footer .content p{
  text-align: center;
}
footer .content .lower .topic{
  margin: 24px 0 5px 0;
}
footer .content .lower i{
  padding-right: 16px;
}
footer .content .middle{
  padding: 30px;
  text-align: center;
}
footer .content .middle a{
  line-height: 32px;
}
footer .content .right input[type="text"]{
  height: 45px;
  width: 100%;
  outline: none;
  color: #d9d9d9;
  background: #000;
  border-radius: 5px;
  padding-left: 10px;
  font-size: 17px;
  border: 2px solid #222222;
}
footer .content .right input[type="submit"]{
  height: 42px;
  width: 100%;
  font-size: 18px;
  color: #d9d9d9;
  background: #eb2f06;
  outline: none;
  border-radius: 5px;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 12px;
  border: 2px solid #eb2f06;
  transition: all 0.3s ease-in-out;
}
.content .right input[type="submit"]:hover{
  background: none;
  color:  #eb2f06;
}
footer .content .media-icons a{
  font-size: 16px;
  height: 45px;
  width: 45px;
  display: inline-block;
  text-align: center;
  line-height: 43px;
  border-radius: 5px;
  border: 2px solid #222222;
  margin: 30px 5px 0 0;
  transition: all 0.3s ease;
}
.content .media-icons a:hover{
  border-color: #eb2f06;
}
footer .bottom{
  width: 100%;
  text-align: center;
  color: black;
  padding: 0 10px 5px 0;
}
footer .bottom a{
  color: darkgreen;
}
footer a{
  transition: all 0.3s ease;
}
footer a:hover{
  color: #eb2f06;
}
@media (max-width:1000px) {
  footer .content .middle{
    padding-left: 50px;
  }
}
@media (max-width:800px){
  footer .content .box{
    width: 50%;
  }
  .content .right{
    margin-top: 40px;
  }
}
@media (max-width:500px){
  footer{
    position: relative;
  }
  footer .content .box{
    width: 100%;
    margin-top: 30px;
  }
  footer .content .middle{
    padding-left: 20;
  }
}

  .img3 {
  width: 300px;
  height: 500px;
  object-fit: contain;
}