html, body{width: 100%; height: 100%; padding: 0; margin: 0;}


body{
    padding-bottom: 100px;
    margin-bottom: 100px;
    background: white !important;
    background-size: cover;
}

#container{
    box-shadow: none !important;
    width: 100% !important;
    padding: 0 !important;
}

/*Formatação do sobre mim*/

#about{
    width: 100%;
    display: grid;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    height: 100vh;
    background: url(../images/background-start-portfolio.png) center no-repeat;
    background-size: cover;
}

@keyframes appear {
    0%{opacity: 0; transform: translateX(-20px);}
    100%{opacity: 1;}
}

#about *{
    animation: appear 1s;
    transition: all .3s;
}

.name{
    grid-area: 2 / 1;
    justify-self: center;
}

.name h1{
    text-align: left !important; 
    color: var(--secon);
}

.medias{
    align-self: end;
    grid-area: 3 / 1;
}

.web-dev{
    color: white;
    grid-area: 2 / 2;;
}

#about h1{
    text-transform: uppercase;
    margin: 0;
    font-size: 60px;
    text-align: center;
}

#about div p{
    margin: 0;
    text-align: center;
}

.medias *{
 padding: 0 0 10px 10px;
}
/*Formatação de Educação*/

#escolas{
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    flex-wrap: wrap;
    margin: 20px;
    gap: 5%;
    margin-bottom: 60px;

}

@keyframes floating {
    0%, 100%{transform: translateY(00px)}
    50%{transform: translateY(30px)}
}

.escola{
    width: 300px;
    min-height: 650px;
    height: 750px;
    padding: 50px;
    box-shadow: 0 0 20px rgba(0, 0, 0, .25);
}

.floating{
    animation: floating 5s infinite ease-in-out;
}

.escola:nth-child(1){background: url(../images/fundo-escolaS.png) bottom left no-repeat; background-size: cover;}
.escola:nth-child(2){background: url(../images/fundo-senac.png)   bottom left no-repeat; background-size: cover;}
.escola:nth-child(3){background: url(../images/fundo-udemy.png)   bottom left no-repeat; background-size: cover;}

.escola              img{width: 100px;}
.escola:nth-child(2) img{width: 150px;} /*Logo do senac é horizontal, então aumentei seu tamanho*/

.escola-imagem{
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.escola h1{
    font-size: 40px;
    margin-bottom: 0;
}

.escola h3{margin-top: 0;}

#senai span:nth-child(1){color: #3cb7a8;}
#senai span:nth-child(2){color: #7373b4;}
#senac span:nth-child(1){color: #f78b1f}
#senac span:nth-child(2){color: #005594;}
#udemy{color: #a435f0;}

.data{
    position: relative;
}


.data::before{
    content: "";
    width: 100%;
    position: absolute;
    height: 2px;
    top: 10px;
    left: 0;
    background-color: black;
}

.data span{
    background-color: white;
    padding: 0 10px;
    position: relative;
}

.data-inicio{float: left;}
.data-fim{float: right;}

.intro{
    clear: both;
    text-align: justify;
    padding-top: 10px;
}

/*Formatação habilidades*/

#habilidades{
    display: flex;
    justify-content: space-between;
}

#items{
    display: flex;
    justify-content: space-evenly;
}

#items div{
    padding: 20px;
    display: flex;
    justify-content: center;
}

#items div:hover{
    background-color: rgb(250, 250, 250);
}

@keyframes spin {
    0% {rotate: 0deg;}
    50% {rotate: 180deg;}
    100% {rotate: 360deg;}
}

.track {
    flex: 3;
    position: relative;
    width: 600px;
    height: 600px;
    margin: 100px auto;
}

.element{
    position: absolute;
    left: calc(50% - 30px);
    top: calc(50% - 30px);
    height: 60px;
    width: 60px;
    animation: spin 15s linear infinite;
}

.element img:hover{
    transition: all 1s ease;
}

.element img{
    rotate: 90deg; 
    height: 100px;
    
}

.element:nth-child(1) {transform: translateX(300px);}
.element:nth-child(2) {transform: rotate(060deg) translateX(300px);}
.element:nth-child(3) {transform: rotate(120deg) translateX(300px);}
.element:nth-child(4) {transform: rotate(180deg) translateX(300px);}
.element:nth-child(5) {transform: rotate(240deg) translateX(300px);}
.element:nth-child(6) {transform: rotate(300deg) translateX(300px);}

#middle{
    width: 60%;
    position: absolute;
    left: 20%;
    top: 35%;
    text-align: center;
}

#title{
    font-size: 40px;
    transition: all .2s ease;
}

#habs{
    padding: 50px;
    flex: 2;
    width: 100%;
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-direction: column;
}

.hab{
    padding: 10px 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, .25);
    text-align: justify;
}

.hab h2{
    text-align: center;
}
/*Formatação contato*/

#contact{
    height: 100vh;
    display: flex;
    background: url(../images/background-end-portfolio.png) no-repeat;
    background-size: cover;
}


#contact #c-right{
    display: flex;
    flex-direction: column;
}

#c-left{ flex: 4;}
#c-right{ flex: 5;}

#c-right .top{
    flex: 1;
}

#c-right .middle{
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#c-right .middle h1{
    margin: 0;
    font-size: 40px;
}

#c-right .bottom{
    flex: 1;
}

.contacts{
    width: 70%;
    height: 20%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.contacts div{
    display: flex;
    padding: 0 20px;
    align-items: center;
}

.contacts div:nth-child(even){
    flex-direction: row-reverse;
}

.contacts div a{
    font-weight: bold;
    display: flex;
    align-items: center;
}

.contacts div i{
    margin: 0 20px;
}

