@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quintessential&display=swap');

a {
    color: inherit;
    text-decoration: inherit;
}

a:visited {
    color: inherit;
    text-decoration: inherit;
}

body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #181818;
}

/* HEADER */
header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;

    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 50vw;
    margin: auto;
    padding: 20px 0;
}

/* MAIN CONTAINERS */
main {
    display: flex;
    flex-direction: column;
    gap: 10vh;
}

main section {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 5vw;

    width: 50vw;
    margin: 50px auto;
}

/* TITLE */
main #title {
    width: 100%;
    height: 89vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1vw;

    font-family: "Quintessential";
    font-size: 50px;
    font-variant: small-caps;
    letter-spacing: 25px;
    text-align: center;
    color: #d8a536;

    position: relative;
}

#title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Degradê usando a paleta */
    background: linear-gradient(180deg,#181818 0%, #ffffff00 15%);
    z-index: -1; /* Fica acima do vídeo, mas abaixo do texto */
}

#title::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Degradê usando a paleta */
    background: linear-gradient(0deg,#181818 0%, #ffffff00 15%);
    z-index: -1; /* Fica acima do vídeo, mas abaixo do texto */
}

main #title video {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100%;
    height: 100vh;
    z-index: -10;

    filter: grayscale(0.5) brightness(50%);
}

/* ABOUT */
main #about {
    font-family: "Quicksand";
    font-weight: 500;
    letter-spacing: 2px;
}

/* SKILLS */
main #skills {
    flex-wrap: wrap;
}

main #skills>div {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* PROJECTS */
main #projects {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 10px;
}

/* BUTTONS */
.btnHeader {
    font-family: "Quicksand";
    font-size: large;
    font-weight: 500;

    border: none;
    background: none;

    transition: all 0.5s;
}

.btnHeader:hover {
    transform: scale(1.15);
    letter-spacing: 3px;
}

.btnAbout {
    height: 3rem;
    width: 15rem;
    margin-top: 20px;

    font-family: "Quicksand";
    font-size: large;
    font-weight: 500;
    letter-spacing: 5px;
    text-align: start;

    border: none;

    transition: all 0.5s;
}

.btnAbout:hover {
    letter-spacing: 15px;
}

.btnProject {
    width: 20vw;
    height: 50vh;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding-left: 1vw;

    border: none;

    transition: all 1s;
}

.btnProject:hover {
    transform: scaleY(1.1);
    border: solid 1px blue;

    font-size: larger;

    transition: all 1s;
}

.btnSocial {
    border: none;
    border-radius: 360px;
    background: none;

    height: 48px;
    width: 48px;

    font-size: 24px;
    color: #fff;

    transition: all 1s;
}

.btnSocial:hover {
    transform: scale(1.5);
}

/* CARDS */
.cardSkill {
    border: solid 1px black;
    width: 250px;
    height: 100px;

    display: flex;
    justify-content: space-around;
    align-items: center;

    font-family: "Quicksand";
}

.cardSkill i {
    font-size: 48px;
    color: inherit;
    text-align: center;
}

#htmlcss i {
    color: #ff9400;
}

#js i {
    color: #f7df1e;
}

#py i {
    color: #0277bc;
}

#sqlite i {
    color: #003b57;
}