

*::selection{
    background: var(--pink);
    color:#fff;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "europa", sans-serif;
}


#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    opacity: 0.3; 
}

body {
    margin: 0;
    color: #fff;
    background-color: #fff;
}
ul {
  margin: 0;
  padding: 0;
}

ul li {
  list-style: none;
}

a {
  text-decoration: none;
  color: #000;
}







.projects{
    width: 100%;
    display: grid;
}







.heading h1{
    font-weight: normal;
    font-size: 35px;
    position: relative;
    margin: 50px 0;
    color: #000;
}

.heading h1::before{
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: #000;
    bottom: -10px;
    left: 50%;
    transform: translate(-50%);
    animation: animate 4s linear infinite;
}

@keyframes animate{
    0%{
        width: 100px;
    }
    50%{
        width: 200px;
    }
    100%{
        width: 100px;
    }
}



.gallery {
    text-align: center;
    padding: 50px 0;
}

.categories {
    background-color: #ffedbf;
    width: 25%;
    margin: 0 auto 10px auto;
    height: 50px;
    align-items: center;
    display: flex;
    border-radius: 5px;
    
}

.category {
    align-items: center;
    display: block;
    height: 100%;
    padding: 0 10px;
    margin-left: 70px;
    line-height: 40px;
    font-size: 18px;
    color: #000;
    cursor: pointer;
    transition: color .5s;
    border: 1px solid #fff;
    background-color: #fff; 
}

.category:hover {
    color: #FF9800;
}

.photos {
     width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 4fr);
    grid-gap: 20px;
}

.photo {
    position: relative;
    height: 230px;
    border-radius: 5px;
    
}

.photo img {
     width: 100%;
    height: 100%;
    border-radius: 1px;
}

.photo img:hover {
    transform: scale(1.05);
}

.hide {
    display: none;
}
.pg{
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: 0.6s;
}

.pg:hover{
    opacity: 1;
}
.pg a{
    font-size: 45px;
    color: #fff;
    margin-bottom: 15px;

}



.footer {
  display: flex;
  flex-flow: row wrap;
  padding: 30px 30px 20px 30px;
 
  background:transparent;
  border-top: 1px solid #e5e5e5;
}

.footer > * {
  flex:  1 100%;
}

.footer__addr {
  margin-right: 1.25em;
  margin-bottom: 2em;
}

.footerr__logo {
  font-family: "europa", sans-serif;
  font-weight: 400;
  text-transform: lowercase;
  font-size: 1.5rem;
  color: #000;
}

.footer__addr h2 {
  margin-top: 1.3em;
  font-size: 15px;
  font-weight: 400;
  color: #999;
}

.nav__titlee {
  font-weight: 400;
  font-size: 15px;
  color:#000;
}

.footer address {
  font-style: normal;
  color: #999;
}

.footer__btn {
  color: #999;
  
}

.footer ul {
  list-style: none;
  padding-left: 0;
}

.footer li {
  line-height: 2em;
}

.footer a {
  text-decoration: none;
}

.footer__nav {
  display: flex;
  flex-flow: row wrap;
}

.footer__nav > * {
  flex: 1 50%;
  margin-right: 1.25em;
}

.nav__ul a {
  color: #999;
}

.nav__ul--extra {
  column-count: 2;
  column-gap: 1.25em;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  color: #999;
}
  
.legal__links {
  display: flex;
  align-items: center;
}


.heart {
  color: #2f2f2f;
}

@media screen and (min-width: 24.375em) {
  .legal .legal__links {
    margin-left: auto;
  }
}

@media screen and (min-width: 40.375em) {
  .footer__nav > * {
    flex: 1;
  }
  
  
  
  .footer__addr {
    flex: 1 0px;
  }
  
  .footer__nav {
    flex: 2 0px;
  }
}





/*media*/

@media (max-width: 900px) {
  .categories {
    width: 100%;
  }
  
  .category {
    margin-left: 0;
    width: calc(100% - 70px);
    text-align: center;
  }
  
  .photos {
    grid-template-columns: 1fr;
  }
  
  .photo {
    height: 100%;
  }
}

@media (max-width: 991px) {
  header {
    padding: 2rem 4%;
  }
  
  section .vendor {
    padding: 3rem 4%;
  }
}

@media (max-width: 850px) {
  .home-container {
    width: 100%;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200vh;
  }
  
 
  .contact-info:before {
    bottom: initial;
    top: -75px;
    right: 65px;
    transform: scale(0.95);
  }
  
  .contact-form:before {
    top: -13px;
    left: initial;
    right: 70px;
  }
  
  
  
  .text {
    margin: 1rem 0 1.5rem 0;
  }
  
  .social-media {
    padding: 1.5rem 0 0 0;
  }
}

@media (max-width: 768px) {
  .dotsbox {
    display: none;
  }
  
  #menu-bar {
    display: block;
  }
  
  header .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000;
    padding: 1rem 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  }
  
  header .navbar.nav-toggle {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  header .navbar a {
    display: block;
    background: #fff;
    border-radius: .5rem;
    color: #000;
    margin: 1.5rem;
    padding: 1rem 2rem;
    font-size: 2.5rem;
  }
  
  .home {
    justify-content: center;
    background-position: cover;
  }
  
  .home .content {
    text-align: center;
  }
  
  .home .content span {
    font-size: 2rem;
  }
  
  .home .content h3 {
    font-size: 4rem;
    width: auto;
  }
  
  .home-container {
    justify-content: center;
    background-position: cover;
  }
  
  .contact-info .title {
    font-size: 30px;
  }
  
  .information {
    font-size: 2rem;
  }
  
  .information .iconG {
    margin-left: 5px;
  }
}

@media (max-width: 480px) {
  .contact-info {
    font-size: 2rem;
  }
  
  .contact-info:before {
    font-size: 2rem;
  }
  
  
  
  form, .contact-info {
    padding: 1.7rem 1.6rem;
    font-size: 2rem;
  }
  
  .text, .information, .social-media p {
    font-size: 0.8rem;
  }
  
  .title {
    font-size: 1.15rem;
  }
  
  .social-icons a {
    width: 30px;
    height: 30px;
    line-height: 30px;
  }
  
  .icon {
    width: 23px;
  }
  
  .input, .btn {
    padding: 0.45rem 1.2rem;
  }
  
  .txt h1 {
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 40px;
  }
  
  .txt p {
    font-size: 16px;
    margin-bottom: 60px;
  }
}

@media (max-width: 450px) {
  
  
  .home-container {
    width: 100%;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .description p {
    color: #b0b0ba;
    padding-top: 2px;
    font-size: 10px;
  }
  
  .description h2 {
    text-transform: uppercase;
    color: #fff;
    font-size: 20px;
  }
  
 
  .dotsbox {
    display: none;
  }
}

@media (max-width: 375px) {
  .txt h1 {
    font-size: 15px;
    margin-bottom: 5px;
  }
  
  .txt p {
    font-size: 16px;
    margin-bottom: 5px;
  }
  
  
  .description p {
    color: #b0b0ba;
    padding-top: 2px;
    font-size: 20px;
  }
  
  .description h2 {
    text-transform: uppercase;
    color: #fff;
    font-size: 15px;
  }
  
  .dotsbox {
    display: none;
  }
}

@media (max-width: 200px) {
  html {
    font-size: 50%;
  }
  
  .home-container {
    width: 100%;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200vh;
  }
  

  
  .caption {
    text-align: center;
    margin-right: 20px;
  }
  
  .containe {
    height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}
