* {
  margin: 0;
  padding: 0;
}

body {
  height: 100vh;
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
}
.contact {
  display: flex;
  justify-content: space-around;
  width: 100%;
  height: 35px;
  background-color: rgb(222, 156, 235);
  color: white;
  line-height: 35px;
  font-size: 15px;
}
.contact div a {
  text-decoration: none;
  color: white;
}
.con {
  font-size: 20px;
  width: 10px;
  height: 10px;
  line-height: 25px;
  color: white;
  text-decoration: none;
}

.fa-brands {
  font-size: 20px;
  width: 10px;
  height: 10px;
  line-height: 35px;
  color: white;
  text-decoration: none;
}
.fa-brands:hover {
  color: rgb(90, 90, 207);
}

.head {
  width: 100%;
  display: flex;
  min-height: 140px;
}

.logo {
  flex-basis: 30%;
  background-repeat: no-repeat;
  margin: 10px;
  text-align: center;
}
.logo img {
  width: 260px;
  height: 120px;
}
nav {
  display: flex;
  flex-basis: 70%;

  margin-top: 10px;
  height: 120px;
  align-items: center;
  justify-content: center;
}
ul {
  display: flex;
  list-style: none;
  justify-content: center;
  align-items: center;
}
li {
  color: white;
  line-height: 100%;
  margin: 10px;
  padding-right: 40px;
}
.burger {
  position: absolute;
  top: 75px;
  right: 100px;
  font-size: 25px;
  color: rgb(54, 54, 54);
  display: none;
}
.xicon {
  position: absolute;
  top: 75px;
  right: 100px;
  font-size: 25px;
  color: rgb(54, 54, 54);
  display: none;
}
aside {
  position: absolute;
  top: 165px;
  bottom: 300px;
  left: 0px;
  width: 100%;

  opacity: 0.9;
  display: none;
}
aside div {
  background-color: white;
  width: 100%;
  height: 50px;
  text-align: center;
  line-height: 50px;
  font-weight: bold;
}
aside a {
  text-decoration: none; 
  color: inherit; 
  font-size: inherit;
}
aside a div {
  background-color: white;
  width: 100%;
  height: 50px;
  text-align: center;
  line-height: 50px;
  font-weight: bold;
  text-decoration: none; 
  color: inherit; 
}

aside.active div:hover {
  background-color: rgb(222, 156, 235);
  cursor: pointer;
}
aside.active {
  display: block;
}
.xicon.active {
  display: block;
}
.burger.active {
  display: none;
}

a {
  text-decoration: none;
  color: rgb(54, 54, 54);
  letter-spacing: 1px;
  font-size: 17px;
  padding-bottom: 10px;
  transition: border-bottom 0.2s ease;
  font-weight: 600;
}
nav a:hover {
  color: rgb(222, 156, 235);
}
.asas {
  display: block;
  text-align: center;
  font-size: 40px;
  color: rgb(54, 54, 54);
  font-weight: bold;

  margin-top: 70px;
  letter-spacing: 2px;
}
.asas p {
  display: block;
  text-align: center;
  font-size: 15px;
  color: rgb(222, 156, 235);

  text-transform: uppercase;
  padding-bottom: 15px;
  font-weight: normal;
  margin-top: 10px;
}
.about {
  
  display: flex;
  margin-top: 15px;
  width: 100%;
  border-top: 2px solid rgb(222, 156, 235);
  align-items: center;
  padding-top: 50px;
  
}

.about div img {
  justify-content: left;
  width: 110%;
  height: 100%;
  box-shadow: 2px 2px 20px rgba(0.5, 0.5, 0.5, 0.5);
  
}

.text {
  display: flex;
  flex-direction: column;
  width: 40%;
  justify-content: center;
  text-align: justify;
  margin-left: 150px;
  margin-right: 100px;
  line-height: 30px;
  font-size: 16px;
  color: rgb(54, 54, 54);
  
  
}

.about div span p {
  margin-top: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: bold;
}
.movingSpan {
  display:inline-block;
  position: relative;

}


.banner {
  margin-left: auto;
  margin-right: auto;
  width: 98vw;
  height: 700px;
  background-image: url("../niezapominajka.jpg"); 
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  filter: brightness(80%);
  transition: background-image 1s ease-in-out;
}

.banner-text {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  width: 80%;
}

