/* Kolory */
:root{
  --primary-color:#85b0f5;
  --hover-color: #FFFFFF;
  --background-color: #506992;
} 

@keyframes loadAboutUs {
 0% {
    transform: scale(0) translate(-20%, 0);
    opacity: 0;
    clip-path: inset(-150px -150px -150px -150px);
  }
  50%{
    clip-path: inset(-140px -150px -140px -150px);
  }
  99%{
    clip-path: inset(0px -150px 0px -150px);
  }
  100%{
    transform: scale(1);
    clip-path: inset(0px -150px 0px -150px);
    opacity: 1;
  }
}

@keyframes loadAboutUsP{
  0% {
    opacity: 0;
    transform: scale(0) translate(-20% , 0);
  }

  100%{
    opacity: 1;
    transform: scale(1);
  }
}

/* ABOUT US */

#mainAboutUs{
  width: 100%;
  background-color: #506992;
  height: 800px;
  align-items: center;
  display: flex;
  justify-content: space-around;
  gap: 100px;
}

#aboutUs{
  font-family: Oswald;
  height: 800px;
  text-align: center;
  background-image: url(about_us_background.jpg);
  background-size: 100%;
  background-repeat: no-repeat;
  width: 65%;
  align-content:center;
  background-size: cover;
  box-shadow: 0 0 90px 40px rgba(0,0,0,0.75);
  clip-path: inset(0px -150px 0px -150px);
  
  transform: scale(0);
  opacity: 0;
  animation: loadAboutUs 1.5s ease-out forwards;
  animation-delay: 0.15s;
}

#aboutUs p{
  text-shadow: -2px 4px 7px rgb(0, 0, 0), 3px 3px black;
  font-size: 2.3rem;
  line-height: 200%;
  letter-spacing: 1px;
  word-spacing: 4px;
  color: #ffffff;
  margin:0 7%;
  opacity: 0;
  
  animation: loadAboutUsP 1.2s ease-out forwards;
  animation-delay: 1.2s;
}

@media (max-width:1365px){
  #mainAboutUs{
    height: 80vh;
    box-shadow: 0px 3px 25px gray;
  }
  #aboutUs{
    height: 80vh;
    opacity: 1;
    width: 100%;
    align-content: flex-start;
    box-shadow: none;
  }
  #aboutUs p{
    font-size: 2.5rem;
    position: relative;
    top: 100px;
    text-shadow: -2px 4px 8px rgb(0, 0, 0), 1px 1px black;
  }
}

@media (max-width:767px){
  #mainAboutUs{
    height: 70vh;
    box-shadow: 0px 3px 25px gray;
  }
  #aboutUs{
    height: 70vh;
    opacity: 1;
    width: 100%;
    align-content: flex-start;
    box-shadow: none;
  }
  #aboutUs p{
    font-size: 1.5rem;
    position: relative;
    top: 100px;
    text-shadow: -2px 4px 8px rgb(0, 0, 0), 1px 1px black;
  }
}



/* SKRYPT OFERTA */
.hidden{
  opacity: 0;
  transform: translate(40px, -20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.hiddenImg{
  opacity: 0;
  transform: translate(-40px, -20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.logoImg{
  opacity: 0;
  transform: translate(0px, 80px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.visible{
  opacity: 1;
  transform: translate(0px, 0px);
}




/* OFERTA */
#logoImg{
  width:550px ;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
}

#ourOffer{
  margin-top: 110px;
  display: flex;
  justify-content: flex-end;
}

#ourOffer img{
  width: 20%;
  border-radius: 50%;
  align-self: center;
  box-shadow: 5px 5px 20px gray;
}

#offerText{
  margin-right: 15%;
  margin-left: 10%;
  width: 35%;
  display: flex;
  flex-wrap: wrap;
}

.offerTitle{
  font-size: 2rem;
  width: 100%;
}

.offerDescription{
  width: 100%;
  font-size: 1.4rem;

}

.offerForwarding{
  font-size: 1.4rem;
  background-color: var(--primary-color);
  align-self: center;
  padding: 10px 15px;
  border: 1px solid black;
  border-radius: 5px;
  text-decoration: none;
  color: #FFFFFF;
  box-shadow: 2px 2px 4px rgb(46, 46, 46);
}

.offerForwarding:hover{
  background-color: var(--hover-color);
  color: #000000;
  transition: 0.35s;
  box-shadow: 2px 2px 10px rgb(46, 46, 46);
}


@media (max-width:1365px){
  #logoImg{
    width:70%;
  }
  #logoImg img{
    width:100%;
  }
  #ourOffer{
    margin-top: 25px;
    justify-content: center;
    flex-wrap: wrap;
  }
  #ourOffer img{
    width: 30%;
    border-radius: 50%;
    box-shadow: 5px 5px 20px gray;
  }
  #offerText{
    margin-top: 15px;
    margin-right: 10%;
    margin-left: 10%;
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .offerTitle{
    font-size: 2rem;
  }
  .offerDescription{
    font-size: 1.6rem;
    margin-bottom: 5vh;
  }
  .offerForwarding{
    font-size: 1.5rem;
    padding: 5px 10px;
    width: 80%;
  }
}
@media (max-width:767px){
  #logoImg{
    width:80%;
  }
  #ourOffer img{
    display: none;
  }
  #offerText{
    margin-top: 0;
  }
  .offerTitle{
    font-size: 1.5rem;
  }
  .offerDescription{
    font-size: 1.2rem;
  }
  .offerForwarding{
    font-size: 1rem;
    width: 60%;
  }
}



