
html {
  font-family: "Helvetica", sans-serif;
  font-size: 18px;
}

body {
 margin: 0 auto;
 line-height: 1.4;
}

/* header  */

header {
  display: flex;
  height: 3.8rem;
  width: 100%;
  padding-top: 1rem;
  justify-content: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

nav {
  z-index: 2;
  color: white;
  display: flex;
  width: 100%;
  position: fixed;
  padding: 1rem 0;
  align-items: center;
  background-color: rgba(95, 158, 160, .90 );
  justify-content: space-between;
}
.banner{
  max-width: 1360px;
  margin: auto;

}

.flex {
  display: flex;
}

a {
color: white;
}
a:hover{
font-style: italic;
}

nav span{
  display: flex;
  height: 1.5rem;
  font-size: 1.3rem;
  margin-left: 2rem;
  align-items: center;
  margin-right: 1rem;
}
nav ul {
  margin-right: 1rem;
}
nav li {
  display: inline;
  font-size: 1.3rem;
  padding: 0 1rem;
}
header .flex {
  justify-content: center;
}

header .mobile{
  display: none;

}

@media only screen and (max-width: 1020px) {
  .banner{
    max-width: 960px;
  }
}

@media only screen and (max-width: 875px){
  .banner{
    max-width: 800px;
   }
}

@media only screen and (max-width: 760px) {
  .banner{
    max-width: 730px;
  }
  nav span {
    margin-left: 1rem;
  }

  nav ul {
    margin-right: 0rem;
  }
}

@media only screen and (max-width: 700px) {
  header{
    height:3.5rem;
  }
  .banner{
    max-width: 600px;
  }
  nav span {
    margin-left: 1rem;
  }
  html{
    font-size: 14px;
  }

}

@media only screen and (max-width: 500px){

  .banner{
    max-width: 430px;
  }
  header .mobile{
    display: flex;
    color: white;
    height:4rem;
    width: 100%;
    align-items: center;
  }
  .mobile img{
    width: 47%;
    display: block;
  }
  nav ul{
    display: none;
  }
  nav span{
    display: none;
  }

  nav{
    padding: 0rem;
  }
}

/* poprfolio */
.main-content {
margin: 0 auto;
}

.main-content .container{
 display: flex;
 flex-flow: wrap;
 justify-content: center;
}

.container .ibox{
display: flex;
width: 350px;
height: 350px;
}

h1{
  color:white;
  opacity: .00;
  width: 100%;
  display: flex;
  font-size: 2rem;
  font-weight: 500;
  text-align: center;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .70 );
}
h1:hover{
  opacity: 100;
}

#work {
width: 100%;
margin: 0 auto;
text-align: center;
}
.mobileb{
  display:none
}
.mobileb a{
  margin: 15px;
  padding: 8px 16px;
  display: inline-block;
  text-decoration: none;
}
.mobileb a:hover {
  background-color: #f1f1f1;
  color: black;
}
.previous{
  background-color: #f1f1f1;
  color: black;
}
.next {
  background-color: #f1f1f1;
  color: black;
}

#work span{
  display: flex;
  font-size: 4rem;
  margin-top: 2rem;
  justify-content: center;
 }

/* code for magazines start */
.main-content #work{
  width: 100%;
}

.link {
  width:100%;
  margin-top: 3rem;
  justify-content: space-around;
}

iframe{
  width: 50%;
}
/* code for magazines end */
.description{
  min-width: auto;
  margin: 5rem;
  font-size: 1.25rem;
}
/* css content start */
#work .shit{
  margin-top: 2rem;
  display: block;
}
.art{
  display: flex;
  height: 700px;
  flex-flow: wrap;
  overflow: scroll;
  align-items: center;
  justify-content: space-evenly;
}
.description a{
  color: black;
  font-weight: bold;
}
.shit .images{
  width: 55%;
}
.shit img{
width: 100%;
}

