@charset "UTF-8";
* {
  /*הגדרה קבועה לעיצוב קופסה*/
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
  padding: 0;
}

h1, h2 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 0;
  padding-bottom: 0;
}

/*עיצוב לכותרת משפט*/
ul li span {
  font-weight: bold;
}

#Pmain {
  display: block;
  margin-top: 5%;
  margin-right: 5%;
}

#Pmain a {
  text-decoration: none;
  -webkit-transition: color .4s ease-out;
  transition: color .4s ease-out;
}

#Pmain a::after {
  border-radius: 1em;
  border-top: 0.1em solid #b723e4;
  position: absolute;
  left: 0;
  right: 10%;
  bottom: 1px;
  -webkit-transition: right 0.4s cubic-bezier(0, 0.5, 0, 1);
  transition: right 0.4s cubic-bezier(0, 0.5, 0, 1);
}

#Pmain a:hover {
  color: #267ab3;
  right: 0;
}

#Pmain a:hover::after {
  right: 0;
}

section {
  background-color: rgba(83, 83, 83, 0.5);
  padding: 10%;
  margin: 10% auto;
  margin-bottom: 10%;
  margin-left: 5%;
  width: 100%;
  height: 200%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  text-align: left;
  font-family: 'Poppins', sans-serif;
}

main {
  margin: 0;
  background-image: url(../images/2.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: soft-light;
  background-position: center center;
  background-attachment: fixed;
  padding: 10%;
  min-height: 100vh;
}

#container {
  width: 50%;
  margin: 30px auto;
  border: 5px solid #cbcaca;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

figure {
  -ms-flex-preferred-size: calc(100% /16);
      flex-basis: calc(100% /16);
  padding: 5px;
  margin: 0;
  text-align: center;
  font-size: 1.2rem;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

figure img {
  width: 100%;
}

figure:hover {
  -webkit-transform: scale(1);
          transform: scale(1);
  border: 8px solid #cc4747;
  background-color: azure;
  font-size: 1.8rem;
}

@media only screen and (max-width: 700px) {
  #container {
    width: 100%;
    display: -ms-grid;
    display: grid;
  }
  section {
    margin-top: 30%;
  }
  h1, h2 {
    font-size: 100%;
  }
}
/*# sourceMappingURL=index4.css.map */