.banner-text span, .banner-text p {
  opacity: 0; 
  animation: fade-in 3s ease forwards;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); 
}

.banner-text span {
  font-size: 60px;
}

.banner-text p {
  margin-top: 20px;
  font-size: 25px;
  letter-spacing: 15px;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(-100px); 
  }
  to {
    opacity: 1;
    transform: translateY(0); 
  }
}

.gallery {
  width: 95vw;

  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
}
.gallery span {
  display: block;
  text-align: center;
  font-size: 40px;
  color: rgb(54, 54, 54);
  font-weight: bold;

  padding-bottom: 20px;
}
.gallery p {
  display: block;
  text-align: center;
  font-size: 15px;
  color: rgb(222, 156, 235);

  text-transform: uppercase;
  border-bottom: 2px solid rgb(222, 156, 235);
  padding-bottom: 30px;
}
.gallery span p {
  color: rgb(222, 156, 235);
}

.photo {
  width:70vw;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
  
}
.photo div {
  flex-basis: 35%;
  display: flex;
  height: 300px;
  margin: 0.5%;
  flex-grow: 1;
  position: relative;
  overflow: hidden;
  
  
}
.photo div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  transition: transform 2s ease;
  z-index: 1;
  display: block;
  cursor: pointer;
}
.photo div:hover::before {
  transform: scale(1.2);
  
}
.photo span {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: whitesmoke;
  font-size: 25px;
  z-index: 2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); 
}
.photo span:hover {
  cursor: pointer;
  
}
.photo div:nth-child(1)::before {
  background-image: url(../photo/bukiett.jpg);
}
.photo div:nth-child(2)::before {
  background-image: url(../photo/boxy.jpeg);
}
.photo div:nth-child(3)::before {
  background-image: url(../photo/kompozycja.jpg);
}
.photo div:nth-child(4)::before {
  background-image: url(../photo/swieta.jpg);
}
.photo div:nth-child(5)::before {
  background-image: url(../photo/paradise.JPG);
}
.photo div:nth-child(6)::before {
  background-image: url(../photo/deco.jpg);
}


#section3 {
  margin: 0px auto;
  margin-top: 80px;

  width: 70vw;

  height: 300px;
}
#section3 p {
  display: block;
  text-align: center;
  font-size: 40px;
  color: rgb(54, 54, 54);
  font-weight: bold;
  padding-bottom: 20px;
  border-bottom: 2px solid rgb(222, 156, 235);
}

#section3 .main {
  margin-top: 50px;
  display: flex;
  
  justify-content: space-around;
  width: 100%;
  height: 150px;
  
}

.main div {
  position: relative;
  width: 150px;
  height: 150px;
  text-align: center;
  align-self: center;
  border-radius: 50%;
  background-position: center;
  background-size: cover;
  box-shadow: 2px 2px 20px rgba(2.5, 2.5, 2.5, 2.5);
}
.main div img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

.main div span {
  text-align: center;
  font-size: 13px;
  line-height: 17px;
  color: rgb(54, 54, 54);
  font-weight: bold;
  position: absolute;
  display: block;
  width: 150px;
  height: 30px;
  margin-top: 10px;
}
.description {
  margin-left: auto;
  margin-right: auto;
  width: 40vw;
  margin-top: 60px;
  margin-bottom: 60px;
  text-align: justify;
  font-size: 16px;
  line-height: 25px;
  color: rgb(54, 54, 54);
}
.description p {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 16px;
}
.last {
  display: flex;
  width: 100%;

  height: 250px;
  background-color: rgb(228, 174, 238);
  align-items: center;
}
.last div {
  flex-basis: 34%;
  background-color: rgb(228, 174, 238);
  text-align: center;
}
.last div p {
  margin-top: 10px;
  margin-bottom: 5px;
}
.last div strong {
  text-align: center;
}

.last div .fa-brands {
  margin-top: 10px;
  font-size: 30px;
}
.last .media {
  width: 20%;
}
footer {
  width: 100%;
  height: 50px;
  background-color: rgb(228, 174, 238);
  border-top: 1px dotted black;
  display: flex;
  opacity: 0.9;
}
footer div {
  width: 100%;
  font-size: 13px;
  background-color: rgb(223, 150, 234);
  text-align: center;
  line-height: 50px;
}

@media (max-width: 1600px) {
  #section3 {
    width: 80vw;
  }
  .about {
    flex-direction: column;
  }
 .text {
  width: 80vw;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
 }
 .about div img {
  width: 100%;
 }
