* {
  text-align: center;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  padding: 80px;
}

div {
  margin: 1px;
}

p {
  font-size: 1.2rem;
  margin-top: 1.2rem;
}

#perfil {
  margin:  0 auto 2rem auto;
}

#perfil-image {
  width: 16rem;
  border-radius: 50%;
  transition: 0.2s;
}

#perfil-image:hover {
  transform: scale(1.1);
}

#name {
  margin: 0;
  font-size: 2rem;
  transition: 0.2s;
  color: white;
}

#name:hover {
  opacity: 0.8;
}

span {
  opacity: 100;
  color: rgb(255, 255, 255);
  transition: 0.2s;
}

span:hover {
  opacity: 0.8;
}

#grid-container {
  display: grid;
  grid-gap: 60px 20px;
  grid-template-columns: repeat(2, 40%);
  grid-template-rows: repeat(3, 6rem);
  justify-content: center;
}

.grid-item {
  border-radius: 30px;
  background-color: #fdcc29;
  cursor: pointer;
  transition: 0.5s;
}

.grid-item:hover {
  background-color: #ffffff;
  transform: scale(1.1);
}

i {
  font-size: 4rem;
  margin: 15px;
  color: rgb(255, 255, 255);
  transform: 0.5s;
}

a {
  font-size: 2rem;
}

html{
    height: 100vh;
    font-size: 14px;
}

.container{
    height: 100%;
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    color: #000000;
}

a{
    text-decoration: none;
    color: #000000;
}

.degrade{
    background: linear-gradient(to right, #f8bd1c, #ffa600);
}

/* ESTILO DOS BOTÕES */

section.botoes-links{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

a.link button{
    width: 100%;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    cursor: pointer;
    color: #ffffff;
    transition: .2s;
}

a.link i{
    font-size: 1.5em;
}

a.link button:hover, footer a.btn-footer:hover{
    transform: scale(1.05);
}

/* ESTILO DO FOOTER */

footer{
    text-align: center;
    margin: 30px;
}

footer a.btn-footer{
    width: 60px;
    height: 60px;
    display: inline-block;
    font-size: 2em;
    line-height: 60px;
    border-radius: 50%;
    margin: 0 10px;
    transition: .2s;
}

@media screen and (max-width: 480px) {
  a.link button {
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 1em;
    padding: 15px;
  }

  a.link i {
    font-size: 1.2em;
  }
}

 /* PORTFÓLIO */

.carousel-container {
  perspective: 240px;
  text-align: center;
}

.carousel {
  width: 300px;
  height: 200px;
  position: relative;
  transform-style: preserve-3d;
  transform: translateZ(-288px);
  transition: transform 1s;
  margin: 0 auto;
}

.carousel img {
  width: 280px;
  height: 180px;
  position: absolute;
  left: 10px;
  top: 10px;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.controls {
  margin-top: 30px;
}

.controls button {
  padding: 10px 20px;
  margin: 0 10px;
  font-size: 1em;
  border: none;
  border-radius: 10px;
  background-color: #f8c436;
  color: white;
  cursor: pointer;
  transition: background 0.3s;
}

.controls button:hover {
  background-color: #fcb532;
}
