@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;900&display=swap');
:root{
    --bg-color: #16151f;
    --font-color-white: white;
    --font-color-titles: #C18C92;
    --font-size: 90.6%;
    --font-size-media: 50%;
    --border-color: #312F34;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
}
a{
    color: var(--font-color-white);
}
html{
    font-size: var(--font-size);
}
body{
    background-color: var(--bg-color);
    color: var(--font-color-white);
    text-align: center;
}
.title, .subtitle{
    text-transform: uppercase;
}
.subtitle{
    font-size: 1.3rem;
}
.title{
    font-size: 2rem;
    color: var(--font-color-titles);
}
.container-titles{
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    border-bottom: 2px solid var(--border-color);
    padding: 20px;
}

.container-projects{
    width: 90%;
    margin: auto;
    display: flex;
    overflow-x: hidden;
}

.container-project{
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    box-shadow: 1px 2px 2px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 1100px;
    margin: auto;
    
}
.details{
    position: absolute;
    bottom: 0;
    left: 0;
    height: 20vh;
    background-color: hsl(320, 10%, 5%, 0.8);
    width: 100%;
    color: black;
    padding: 10px 20px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    transform: translateY(170px);
    transition: 0.5s ease-out;
}
.title-project, .desc-project{
    color: var(--font-color-white);
}
.desc-project{
    font-size: 1rem;
    height: 50px;
}
.title-project{
    font-weight: 900;
    font-size: 1.4rem;
    text-shadow: 1px 1px 1px black;
}
.figure-project, .figure-project img{
    width: 100%;
    max-width: 1100px;
    border-radius: 20px;
}
.figure-project{
    display: flex;
    align-items: center;
    justify-content: center;
}
.github, .play{
    font-size: 1.6rem;
}
.play{
    margin-left: 20px;
}
.github:hover, .play:hover{
    color: var(--font-color-titles);
}
.container-links div{
    width: 100%;
    display: flex;
    justify-content: center;
}
.container-links{
    display: flex;
}
.container-project:hover .details{
    transform: translateY(0);
}
#previous, #next{
    font-size: 2rem;
    cursor: pointer;
}
.slide{
    display: none;
}
.container-arrows-projects{
    display: flex;
    align-items: center;
    padding: 20px;
}

@media(max-width: 600px){
    html{
        font-size: var(--font-size-media) !important;
    }
    .details{
        height: 15vh;
    }
}