@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Playwrite+PL:wght@100..400&display=swap');

html,body{
    overflow-x: hidden;
}

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

body{
    font-family: cursive;   
    background-color: #f8f3f3;
}

main{
    margin-top: 80px;
}

.home{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 50px;
    width: 100%;
    height: 649px;
    padding: 10px;
    background-color: #f8f3f3;
    color: #2e2e2e;
    position: relative;
}
/*imagem do batman e o fundo uni*/
.imgbox{
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 35%;
    height: 400px;
}

.main-img{
    width: 100%;
    height: auto;
    animation: float 4s ease-in-out infinite;
}

#splash{
    border-radius: 20px;
    width: 130%;
    top: -10%;
    left: -10%;
    opacity: 0.6;
    padding-right: 50%;
}

/* Home */
.home{
    position: relative;
    overflow: hidden;
}

.home h3{
    color: #2e2e2e;
    font-size: 23px;
}
.home h3>span{
    color: purple;
}

.home h1{
    font-size: 35px;
}

.breve{
    width: 500px;
    padding: 10px;
}

.home p{
    font: bolder;
    font-size: 20px;
    text-align: justify;
}

.typed-text{
    color: rgb(119, 0, 255);
    text-decoration: underline;
}

.seta{
    margin-left: 50px;
    margin-right:  50px;
    display: flex;
    padding: 0 50px;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.seta a{
    color: #444444;
    text-decoration: none;
}

.sobre{
    width: 100%;
    height: 100%;
    background-color: #f6e7ac;
    padding: 10px;
}

.sobre h1{
    padding-top: 30px;
    padding-bottom: 30px;
    font-size: 6.1rem;
    text-align: center;
    text-decoration: underline;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.sobre p{
    text-align: justify;
    text-align: center;
    font: bolder;
    font-size: 20px;
    padding-bottom: 20px;
}

/* Container principal */
.habilidades {
    display: flex;
    justify-content: space-between; /* Separa título e ícones */
    align-items: flex-start; /* Alinha no topo */
    padding: 20px 50px;
    background-color: #444444;
    position: relative;
}

/* Título */
.habilidades h1 {
    font-size: 6.1rem;
    text-decoration: underline;
    text-decoration-color: purple;
    margin: 0;
}

/* Grid de ícones */
.icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colunas */
    gap: 30px;
    font-size: 5rem;
    color: #d8d8d8;
    transition: transform 0.5s ease;
}

#html:hover{
    color: #d8d8;
    transform: scale(1.1);
}

#css:hover{
    color: #d8d8;
    transform: scale(1.1);
}

#js:hover{
    color: #d8d8;
    transform: scale(1.1);
}

#git:hover{
    color: #d8d8;
    transform: scale(1.1);
}

#boot:hover{
    color: #d8d8;
    transform: scale(1.1);
}

/*Contato*/
.contato{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #686767;
}
.inputs{
    border: 2px solid black;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 50px;
    padding: 50px;
}
.contato h1{
    display: flex;
    justify-content: flex-start;
    text-decoration: underline;
    align-items: center;
    text-align: center;
}
.contato p{
    font: bolder;
}
#name{
    margin-bottom: 10px;
    border-radius: 20px;
    display: flex;
    padding: 6px;
    justify-content: flex-start;
    align-items: flex-end;
    text-align: center;
}
#email{
    border-radius: 20px;
    display: flex;
    padding: 6px;
    justify-content: center;
    align-items: center;
    text-align: center;
}
#msg{
    border-radius: 20px;
    display: flex;
    padding: 6px;
    justify-content: center;
    align-items: center;
    text-align: center;
}
#button{
    width: 90px;
    padding: 5px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}