@charset "utf-8";
/* CSS Document */



body {
    max-width: 100%;
    margin: 0 ; 
}

.flex{   
    display: flex; 
    justify-content: center; 
    align-items: center;
}


.img-fluid{
  border:none;   
  margin-top: 10px;
  width: auto;

}


main {
  display: block;   
  max-width: 1200px;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  padding-bottom: 25px;
  background:rgba(253,253,253,1.00);
  color: #333;
  border-radius: 30px;
  border: thin solid #DDF721;
  box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
  height: auto;
}

.grid-container {
  display: grid;
  font-size: 1.1rem;
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #1F175C;
  grid-template-columns: auto;
}

/* Style the navigation menu */
.navbar {
  width: 100%;
  background-color: white;
}

/* Navigation links */
.navbar a {
    float: left;
    font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
    color: rgba(46,4,255,1.00);
    text-decoration: none;
    font-size: 1.6rem;
    width: 16%; /* Four equal-width links. If you have two links, use 50%, and 33.33% for three links, etc.. */
    text-align: left; /* If you want the text to be centered */
    font-weight: bold;
}


.item1 {
    grid-area: 1 / 1 /span 1 / span 1;
    padding: 40px;
    width: 500px;
    margin-top: 30px;
    margin-left: 50px;
    background-color: rgba(253,253,253,1.00);
}

.item2 {
    grid-area: 2 / 1 /span 1 / span 1;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 20px;
    padding-top: 25px;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    width: 1050px;
    background-color: rgba(253,253,253,1.00);
    border-radius: 30px;
    height: auto;
  }

.item3 {
    grid-area: 3 / 1 /span 1 / span 1;
    padding-top: 0px;
    padding-bottom: 25px;
    padding-right: 20px;
    padding-left: 20px;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    width: 1050px;
    background-color: rgba(253,253,253,1.00);
    border-radius: 30px;
    border: thin solid #DDF721;
    box-shadow: -10px 0px 13px -7px #000000, 10px 0px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
    height: auto;
    text-align: center;
  }

   @media only screen and (max-width: 1160px ) and (orientation:landscape) {
  .item1 { grid-area: 1 / 1 ; width: 80%; }
  .item2 { grid-area:2/ 1; width: auto;  margin-right: 0px;  float: left; }
  .item3 { grid-area: 3 / 1 ; width: auto; margin-left: 0; }
   .main { padding-left: 0px; padding-right: 0px; width: auto; }
   .img-fluid {width: 80%; justify-content: center;}
   .flex {width: 350px; margin-left: auto; margin-right: auto;}
    } 

@media only screen and (max-width: 550px) {
 .item1 { grid-area: 1 / 1 ; width: auto; }
 .item2 { grid-area: 2 / 1 ; width: auto; }
 .item3 { grid-area: 3 / 1 ; width: auto; }
 .img-fluid {width: 80%;}

  }

/* =Hoverbox Code
----------------------------------------------------------------------*/

.hoverbox {
	list-style: none;
}

.hoverbox a {
	cursor: default;
}

.hoverbox a .preview {
	display: none;
}

.li-first a:hover img{
  -webkit-transition: all linear.5;
  
  z-index: 2000;
}
.hoverbox a:hover .preview {
	display: block;
	position: absolute;
	top: -33px;
	left: -70px;
	z-index: 1;
}

.hoverbox img {
	background: #fff;
	border:1px solid #ddd;
	color: inherit;
	padding: 2px;
	vertical-align: top;
	width: 100px;
	height: 82px;
}

.hoverbox li {
	background: #eee;
	border:1px solid #ccc;
	color: inherit;
	display: inline;
	float: left;
	margin: 3px;
	padding: 5px;
	position: relative;
}

.hoverbox .preview {
	width: 350px;
	height: 287px;
}

/* Responsive layout - makes a one column-layout instead of two-column layout */

/* Use a media query to add a breakpoint at 800px: */
@media screen and (max-width: 800px) {
  .left, .main, .right {
    width: 90%; /* The width is 100%, when the viewport is 800px or smaller */
  }


 }