*{box-sizing: border-box;}
:root{
  --primaryColor:cadetblue;
  --primaryColorDark:khaki;
  --secondaryColor:#555;
}
body{
  background-color: var(--primaryColor);
}
.top_animation{
  margin: auto;
  margin-left:45%;
  animation-name: moveL;
  animation-duration: 1s;
  margin-top: 0px;
  padding-top:0.1px;
}
@keyframes zoom{
  0%{transform: scale(0,0);}
  100%{transform: scale(1,1);}
}
@keyframes moveL{
  from{transform: translateX(500px);}
  to{transform: translateX(0px);}
}
@keyframes slide_animation{
  0%{margin-left:0%;}
  50%{margin-left:-100%;}
  100%{margin-left:-200%;}
}
/*-----------------------------------LOCAL NAVIGATION*/
.linkTop{
  font-size: 1.8em;
  text-decoration: none;
  display:block;
  margin: -8px;
}
.toTop{
  width: 50px;
  height: 50px;
  border-radius:50%;
  background-color: rgba(50,50,50,0.3);
  position: fixed;
  bottom: 15px;
  right: 15px;
  padding: 13px;
  display:none;
}
.toTop:hover{
  box-shadow:0px 0px 10px 3px #555;
  background-color: rgb(10,10,10,0.5);
}
/* --- Desktop View (Full Screen) 1024x600 --- */
@media only screen and (min-width: 1024px) {
/*-----------------------------------NAVIGATION BAR*/
  .top_animation{
    width: 20%;
  }
  .logo{
    float: left;
    width: 90px;
    margin-left: 40%;
    animation: zoom 1s ease-out 1;
  }

  .navbar {
    width: 60%;
    background-color: var(--secondaryColor);
    overflow: auto;
    margin-left: 20%;
  }
  .navbar a {
    float: left;

    padding: 2%;
    color: white;
    text-decoration: none;
    font-size: 17px;
    margin-left: 7%;
  }
  .navbar a:hover {
    background-color: #000;
  }
  .active {
    background-color: #04AA6D;
  }
  /*----------------------------------------SLIDESHOW*/
  .slidewrapper img{
    max-width: 100%;
    max-height: 100%;
  }
  .slidewrapper{
    width: 300%;
    height: 100%;
    animation: slide_animation 10s infinite;
  }
  .slideshow{
    width: 100%;
    height:100%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
  }
  .slide1, .slide2, .slide3{
    width:33.3%;
    height:100%;
    float:left;
  }

  /*----------------------------------------SUBHEADER*/
  .subheader{
    font-size: 1.5em;
    margin-left: 43.5%;
  }
  /*----------------------------------------SALES*/
  .bothimg img{
    width: 33%;
    padding-top: 15px;
    padding-left: 1%;
  }
  /*----------------------------------------INFO1*/
  .info1{
    text-align: center;
    margin-top: auto;
    margin-left: 7%;
    width:20%;
    float: left;
  }
  .info2{
    text-align: center;
    margin-top: auto;
    margin-left: 13%;
    width:20%;
    float: left;
  }
  .info3{
    text-align: center;
    margin-top: auto;
    margin-left: 15%;
    width:20%;
    float: left;
  }
  .new{
    color: blue;
    font-weight: bold;
  }
  .infoitem{
    color: white;
    font-size: 0.8em;
  }
  .add{
    background-color: lightgray;
    text-decoration: none;
    padding: 10px 20px;
    color: purple;
  }
  .add:hover{
    background-color: darkgray;
    color: green;
    box-shadow: 0px 0px 5px 1px purple;
  }
  .modalmain{
    background-color: rgb(150,150,150,0.5);
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    opacity: 0;
    pointer-events: none;
  }
  .modalmain:target{
    opacity: 1;
    pointer-events: auto;
    transition: ease-in 0.5s;
  }
  .modal1content{
    width: 600px;
    height: 550px;
    background-color: white;
    margin: auto;
    margin-top: 150px;
    position: relative;
  }
  .close{
    background-color: lightblue;
    padding: 10px;
    top: 0px;
    right: 0px;
    position: absolute;
    text-decoration: none;
    font-weight: 600;
  }
  .close:hover{
    background-color: darkgray;
    color: white;
  }
  .p1{
    position: absolute;
    width: 50%;
    top:35px;
    right: 30px;
  }
  .p1 i{
    font-size: 0.6em;
  }
  .modalinfo1 img{
    margin-top: 35px;
    margin-left: 17px;
    width: 230px;
  }
  .modalinfo2 img{
    margin-top: 35px;
    margin-left: 17px;
    width: 230px;
  }
  .modalinfo3 img{
    margin-top: 35px;
    margin-left: 17px;
    width: 230px;
  }
  .size{
    font-size: 0.8em;
    font-weight: 100;
  }
  .addbutton{
    display: block;
    width: 60%;
    text-decoration: none;
    margin-left: -45px;
    margin-right: auto;
    background-color: lightblue;
    text-align: center;
    padding: 10px 0px;
    color:black;
  }
  .addbutton:hover{
    background-color: lightgray;
    color:white;
  }
  .pbag{
    padding-top: 20px;
    font-size: 1.5em;
  }
  /*----------------------------------------CONTACT*/
  .contact{
    background-color: var(--primaryColorDark);
    margin-top: 15%;
    margin-left: 5%;
    width:90%;
    height:20%;
    display: inline-block;
  }
  .contact div{
    text-align: right;
    font-size: 0.9em;
    margin-right: 10px;
  }
  .ico{
    margin: 10px;
    width: 3%;
  }
  .contact a{
    text-decoration: none;
  }
}
            /*-----Tablet View - Ipad(768x1024)-------*/
