@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

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

body {
    font-family: "Roboto", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #151515;
    width: 100vw;
    min-height: 100vh;
    
}

a {
    text-decoration: none;
}
/* Tela de Loading  */

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #151515;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#loading-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--color-blue);
}

#loading-text {
    position: absolute;
    color: var(--color-white);
    font-size: 3rem;
    z-index: 10;
}


:root {
    --color-blue: #2043ad;
    --color-black: #202020;
    --color-white: #fafafa;
}

.container {
    display: inline;
    border-radius: 20px;
    width: 95%;
    max-width: 400px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.content {
    min-width: 320px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.widget1 {
    width: 100%;
    height: 16%;
    background-color: var(--color-black);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.widget1 img {
    width: 100%;
    border-radius: 8px;
    border: #ffffff 2px solid;

}

.info-user {
    width: 80%;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
    text-align: left;
    gap: 0.6rem;
}

.img-user {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.name-user h1 {
    font-size: 1.2rem;
    color: var(--color-white);
    padding-bottom: 0.2rem;
    font-weight: bold;
}

.name-user span {
    color: #fafafab4;
    font-size: 0.8rem;
}
.widget2 {
    height: 100%;
    height: 32%;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.tread {
    border-radius: 12px;
    background-color: var(--color-black);
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    gap: 0.8rem;
}

.text-tread {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-tread h1 {
    padding-bottom: 0.3rem;
    color: var(--color-white);
    font-weight: bold;
    font-size: 1rem;
}

.text-tread span {
    color: #fafafab4;
    font-size: 0.8rem;
}

.img-tread {
    width: 100%;
    height: 150PX;
}

.img-tread img {
    width: 100%;
    height: 100%;
}

.redes-sociais {
    border-radius: 12px;
    width: 50%;
    height: 185px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.redes-sociais a {
    background-color: var(--color-black);
    border-radius: 10px;
    width: 45%;
    height: 45%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.redes-sociais i {
    font-size: 2.8rem;
    color: var(--color-white);
}

.redes-sociais .whatsapp:hover i {
    color: #1be800;
    transition: color 0.3s;
}

.redes-sociais .instagram:hover i {
    color: #E1306C;
    transition: color 0.3s;
}

.redes-sociais .github:hover i {
    color: #000;
    transition: color 0.3s;
}

.redes-sociais .linkedin:hover i {
    color: #0077B5;
    transition: color 0.3s;
}

.widget3 {
    width: 100%;
    height: 16%;
    background-color: var(--color-black);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hard-skills {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 0.4rem;
}

.destaque {
    color: var(--color-white);
    font-weight: bold;
    font-size: 1rem;
    padding-bottom: 0.3rem;
}

.skills-icons {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skills-icons i {
    color: #fff;
    font-size: 1.4rem;
    transition: color 0.3s;
}

.skills-icons i:hover {
    cursor: pointer;
}

.skills-icons .fa-html5:hover {
    color: #e34f26;
}

.skills-icons .fa-css3-alt:hover {
    color: #1572b6;
}

.skills-icons .fa-js:hover {
    color: #f7df1e;
}

.skills-icons .fa-node:hover {
    color: #339933;
}

.skills-icons .fa-php:hover {
    color: #777bb4;
}

.skills-icons .fa-github:hover {
    color: #000000;
}
.skills-icons .fa-database:hover{
    color: #dada00;
}

.widget4 {
    width: 100%;
    height: 16%;
    background-color: var(--color-black);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-black);
    padding: 1rem;
}

.meu-portifolio {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: .8rem;
}

.meu-portifolio img {
    width: 50px;
    height: 50px;
}

.meu-portifolio h1 {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--color-white);
}
.widget5 {
    width: 100%;
    height: 16%;
    background-color: var(--color-black);
    border-radius: 12px;

    color: var(--color-white);
    padding: 1rem;
}

.widget5 h1 {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--color-white);
}

/* ANIMAÇÕES */
.widget1,
.widget2,
.tread,
.box-social,
.widget4,
.widget5 {
    transition: transform 0.3s ease;
}

.widget1:hover,
.widget2:hover,
.tread:hover,
.box-social:hover,
.widget4:hover,
.widget5:hover {
    transform: translateY(-5px);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.meu-portifolio img{
    animation: pulse 3.5s infinite ease-in-out;
}
@media only screen and (min-width: 1025px){
    .container {
        max-width: 550px;
    }
    .tread {
        display: none;
    }
    .widget2{
        height: 34%;
    }
    .widget3 {
        height: 13%;
    }
    .redes-sociais a {  
        height: 90%; 
        width: 22%;
    }
    .redes-sociais {
        display: flex;
        align-items: center;
        justify-content: space-around;
        width: 100%;
        height: 80px;
    }
    .widget4 {
        height: 4%;
    }
    .content {
        min-width: 360px;
    }
    .widget1 {
        height: 45%;
        padding: 1.3rem;
    }
    .widget2 {
        height: 50%;
    }
    .img-user {
        width: 70px;
        height: 70px;
    }
    .name-user h1 {
        font-size: 2rem;
    }
    
    .name-user span {
        font-size: 1.3rem;
    }
    .widget3 {
        width: 100%;
        height: 25%;
        border-radius: 12px;
        padding: 1rem;
    }
    .destaque {
        color: var(--color-white);
        font-weight: bold;
        font-size: 1.5rem;
        padding-bottom: 0.2rem;
    }
    
    .skills-icons {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .skills-icons i {
        color: #fff;
        font-size: 1.8rem;
        transition: color 0.3s;
    }

    
    .meu-portifolio img {
        width: 52px;
        height: 52px;
    }
    
    .meu-portifolio h1 {
        font-size: 2rem;
    }
    .widget5 {
        height: 20%;
    }
    
    .widget5 h1 {
        font-size: 1.7rem;
    }
    .widget5 p{
        font-size: 1rem;
    }
}