@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital@1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&family=Source+Sans+Pro:ital@1&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 9px;
  /* height: calc(100vh - 150px); */
  background: no-repeat center/cover url('../assets/bg2.jpg');
  height: 100vh;
}

@media (min-width: 400px) {
  body {
    font-size: 12px;
  }

  .menu  a {
    font-size: 1.3em;
    display: block;
    padding: 9px 8px;
    transition: .5s;
  }
  
  .menu a:hover {
    background-color: #fff;
    color: rgb(92, 167, 238);
    border: -3px solid;
    border-radius: 6px;
    box-shadow: 0px 0px 10px 1px #fff ;
  }
  
}

/*  breakpoint */
@media (min-width: 600px) {
  body {
    font-size: 16px;
  }

  menu a:hover {
    background-color: #fff;
    color: rgb(92, 167, 238);
    border: -3px solid;
    border-radius: 6px;
    box-shadow: 0px 0px 10px 1px #fff ;
  }
}

header {
  color: #fff;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;

}

.menu {
  background-color: lightslategray;
  position: fixed;
  width: 100vw;
  
  top: 0;
  font-weight: bold;
  z-index: 99;
  border: -1px solid;
  box-shadow: -1px 1px 10px -1px #fff;
}

.menu {
  opacity: 0.9;
}

.menu a {
  font-size: 1.3em;
  display: block;
  padding: 9px 8px;
  transition: .5s;
}


.menu a:hover {
  background-color: #fff;
  color: rgb(92, 167, 238);
  border: -3px solid;
  border-radius: 6px;
  box-shadow: 0px 0px 10px 1px #fff ;
}

.menu ul {
  display: flex;
  margin: 0px;
  justify-content: space-evenly;
  list-style: none;
}

a {
  height: 44px;
  color: #fff;
  text-decoration: none;
}

.titulo {
  /* transform: scale(0.2) translateY(50vh); */
  /* opacity: 0; */
  animation: ease 2s titulomove  forwards;
}

@keyframes titulomove {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(-10px);
    opacity: 1;
  }
}


.site-subtitle, 
.site-title {
    color: whitesmoke;
    text-align: center;
    padding: 15px 0;
}

.site-title {
  font-size: 4em;
  font-family: 'Montserrat', sans-serif;
}

.site-subtitle {
  font-style: italic;
}

/* Portfolio */

/* @media (min-width: 1200px) {
  .container2{
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
} */


.portfolio-content {
  padding: 2em;
  background-color: rgb(245, 239, 239);
  min-height: 100vh;
}


.port-title {
  font-size: 2em;
  text-align: center;
  padding: 10px 0px;
  line-height: 150px;
}

.sobre {
  background: no-repeat center/cover url('/assets/sobre.jpg');
  padding: 2em;
  min-height: 100vh;
}

.about p{
  display: flex;
  justify-content: space-between;
  padding: 0px 50px;
  text-align: justify;
  animation: text-p 3s ease forwards;
  transition: 1s;
}

@keyframes text-p {
  from {
    opacity: 0;
    transform: translateY(-60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about a {
  margin-right: 40%;
}

.sobre h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 80px;
  line-height: 100px;
  color: #ffffff;
}

.sobre p {
  color: #ffffff;
  font-weight: bold;
  margin-bottom: 1.4em;
  text-align: justify;
}

.sobre a {
  color: rgb(17, 134, 230);
}

.sobre a:hover {
  color: crimson;
  text-decoration: underline;
}

.sobre .avatar {
  float: left;
  margin: 2em;
  transition: 1s;
}

.sobre .avatar:hover {
  transform: scale(1.1);
}

.sobre .avatar img {
  margin-top: -50px;
  width: 450px;
  height: 450px;
  border-radius: 2%;
  object-fit: cover;
  object-position: center;
  clip-path: polygon(75% 0%, 100% 50%, 75% 100%, 0% 100%, 25% 50%, 0% 0%);
  animation: move-img 2s ease forwards;

}

@keyframes move-img {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to{
    opacity: 1;
    transform: translateX(0px);
  }
}


@media (max-width: 500px) {
  .about a {
    margin-right: 10%;
  }
  .sobre .avatar  {
    width: 90%;
    max-width: 950px;
    display: flex;
    justify-content: center;
    align-items: center;
    float: left;
  }

  .sobre .avatar img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);

  }
}

.card-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 0px;
}

.img-card {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 950px;
  padding: 35px 30px;
  flex-wrap: wrap;
}

.img-card p {
  color: gray;
  text-align: center;
  font-size: .9em;
  padding: 10px 20px;
}

.img-portfolio {
  height: 350px;
  width: 100%;
  margin: 0 26px;
  object-fit: cover;
  border-radius: 2%;
  border: -1px solid;
  box-shadow: 3px 2px 2px -1px #000;
  transition: all 1s;
}

@media (max-width: 720px) {
  .img-portfolio {
    height: 210px;
    width: 250px;
  }
}

.img-portfolio:hover {
  transform: scale(1.1);
}

figcaption {
  text-align: center;
  font-weight: bold;
  margin: 30px;
  padding: 10px 0;
  font-size: 19px;
}

@media (max-width: 750px) {
  .portfolio-content {
  }
  .card-content{
    flex-wrap: wrap;
  } 
}

.contato {

  min-height: calc(100vh - 300px);
  background-color: #222;
}

.contato h2 {
  color: #fff;
  text-align: center;
  font-size: 2em;
  padding: 30px 0;
}

.contato .container-icons {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contato .icons {
  padding: 8px 20px;
}

.contato a {
  color: #fff;
  transition: .4s;
}

.contato a:active,
.contato a:hover {
  text-decoration: none;
  text-shadow: 0px 0px 10px  rgb(255, 255, 255);
}
