/*
Theme Name: Caterina Bevegni Theme
Author: Fernan Mejuto
Description: Custom theme for Caterina Bevegni's website
Version: 1.0
*/

* {
  width: 100%;
  margin: 0;
  font-family: Montserrat;
}

/* Header */


nav,
header {

  display: flex;
  flex-direction: row;
  height: 50px;
  backdrop-filter: blur(8px);
  position: fixed;

}
.logo {
  display: flex;
  align-items: center;
  margin-left: 20px;
  width: 70%;

}
.nav-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;

  width: 30%;
  font-size: 13px;


}
.nav-links li {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 5px;
  background-color: rgba(208, 206, 206, 0.426);
  height: 60%;
  border-radius: 5px;
}
.nav-links li:hover{
  background-color: rgba(208, 206, 206, 0.846);
  transform: scale(1.05) rotate(5deg);

}
.nav-links a {
  list-style: none;
  text-decoration: none;
  color: black;
}
@media screen and (max-width:864px) {
  

  nav, header {
    position:absolute;
    color: white;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 35px;

  }
  .nav-links {
    display: none;
  }
}
@media screen and (max-width:495px) {
 

}
/* Section Hero - Landing */

#hero {
  display: flex;
  flex-direction: row;
  height: 100vh;
  background-color: black;


}
.container1-landing {
  width: 60%;
  background-image: url(/media/6.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-bottom: 2px solid black;

}
.container2-landing {
  color: white;
  width:40%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-bottom: 2px solid black;
  border-left: 2px solid black;
 

}

.intro-text-1 h2{
display: flex;
justify-content: center;
font-size: 70px;


}
.intro-text-2 p {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
@media screen and (max-width:864px) {
  #hero {
    display: flex;
    flex-direction: column;

    width: 100%;
  }
  .container1-landing {
    width: 100%;
    height: 100%;
    border: 0;
    background-image: url(/media/6.png);
    background-size: cover;
    background-position: top;

  }
  .container2-landing {
    display: flex;
    width: 100%;
    border: 0;
    margin-top: 20px;

    padding-bottom: 30px;
  }
  .intro-text-1, .intro-text-2 {
    display: flex;
    width: 80%;
  }
}

/* Services Section */
.services {
  display: flex;
  flex-direction: row;
  
  height: 100%;
  padding-top: 50px;
  padding-bottom: 50px;

  
}
.service-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
  margin: 40px;
  border: 2px solid rgb(0, 0, 0);
  background-color: white;

   transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.service-container:hover{
 box-shadow: rgba(17, 12, 46, 0.293) 0px 12px 25px 0px;
 transform: scale(1.05) rotate(2deg);

}

.service-design {
  display: flex;
  justify-content: center;
  height: 50%;
  width: 70%;
}
.service-design img {
  object-fit: contain;
  width: 100%;
}
.service-title {
  display: flex;
  text-align: center;
  align-items: center;
  height: 10%;
  width: 70%;
  color: black;

}
.service-title h2 {
  font-weight: 900;
}

.service-description {
  display: flex;
  align-items: center;
  text-align: center;
  width: 70%;
  
}
.service-description p {
  font-weight: 200;
  margin: 20px;
}

@media screen and (max-width:864px){
  .services {
    width: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .service-container {
    margin: 0;
    width: 70%;
    box-shadow: none;
    margin-bottom: 40px;
    
  }
  .service-design img {
  width: 80%;
}
.service-title {
  width: 100%;
  color: black;

}
.service-description p {
  margin: 0;
  margin-top: 20px;
  margin-bottom: 20px;
  
}
}
/* Project section */

.projects {
  display: flex;
  flex-direction: row;
  background-color: black ;
  width: 100%;
  height: 100vh;
}

.project-container {
  display: flex;
  flex-direction: column;
  width: 50%;

  margin-top: 150px;
  margin-bottom: 150px;
}


.project-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  height: 100%;

}
.mobile-img {
  display: none;
}

.project-title {
  display: flex;
  align-items: center;
  margin-left: 20px;
  height: 100%;
  color: antiquewhite;
  background-color: black;
  border: 2px solid white;
  
}
.project-title a {
  display: flex;
  color: whitesmoke;
  text-decoration: none;

}
.project-title:hover{
  background-color: rgba(208, 206, 206, 0.846);
  color: black;
  border: 2px solid black;
}


.project-title h3 {
  margin-left: 20px;
  margin-right: 20px;
  height: auto;

}
.project-services {
  display: flex;
  padding-left: 20px;
}
.project-container p {
  font-size: 0.8rem;
  color: rgb(126, 126, 126);
}


.project-img-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%;
  margin: 0px 20px 0px 20px;


}
.project-img-container img {
width: 100%;
box-shadow: rgba(17, 12, 46, 0.164) 0px 12px 25px 0px;

}


@media screen and (max-width:864px) {
  .projects {
    height: 100%;
    width: 100%;
  }
  .project-img-container {
    display: none;
    margin: 0;
    width: 0;
  }
  .project-container {
    width: 100%;
    height: 100%;
    margin-top: 50px;
    margin-bottom: 50px;
  }
  .project-item {
    display: flex;
    text-align: center;
    flex-direction: column;
  }
  .project-title {
    margin-left: 0;
    width: 70%;

  }
  .project-services {
    margin-top: 10px;
  }
  .mobile-img {
    display: flex;
    justify-content: center;
    height: auto;
  }
  .mobile-img img {
    width: 60%;
    margin-bottom: 20px;
    margin-top: 20px;
  }
}

/* Footer section */

.footer {
  width: 100%;
  height: 100px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color:rgba(208, 206, 206, 0.846);
  height: auto;
}
.footer .logo {
  display: flex;
  flex-direction: column;
  text-align: center;
  flex: 1;

}
.footer .logo p {
  font-size: 14px;
}
.footer a {
  color: black;
  font-weight: 300;
  font-size: 0.8rem;
}
.contact {
  display: flex;
  align-items: center;
  justify-content: end;
  margin-right: 20px;
  flex: 1;

}
.contact a {
  display: flex;
  justify-content: flex-end;
  text-decoration: none;
}
.contact button {
  height: 50px;
  background-color: black;
  color:antiquewhite;
  border: 2px solid rgb(181, 179, 179);
  width: 50%;
  border-radius: 10px;
  cursor: pointer;
}
.contact button:hover{
  background-color: rgb(184, 181, 181);
  color: black;
  border: 2px solid rgb(93, 92, 92);
  box-shadow: rgba(17, 12, 46, 0.164) 0px 12px 25px 0px;
  transform: scale(1.05);
}
.copyright {
  display: flex;
  flex: 1;
  margin-left: 20px;
  text-align:left;

}

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


  .footer {
    flex-direction: column-reverse;
  }
  
  .contact {
    display: flex;
    margin: 0;
    justify-content: center;
    margin-top: 10px;
  }
.contact a {
  justify-content: center;
}
.logo {
  margin-bottom: 10px;
  margin-top: 10px;
  margin-left: 0;

}
.copyright {
    display: flex;
    text-align: center;

  }
}