/* PRZYKŁADOWA GALERIA */

#gallery{
  margin-top: 150px;
}

#galleryText{
  display: flex;
  justify-content: space-around;
  font-size: 2rem;
  opacity: 0;
  transform: translate(-70px, 0px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.galleryForwarding{
  font-size: 1.4rem;
  background-color: var(--primary-color);
  align-self: center;
  padding: 10px 15px;
  border: 1px solid black;
  border-radius: 5px;
  text-decoration: none;
  color: #FFFFFF;
  box-shadow: 2px 2px 4px rgb(46, 46, 46);
}

.galleryForwarding:hover{
  background-color: var(--hover-color);
  color: #000000;
  transition: 0.35s;
  box-shadow: 2px 2px 10px rgb(46, 46, 46);
}

#galleryImgs{
  width: 90%;
  margin-top: 20px;
  margin-left: 5%;
  margin-right: 5%;

  display: flex;
  align-items: center;
  opacity: 0;
  transition: transform 0.3s ease-in-out, opacity 0.8s ease-out;
}

.galleryImg{
  margin: 0 5px;
  width: 30%;
  box-shadow: 5px 5px 10px dimgray;
  border-radius: 4px;
}

.arrows{
  font-size: 3rem;
  color: var(--primary-color);
  cursor: pointer;
  text-shadow: 1px 1px 3px black;
  width: 5%;
  display: flex;
  justify-content: center;
  user-select: none;
}
.arrows:hover{
  font-size: 4.5rem;
  color: var(--primary-color);
  cursor: pointer;
  text-shadow: 2px 2px 5px black;
  width: 5%;
  display: flex;
  justify-content: center;
}

.galleryAnimateLeft{
  transform: translate(-40px,-0px);
}

.galleryAnimateRight{
  transform: translate(40px,-0px);
}

@media (max-width:1365px){
  #gallery{
    margin-top: 100px;
    margin-left: 10%;
    margin-right: 10%;
  }
  #galleryText{
    display: flex;
    justify-content: space-between;
    font-size: 1.8rem;
  }
  
  .galleryForwarding{
    font-size: 1.5rem;
    padding: 5px 10px;
    text-align: center;
  }
  #galleryImgs{
    width: 100%;
    margin-top: 20px;
    margin-left: 0%;
    margin-right: 0%;
    opacity: 0;
    transition: transform 0.3s ease-in-out, opacity 0.8s ease-out;
  }
  .galleryImg{
    margin: 0 1%;
    width: 41%;
  }
  .arrows{
    font-size: 3.5rem;
    margin: 0 1%;
  }

  .arrows:hover{
    font-size: 3.5rem;
  }
  
  .galleryAnimateLeft{
    transform: translate(-20px,-0px);
  }
  
  .galleryAnimateRight{
    transform: translate(20px,-0px);
  }

  .mobileDisplayNone{
    display: none;
  }
}
@media (max-width:767px){
  #galleryText{
    font-size: 1.3rem;
  }
  .galleryForwarding{
    font-size: 1rem;
    padding: 5px 0px;
  }
  .arrows{
    font-size: 2rem;
  }
  .arrows:hover{
    font-size: 2rem;
  }
}

a:hover{
  cursor: pointer;
}