.text p {
  text-align: center;
}
}


@media (max-width: 1300px) {
  .photo{
  width: 90vw;
}
}
@media (max-width: 1220px) {
  #section3 {
    width: 85vw;
  }
  .description {
    width: 75vw;
  }
  
}
@media (max-width: 1120px) {
  
  #section3 {
    width: 90vw;
  }
 
  
}
@media (max-width: 1062px) {
 li {
  margin: 5px;
 }
}

@media (max-width: 1000px) {
  
  .photo div {
    flex-basis: 30%;
    display: flex;
    height: 400px;
    
  }
  
}
@media (max-width: 990px) {
  
  .main div {
    width: 120px;
    height: 120px;
  }
  .main div img {
    width: 120px;
    height: 120px;
  }
  .main div span {
    font-size: 10px;
    width: 120px;
  }
  li {
    margin: 3px;
}
  
}
@media (max-width: 980px) {
  .asas {
    font-size: 30px;
    margin-top: 40px;
  }
  .asas p {
    font-size: 13px;
  }
  .gallery span {
    font-size: 30px;
  }
  .gallery p {
    font-size: 13px;
  }

  .contact {
    font-size: 13px;
  }

  .banner span {
    font-size: 40px;
  }
  #section3 p {
    font-size: 30px;
  }
  li {
    margin: 0;
  }
  .gallery {
    margin-top: 50px;
}
 
  
}
@media (max-width: 920px) {
  nav {
    flex-basis: 73%;
  }
}
@media (max-width: 910px) {
    .logo img {
      width: 250px;
  }
}

@media (max-width: 900px) {
  .description {
    margin-top: 20px;
  }
  li {
    padding-right: 30px;
  }
  
  .photo {
    width: 90vw;
  }
  .photo div {
    flex-basis: 95%;
    height: 200px;
    border-radius: 0%;
    margin: 1%;
  }
}
@media (max-width: 860px) {
  li {
    padding-right: 20px;
  }
}
@media (max-width: 830px) {

  .description {
    margin-top: 20px;
  }
  li {
    padding-right: 20px;
  }
  .main div {
    width: 110px;
    height: 110px;
  }
  .main div img {
    width: 110px;
    height: 110px;
  }
  .last div {
    font-size: 12px;
  }

  .gallery span {
    font-size: 20px;
  }
  .photo div {
    height: 320px;
  }
}
@media (max-width: 808px) {
  #section3 .main {
    display: none;
  }
  #section3 {
    margin: 0px auto;
    margin-top: 50px;
    width: 70vw;
    height: 60px;
  }
  .description {
    width: 75vw;
  }
  .logo {
    flex-basis: 100%;
  }
  nav {
    flex-basis: 0%;
  }
  ul {
    display: none;
  }
  .gallery {
    min-height: 375px;
  }
  
  .banner span {
    width: 270px;
    font-size: 30px;
    line-height: 40px;
  }
  .banner {
    height: 500px;
  }
  .burger {
    display: block;
    font-size: 45px;
  }
  .xicon {
    font-size: 45px;
  }
  .about div {
    height: 450px;
  }
  
  .gallery span {
    font-size: 25px;
  }
  .gallery span {
    padding-bottom: 10px;
  }
  #section3 p {
    font-size: 25px;
  }
  .asas {
    font-size: 25px;
  }
 
  .gallery span {
    font-size: 35px;
  }
 
  .about {
    margin-top: 0;
    padding-top: 0;
  }
  .about div {
    margin-top: 20px;
}
}
@media (max-width: 700px) {
 
  .description p {
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .last {
    height: 200px;
  }
  .last div {
    font-size: 10px;
  }
}
@media (max-width: 642px) {
 
  .asas {
    font-size: 20px;
  }
  .asas p {
    font-size: 10px;
  }
  .gallery span {
    font-size: 20px;
  }
  .gallery span p {
    font-size: 10px;
  }
  .about {
    height: 420px;
  }
  #section3 {
    margin-top: 540px;
}
}
@media (max-width: 639px) {

  .head {
    height: 16vh;
  }
  
  .about {
    height: 350px;
}
  #section3 p {
    font-size: 20px;
}
  #section3 {
    margin-top: 580px;
}
}
@media (max-width: 590px) {
  .banner {
    height: 300px;
  }
  
  footer div {
    font-size: 11px;
  }
  .media a {
    margin-right: 15px;
  }
  .last span a {
    font-size: 9px;
  }
  .photo div {
    height: 170px;
  }
  .burger, .xicon {
    font-size: 35px;
}

}
@media (max-width: 570px) {
  .contact {
    font-size: 10px;
  }
  .contact div a {
    font-size: 10px;
  }
  .contact div i {
    font-size: 15px;
  }

  
}
@media (max-width: 550px) {
  .logo img {
    width: 200px;
    height: 90px;
  }
  .head {
    min-height: 120px;
  }
  .banner {
    height: 280px;
  }
  .banner span {
    width: 250px;
    font-size: 25px;
    line-height: 37px;
  }
  aside {
    top: 140px;
  }
  .burger {
    top: 65px;
    right: 55px;
  }
  .xicon {
    top: 65px;
    right: 55px;
  }
    .movingSpan {
      transform: none;
      margin-top: 100px;
      transition: none; 
      opacity: 1;
      text-align: center;
    }
    #section3 {
      margin-top: 620px;
      text-align: center;
  }
  .description {
    text-align: center;
}
  
}
@media (max-width: 530px) {
  
  .about div:nth-child(2) {
    width: 80%;
  }
 
  .about {
    height: 350px;
  }
  .about div {
    margin-top: 45px;
}
#section3 {
  margin-top: 650px;
}

}
@media (max-width: 520px) {
 
  footer div {
    font-size: 9px;
  }
  #section3 {
    margin-top: 100px;
  }
  .asas {
    margin-top: 30px;
  }
  .about {
    height: 955px;
}

}
@media (max-width: 500px) {
 
  #section3 {
    margin-top: 100px;
  }


}
@media (max-width: 475px) {
  #section3 {
    margin-top: 125px;
}
}