@media only screen and (max-width: 800px) and (min-width:450px){
  /*-----------------------------------NAVIGATION BAR*/
  .top_animation{
    width: 40%;
    margin: auto;
    margin-left:45%;

  }
  .logo{
    float: left;
    margin-top: 2%;
    width: 80px;
    margin-left: 35%;
    animation: zoom 1s ease-out 1;
  }
  .navbar {
    width: 75%;
    background-color: var(--secondaryColor);
    overflow: auto;
    margin-left: 12%;
  }
  .navbar a {
    float: left;

    padding: 2%;
    color: white;
    text-decoration: none;
    font-size: 17px;
    margin-left: 6.8%;
  }
  .navbar a:hover {
    background-color: #000;
  }
  .active {
    background-color: #04AA6D;
  }
  /*----------------------------------------SLIDESHOW*/
  .slidewrapper img{
    max-width: 100%;
    max-height: 100%;
  }
  .slidewrapper{
    width: 300%;
    height: 100%;
    animation: slide_animation 10s infinite;
  }
  .slideshow{
    width: 100%;
    height:100%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
  }
  .slide1, .slide2, .slide3{
    width:33.3%;
    height:100%;
    float:left;
  }
  /*----------------------------------------SUBHEADER*/
  .subheader{
    font-size: 1.5em;
    margin-left: 43.5%;
  }
  /*----------------------------------------SALES*/
  .bothimg img{
    width: 32.3%;
    padding-top: 15px;
    padding-left: 1%;
  }
  /*----------------------------------------INFO1*/
  .info1{
    text-align: center;
    margin-top: auto;
    margin-left: 7%;
    width:20%;
    float: left;
  }
  .info2{
    text-align: center;
    margin-top: auto;
    margin-left: 13%;
    width:20%;
    float: left;
  }
  .info3{
    text-align: center;
    margin-top: auto;
    margin-left: 12%;
    width:21%;
    float: left;
  }
  .new{
    color: blue;
    font-weight: bold;
  }
  .infoitem{
    color: white;
    font-size: 0.8em;
  }
  .add{
    background-color: lightgray;
    text-decoration: none;
    padding: 10px 20px;
    color: purple;
  }
  .add:hover{
    background-color: darkgray;
    color: green;
    box-shadow: 0px 0px 5px 1px purple;
  }
  .modalmain{
    background-color: rgb(150,150,150,0.5);
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    opacity: 0;
    pointer-events: none;
  }
  .modalmain:target{
    opacity: 1;
    pointer-events: auto;
    transition: ease-in 0.5s;
  }
  .modal1content{
    width: 600px;
    height: 530px;
    background-color: white;
    margin: auto;
    margin-top: 150px;
    position: relative;
  }
  .close{
    background-color: lightblue;
    padding: 10px;
    top: 0px;
    right: 0px;
    position: absolute;
    text-decoration: none;
    font-weight: 600;
  }
  .close:hover{
    background-color: darkgray;
    color: white;
  }
  .p1{
    position: absolute;
    width: 50%;
    top:35px;
    right: 30px;
  }
  .p1 i{
    font-size: 0.6em;
  }
  .modalinfo1 img{
    margin-top: 35px;
    margin-left: 17px;
    width: 230px;
  }
  .modalinfo2 img{
    margin-top: 35px;
    margin-left: 17px;
    width: 230px;
  }
  .modalinfo3 img{
    margin-top: 35px;
    margin-left: 17px;
    width: 230px;
  }
  .size{
    font-size: 0.8em;
    font-weight: 100;
  }
  .addbutton{
    display: block;
    width: 60%;
    text-decoration: none;
    margin-left: -45px;
    margin-right: auto;
    background-color: lightblue;
    text-align: center;
    padding: 10px 0px;
    color:black;
  }
  .addbutton:hover{
    background-color: lightgray;
    color:white;
  }
  .pbag{
    margin-left: 5%;
    padding-top: 20px;
    font-size: 1.5em;
  }
  /*----------------------------------------CONTACT*/
  .contact{
    background-color: var(--primaryColorDark);
    margin-top: 15%;
    margin-left: 5%;
    width:90%;
    height:20%;
    display: inline-block;
  }
  .contact div{
    text-align: right;
    font-size: 0.9em;
    margin-right: 10px;
  }
  .ico{
    margin: 3px;
    width: 6%;
  }
  .contact a{
    text-decoration: none;
  }

}
             /* --- Smartphone View (Iphone X   375x812 ) ---*/
