/* Aula inicial :D */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #7417a9;
  --color-secondary: #2E073F;
  --color-black: #121214ff;
  --green-color: #2bab87;
  --purple-color: #8234e9;
  --color-brown: #271616;
  --color-darkbrown: #1b0e0e;
  --footer-color: #E05757;
}

body {
  background-attachment: fixed;
  /* 5 */
  background-repeat: no-repeat;
  background-size: auto 100vw;
  font-family: 'Ubuntu', sans-serif;
  font-size: 14px;
}

/* Telas responsivas 
 * Se a tela do dispostivo tiver 400px
 * vai carregar esses estilos
**/
@media (min-width: 400px) {
  body {
    background-color: var(--color-secondary);
    font-size: 14px;
  }
}

/* Breakpoint */
@media (min-width: 600px) {
  body {
    /* background-color: #211452; */
    background-color: var(--color-secondary);
    font-size: 18px;
  }
}

@media (min-width: 1200px) {
  body {
    background-color: var(--color-brown);
    font-size: 18px;
  }
}

/* Cabeçalho da Página */
header {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Barra de Navegação | Menu */

.menu {
  background-color: var(--footer-color);
  box-shadow: 0px 0px 10px black;
  padding: 10px;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 1;
}

.menu li {
  list-style: none;
}

.menu ul {
  display: flex;
  justify-content: right;
}

.menu a {
  display: block;
  padding: 10px 20px;
  transition: background-color 0.5s, color 0.3s;
}

.menu a:hover {
  color: var(--color-darkbrown);
  /* color: #F8E000; */
  /* background-color: #211452; */
}

a {
  color: white;
  text-decoration: none;
}
/* Fim Barra de Navegação */

/* Animação Título */
.title {
  animation: 1s ease-in 500ms tituloAnimacao forwards;
  transform: scale(0.2) translateY(50vh);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@keyframes tituloAnimacao {
  from {
  transform: scale(0.2) translateY(50vh);
  opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
} /* Fim animação */

/* Título  e Subtítulo */
.site-subtitle,
.site-title {
  color: #fff;
  text-align: center;
}

.site-title {
  font-size: 4em;
  font-family: 'Ubuntu', sans-serif;
  width: 600px;
}

.site-subtitle {
  border-bottom: 2px solid rgba(red, green, blue, alpha);
  font-family: 'Ubuntu', sans-serif;
  font-style: italic;
  line-height: 1.4em;
  width: 250px;
}



/* Estilização das Páginas */
.sobre,
.contato,
.portfolio {
  padding: 2em;
  min-height: 100vh;
}

/* Telas responsivas 
 * Se a tela do dispostivo tiver 400px
 * vai carregar esses estilos
**/

@media (min-width: 1500px) {
 .container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
  }
}

/* Páginas */
.sobre h2,
.contato h2,
.portfolio h2 {
  color: whitesmoke;
  font-family: 'Ubuntu', sans-serif;
  font-size: 2em;
  margin: 1.5em;
}

.sobre {
  /*background-color: #F15922;*/
  /* background-color: rgba(7, 7, 7); */
  background: var(--color-darkbrown);
}

.sobre p {
  color: whitesmoke;
  margin-bottom: 1.4em;
  text-indent: 1.4em;
  text-align: justify;
}

.sobre p {
  color: #FFFFFF;
  font-family: 'Source Code Pro', monospace;;
  margin-bottom: 1.4em;
  text-align: justify;
  text-indent: 1.5em;
}

.sobre a {
  color: #F15922;
  text-decoration: underline;
}

.sobre a:hover {
  color: #F8E000;
  text-decoration: none;
  background-color: #0d0047;
}

/* Foto de Perfil */
.sobre .avatar img {
  clip-path: polygon(100% 0%, 86% 48%, 100% 100%, 25% 100%, 0% 50%, 25% 0%);
  /* clip-path: polygon(50% 0%, 80% 10%, 100% 35%, 100% 70%, 80% 90%, 50% 100%, 20% 90%, 0% 70%, 0% 35%, 20% 10%); */
}

.sobre .avatar {
  float: right;
  margin-left: 2em;
}

/* Portfolio Galeria de Imagens*/
.portfolio .grid {
  display: grid;
  gap: 3em;
}

.portfolio figure {
  text-align: center;
  line-height: 2em;
}

.portfolio h3{
  color: whitesmoke;
  font-family: 'Ubuntu', sans-serif;
  font-size: 1em;
  margin-bottom: 2em;
}

@media (min-width: 560px) {
  .portfolio .grid {
    grid-template-columns: 240px 240px;
  }
}

@media (min-width: 880px) {
  .portfolio .grid {
    grid-template-columns: repeat(2, 260px);
    align-content: center;
    justify-content: center;
    height: calc(100vh - 8em - 48px);
  }
}

.grid {
  margin-top: 150px;
}

.img-portfolio {
  border-radius: 10px;
  height: 200px;
  object-fit: cover;
  object-position: left bottom;
  transition: transform 500ms;
  width: 280px;
}

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

.portfolio {
  /* background-color: #0d0047; */
  background-color: var(--color-brown);
}

.contato {
  /* background-color: #F15922; */
  background-color: var(--footer-color);
}

.contato .icons {
  text-align: center;
}


.contato a {
  color: whitesmoke;
  font-size: 4em;
  transition: text-shadow 0.3s;
}
.contato a:active, /*Sempre lembrar da vírgula quando passar mais de um valor... =) */
.contato a:hover {
  text-decoration: none;
  text-shadow: 0px 0px 10px whitesmoke;
}

.descricao {
  text-align: center;

}

/* Rodape */

.rodape  {
  padding: 10px;
  text-align: center;
}

.txtinformacao {
  color: #FFF;
}

.rodape {
  /* background-color: #0d0047; */
  background-color: var(--color-brown);
}

.txtrodape {
  color: dimgrey;
  font-size: 12px;
  line-height: 2em;
}