@media (max-width: 450px) {
  .last {
    height: 375px;
    display: block;
  }
  .last div {
    font-size: 10px;
    padding-top: 20px;
  }
  .last .media {
    width: 100%;
  }
  .last div p {
    margin-top: 6px;
  }
  #section3 {
    margin-top: 150px;
}
.about div {
  margin-top: 70px;
}
}



@media (max-width: 440px) {
  .about div {
    margin-top: 15px;
    height: 350px;
    width: 90%;
}

#section3 {
  margin-top: 40px;
}

.about div img {
  height: 70%;
}
.about {
  height: 875px;
}
.banner {
  height: 450px;
  width: 100vw;
}
.photo {
  width: 95vw;
}
.head {
  height: 13vh;
}
.last {
  height: 470px;
}
.last div {
  font-size: 16px;
 
}
.last span a {
  font-size: 15px;

}
}
@media (max-width: 415px) {
  .about div {
    height: 395px;
  }
  #section3 {
    margin-top:150px;
}
}
@media (max-width: 410px) {
#section3 {
  margin-top: 145px;
}
}

@media (max-width: 385px) {

  .gallery {
    margin-top: 50px;
  }
  .photo div {
    height: 140px;
  }
  #section3 {
    margin-top: 150px;
}
.movingSpan.show {
  margin-top: 35px;
}
}
@media (max-width: 384px) {
  .burger {
    right: 40px;
  }
  .xicon {
    right: 40px;
  }
}
@media (max-width: 348px) {
  .movingSpan.show {
    margin-top: 80px;
}
#section3 {
  margin-top: 180px;
}
}

@media (max-width: 330px) {
  .burger {
    right: 30px;
  }
  .xicon {
    right: 30px;
  }
  .logo img {
    width: 180px;
    height: 80px;
  }
  .head {
    min-height: 100px;
  }
 
  .contact {
    font-size: 8px;
  }
  aside {
    top: 125px;
  }
  .last {
    height: 355px;
  }
  #section3 {
    margin-top: 235px;
}
.gallery span {
  font-size: 27px;
}
.movingSpan.show {
  margin-top: 150px;
}
footer {
  margin-top: 90px;
}
}
@media (max-width: 320px) {
footer {

  margin-top: 90px;
}
.movingSpan {
  margin-top: 125px;
}
.banner-text p {
  letter-spacing: 0px;
}
}

@media (max-width: 300px) {
.movingSpan {
  margin-top: 165px;
}
#section3 {
  margin-top: 265px;
}
footer {
  margin-top: 111px;
}
}