@media only screen and (max-width:449px){
  /*-----------------------------------NAVIGATION BAR*/
  .top_animation{
    display: block;
    width: 70%;
    font-size: 0.6em;
    margin: auto;
    margin-left:21%;

  }
  .logo{
    margin-top: 2.5%;
    float: left;
    width: 50px;
    margin-left: 30%;
    animation: zoom 1s ease-out 1;
  }
  .navbar {
    width: 80%;
    background-color: var(--secondaryColor);
    overflow: auto;
    margin-left: 10%;
    margin-top: 10%;
  }
  .navbar a {
    float: left;
    padding: 2%;
    color: white;
    text-decoration: none;
    font-size: 11px;
    margin-left: 4.5%;
  }
  .navbar a:hover {
    background-color: #000;
  }
  .active {
    background-color: #04AA6D;
  }
  /*----------------------------------------SLIDESHOW*/
  .slidewrapper img{
    max-width: 100%;
    max-height: 100%;
  }
  .slidewrapper{
    width: 300%;
    height: 100%;
    animation: slide_animation 10s infinite;
  }
  .slideshow{
    width: 100%;
    height:100%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
  }
  .slide1, .slide2, .slide3{
    width:33.3%;
    height:100%;
    float:left;
  }
  /*----------------------------------------SUBHEADER*/
  .subheader{
    font-size: 1.2em;
    margin-left: 28%;
  }
  /*----------------------------------------SALES*/
  .bothimg img{
    width: 32%;
    padding-top: 25px;
    padding-left: 1%;
  }
  /*----------------------------------------INFO1*/
  .info1{
    text-align: center;
    margin-top: 3%;
    margin-left: 7%;
    width:20%;
    float: left;
  }
  .info2{
    text-align: center;
    margin-top: 3%;
    margin-left: 13%;
    width:20%;
    float: left;
  }
  .info3{
    text-align: center;
    margin-top: 3%;
    margin-left: 13%;
    width:20%;
    float: left;
  }
  .new{
    color: blue;
    font-weight: bold;
  }
  .infoitem{
    color: white;
    font-size: 0.6em;
  }
  .add{
    background-color: lightgray;
    text-decoration: none;
    padding: 5px 5px;
    color: purple;
    font-size: 0.5em;
  }
  .add:hover{
    background-color: darkgray;
    color: green;
    box-shadow: 0px 0px 5px 1px purple;
  }
  .modalmain{
    background-color: rgb(150,150,150,0.5);
    position: fixed;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    opacity: 0;
    pointer-events: none;
  }
  .modalmain:target{
    opacity: 1;
    pointer-events: auto;
    transition: ease-in 0.5s;
  }
  .modal1content{
    width: 300px;
    height: 660px;
    background-color: white;
    margin: auto;
    margin-top: 13%;
    position: relative;
  }
  .close{
    background-color: lightblue;
    padding: 10px;
    top: 0px;
    right: 0px;
    position: absolute;
    text-decoration: none;
    font-weight: 600;
  }
  .close:hover{
    background-color: darkgray;
    color: white;
  }
  .p1{
    width: 90%;
    padding-left: 15%;
    margin-top: -15%;
  }
  .p1 i{
    font-size: 0.6em;
  }
  .modalinfo1 img{
    margin-top: 5%;
    margin-left: 11.5%;
    width: 230px;
  }
  .modalinfo2 img{
    margin-top: 5%;
    margin-left: 11.5%;
    width: 230px;
  }
  .modalinfo3 img{
    margin-top: 5%;
    margin-left: 11.5%;
    width: 230px;
  }
  .size{
    font-size: 0.8em;
    font-weight: 100;
  }
  .addbutton{
    font-size: 0.8em;
    width: 62%;
    text-decoration: none;
    margin-left: 15%;
    background-color: lightblue;
    text-align: center;
    padding: 10px 4px;
    color:black;
  }
  .addbutton:hover{
    background-color: lightgray;
    color:white;
  }
  .pbag{
    padding-left: 10px;
    padding-top: 20px;
    font-size: 1.5em;
  }
  /*----------------------------------------CONTACT*/
  .contact{
    background-color: var(--primaryColorDark);
    margin-top: 28%;
    margin-left: 5%;
    width:90%;
    height:20%;
    display: inline-block;
  }
  .contact div{
    text-align: right;
    font-size: 0.9em;
    margin-right: 10px;
  }
  .ico{
    margin:3px;
    width: 6%;
  }
  .contact a{
    text-decoration: none;
    font-size: 0.8em;
  }
  .foot{
    font-size: 0.7em;
  }

}
