@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Roboto:wght@100;300;400;500;700;900&family=Source+Sans+Pro:wght@200;300;400;600;700;900&display=swap');

/* INITIALS */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  position: relative;
}

html {
  scroll-behavior: smooth;

}

body {
  background-color: #0D0F11;
  overflow-x: hidden;
	overflow-y: auto;
 
}

main {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 50px);
}

/* HEADER */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 35px;
  position: relative;
  background-color: #0D0F11;
  width: 100%;
  transition: 0.3s;
}

.logo a {
  display: block;
}

.logo a img {
  display: block;
  width: 100%;
}

.header-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 35px;
  position: relative;
  background-color: #0D0F11;
  width: 100%;
  transition: 0.3s;
}

.logo-qr a {
  display: flex;
  width: 100%;
}

.logo-qr a img {
  width: 100%;
}

.menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-list {
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center; 
  z-index: 1;
  transition: 0.5s;
}

.nav-list a {
  cursor: pointer;
  text-decoration: none;
  color: #508486;
  display: block;
  padding: 40px 25px;
  font-size: 18px;
  line-height: 1;
  transition: 0.3s;
}

.nav-list a:hover{
  opacity: 1;
  color: lightgray;
}

.hamburger {
  position: relative;
  width: 30px;
  height: 4px; 
  background: #508486;
  border-radius: 10px;
  cursor: pointer;
  z-index: 2;
  transition: 0.3s;
}
.hamburger:before,.hamburger:after {
  content: "";
  position: absolute;
  height: 4px;
  right: 0;
  background: #508486;
  border-radius: 10px;
  transition: 0.3s;
}
.hamburger:before {
  top: -10px;
  width: 20px;
}
.hamburger:after {
  top: 10px;
  width: 25px;
}

.toggle-menu {
  position: absolute;
  width: 30px;
  height: 100%; 
  cursor: pointer;
  z-index: 3;  
  opacity: 0;
}

.hamburger,.toggle-menu {
  display: none;
}

.menu input:checked ~ .hamburger {
  background: transparent;
}

.menu input:checked ~ .hamburger:before {
  top: 0;
  transform: rotate(-45deg);
  width: 30px;
}

.menu input:checked ~ .hamburger:after {
  top: 0;
  transform: rotate(45deg);
  width: 30px;
}

.menu input:checked ~ .nav-list {
  right: 0;
}

/* HOME */

section#home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
  position: relative;
  width: 100%;
  background-color: #508486;
  box-shadow: 2px 2px 2px rgba(255, 255, 255, 0.2);
  transition: 0.3s;
  margin-top: 20px;
}

.home-info {
  width: 70%;
  display: flex;
  flex-direction:column;
  gap: 15px;
  text-align: justify;
  margin-left: 80px;
  margin-top: 5px;
  margin-bottom: 5px;
  color: lightgray;
}

.home-img {
  width: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-img img {
  width: 250px;
  height: 250px;
  box-shadow: 0 10px 10px;
  border-radius: 50%;
  margin-top: 8px;
  margin-bottom: 12px;
}

/* CERTIFICACOES */

section#projects {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
  position: relative;
  width: 100%;
  color: lightgray;
  transition: 0.3s;
  flex-direction: column;
  margin-top: 10px;
}

.cert {
  position: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 5px;
}

.project-img {
width: 50%;
}

.project-img img {
  object-fit: cover;
  width: 200px;
  height: 200px;
  margin-top: 10px;
}

.project-info {
  display: flex;
  flex-direction: column;
  text-align: start;
  width: 50%;
  margin-top: 10px;
}

.project-info a {
  cursor: pointer;
  text-decoration: none;
  color: #508486;
  font-size: 16px;
  transition: 0.3s;
}

.swiper {
  width: 95vw;
  height: 350px;
}

.swiper-slide {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 30px;
}

.swiper-button-next, 
.swiper-button-prev {
  color: #508486;
}

.swiper-pagination-bullet-active {
  background-color: #508486 ;
}


/* SOCIAIS */

section#social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
  position: relative;
  width: 100%;
  background-color: #508486;
  transition: 0.3s;
  flex-direction: column;
}

.social-img {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-img img {
  width: 250px;
  height: 250px;
  box-shadow: 0 10px 10px;
  border-radius: 50%;
  margin-top: 15px;
  margin-bottom: 12px;
}

.social-icon {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon img {
  width: 100px;
  height: 100px;
  margin-top: 20px;
  margin-bottom: 12px;
}


/* QR */

section#qr {
  display: flex;
  align-items: center;
  padding: 0 25px;
  position: relative;
  width: 100%;
  transition: 0.3s;
  flex-direction: column;
}

.qr-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-img img {
  width: 350px;
  height: 350px;
  margin-top: 150px;
}

/* CONTATO 

#contact {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

#contact form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  width: 100%;
  padding: 5px 20px;
}

input, textarea, button {
  box-shadow: 0 1px 2px #ddd;
  border: none;
  padding: 10px;
  border-radius: 5px;
  outline: none;
  resize: none;
}

#contact form button {
  background-color:#508486;
  color: white;
  font-size: 18px;
  cursor: pointer;
  opacity: 0.9;
}

#contact form button:hover{
  opacity: 1;
}

*/

/* FOOTER */

footer {
  box-shadow: 0px -1px 0px 0px #508486;
  text-align: center;
  color: lightgray;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  padding: 0 25px;
  width: 100%;
  transition: 0.3s;
  margin-top: auto;
  height: 100px;
}

.footer-info {
  display: flex;
  text-align: center;
  color: lightgray;
  margin-top: 20px;
}

.footer-img {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  margin-left: 40px;
}

.footer-img img {
  width: 50px;
  height: 50px;
}


/* MOBILE */

@media (max-width: 992px) {

.hamburger,.toggle-menu {
    display: block;
}

.header {
  padding: 10px 20px;
}

.nav-list {
    justify-content: start;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0;
    right: -300px;
    background: #0D0F11;
    width: 300px;
    height: 100%;
    padding-top: 65px
}

.nav-list a {
    width: 100%;

}

section#home {
    flex-direction: column-reverse;
    justify-content: center;
    display: flex;
    align-items: center;
    align-content: center;
    text-align: center;
}

.home-info, .home-img {
  margin-left: 0px;
  width: 100%;
  margin-bottom: 10px;

}

.home-info h2 {
  text-align: center;
}

section#projects {
  justify-content: center;
  display: flex;
  align-items: center;
  align-content: center;
  text-align: center;
  padding: 0;
}

.swiper {
  height: 400px;
}

.swiper-slide {
    flex-direction: column-reverse;
    gap: 20px;
}

.project-img {
    width: 100%;
}
 
.project-info {
    width: 100%;
    text-align:center;
    margin-left: 0;

}

.qr-img img {
  width: 300px;
  height: 300px;
}

}