/* css content end */
/* images start */
.cpm{
  background-image: url(/./resources/portfolio/Work/cyberPunk.icon.jpg);
  background-position: center;
  background-size: cover;
}
.sdm{
  background-image: url(/./resources/portfolio/Work/sevendeuce.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.ssa{
  background-image: url(/./resources/portfolio/Work/soulsauce.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.ep{
  background-image: url(/./resources/portfolio/Branding/Enchiladas/enchiladasicon2.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.mf{
  background-image: url(/./resources/portfolio/Branding/MacksFurniture/Macks.furniture.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.te{
 background-image: url(/./resources/portfolio/Branding/TechER/tech.ER.icon.jpg);
 background-position: center;
 background-repeat: no-repeat;
 background-size: cover;
}
.wst{
  background-image: url(/./resources/portfolio/Work/beverly_wedding_tree.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.cfd3{
  background-image: url(/./resources/portfolio/Work/N_370Z_decal.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.ei{
  background-image: url(/./resources/portfolio/Work/eves.invitations.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.mstl{
  background-image: url(/./resources/portfolio/Work/morris_shannon_toles.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.msl{
  background-image:url(/./resources/portfolio/Work/Max.logo.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.mnl{
  background-image: url(/./resources/portfolio/Work/Max_new_logo.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.cmyk{
  background-image: url(/./resources/portfolio/Posters/cmyk.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.rgb{
  background-image: url(/./resources/portfolio/Posters/rgb.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.traits {
 background-image: url(/./resources/portfolio/Posters/nyco.traits.icon.jpg);
 background-position: center;
 background-repeat: no-repeat;
 background-size: cover;
}
.btsf{
  background-image: url(/./resources/portfolio/Work/Breaking.T.S.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.lsh{
  background-image: url(/./resources/portfolio/Posters/Little_shop_of_horrors.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.csc{
  background-image: url(/./resources/portfolio/Posters/symposium.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* websites start*/
.tc{
  background-image: url(/./resources/portfolio/Work/teacozy.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.mt{
  background-image: url(/./resources/portfolio/Work/mytimes.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.t{
  background-image: url(/./resources/portfolio/Work/tortoiseshell.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.sag{
  background-image: url(/./resources/portfolio/Work/secrete.agent.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.f{
  background-image: url(/./resources/portfolio/Work/fotomatic.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.ca{
  background-image: url(/./resources/portfolio/Work/Colomar.academy.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
/* websites end*/
.logos{
  background-image: url(/./resources/portfolio/Work/logos.contest-icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.bts{
  background-image: url(/./resources/portfolio/Work/bob_the_squid_icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.ily{
  background-image: url(/./resources/portfolio/Work/ILUcard.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.hp{
  background-image: url(/./resources/portfolio/Work/Hearshape_penguins.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.ph{
  background-image: url(/./resources/portfolio/Work/Penguins_Heart.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.ilyh{
  background-image: url(/./resources/portfolio/Work/I.love.you.h.g.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.hbp{
  background-image: url(/./resources/portfolio/Work/house.b.p.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.ts{
  background-image: url(/./resources/portfolio/Work/tounge.icon.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media only screen and (max-width: 1053px){
  .main-content .work{
    height: 905px;
  }
  #work span{
    font-size: 3rem;
  }
  iframe{
    width: 90%;
    margin-left: 0;
  }
  .shit .images{
    width: 63%;
  }
  .container .ibox{
    width:290px;
    height: 290px;
  }

}
@media only screen and (max-width: 875px){
  .main-content .work{
    height: 850px;
  }
  #work span{
    font-size: 3rem;
  }
  iframe{
    width: 85%;
    margin-left: none;
  }
  .shit .images{
    width: 80%;
  }
  .description{
    margin: 2rem;
  }
  .mobileb{
    display: flex;
    margin:2rem;
    justify-content: center;
  }
   .main-content .container{
     display: none;
   }
   .container .ibox{
    width:250px;
    height:250px;
   }
}
@media only screen and (max-width: 760px){
  .container .ibox{
    width:220px;
    height:220px;
  }
  .shit .images{
    width: 92%;
  }
}
@media only screen and (max-width: 675px){
  .main-content .work{
    height: 775px;
  }
  .container .ibox{
    width:210px;
    height:210px;
  }
}
@media only screen and (max-width: 475px){
  .container .ibox{
    width:350px;
    height:350px;
  }
}
/* images end*/

/* footer */
.footer-content{
 color: white;
 display: flex;
 height: 2rem;
 font-size: .750rem;
 align-items: center;
 justify-content: center;
 background-color: cadetblue;
}
@media only screen and (max-width: 875px){
  .footer{
    margin-top: 0;
    font-size: .950rem;
  }
}
