@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    padding: 0;
    margin: 0;
    outline: none;
    border: none;
    box-sizing: border-box;
}

body{
    user-select: none;
    font-family: 'Poppins', sans-serif;
    background-color: #18181B;
}

a{
    text-decoration: none;
    display: inline-block;
}

nav{
    max-width: 1200px;
    margin: auto;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}


.btn{
    padding: 1rem 2rem;
    font-size: 1rem;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

a .btn:hover{
    background-color: #5a5a5a;
}

nav button{
    color: #ccc;
    background: transparent;        
    outline: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

  /* CONTAINER */

.container-1{
    max-width: 1200px;
    margin: 25px auto 50px auto;
    padding: 2rem 2rem;
}

section .header{
    margin-bottom: 1rem;
    color: #fff;
    text-align: center;
    font-size: 2.25rem;
    font-weight: 600;
}

/* PROJECTS */

.projects{
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.projects .card{
    padding: 3rem 2rem;
    background-color: #27272a;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.projects .card:hover{
    background-color: #323232;
    border-color: #fff;
}

.projects .card .content{
    flex: 1;
    margin-bottom: 2rem;
}

.projects .card h4{
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
}

.projects .card h3{
    color: #fff;
    padding-bottom: 1rem;
    font-size: 2rem;
    font-weight: 600;
}

.projects .card p{
    color: #fff;
    margin-bottom: 0.75rem;
}

.projects .card p i{
    color: #ccc;
    font-size: 1.2rem;
    margin-right: 0.3rem;
}

.projects .card button{
    color: #fff;
    background-color: transparent;
    border: 2px solid #fff;
    display: inline-block;
}

.projects .card button:hover{
    background-color: #5a5a5a;
    border-color: #5a5a5a;
}




/* COPYRIGHT */
.copyright {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 3rem;
    color: #838383;
    font-size: 1.2rem;
    text-align: center;
}

  /* BACK */

.back {
    display: flex;
    justify-content: space-evenly;
    text-align: center;
    margin-top: 2rem;
}

.back-click {
    color: #838383;
}

.back-click:hover {
    color: #5a5a5a;
}


  /* PAGES */

.btns-pages {
    justify-content: center;
    font-size: 16px;
    display: flex;
    text-align: center;
    align-items: center;
}

.btns-pages button {
    outline: none;
    background-color: transparent;
    color: #838383;
}

.btns-pages button:hover {
    color: #5a5a5a;
}

.btns-pages > * {
    cursor: pointer;
}

.num-page {
    padding: 4px;
    color: #5a5a5a;
}

.num-page:hover {
    color: #838383;
    font-weight: bold;
}

.num-page.num-active {
    color: #838383;
    font-weight: bold;
}

@media (max-width: 900px) {
    header {
        grid-template-columns: repeat(1, 1fr);
    }
    .skills {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact_me {
        grid-template-columns: repeat(1, 1fr);
    }
    .portfolio {
        grid-template-columns: repeat(1, 1fr);
    }
    .projects {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 700px) {
    .skills {
        grid-template-columns: repeat(1, 1fr);
    }
    .contact_me {
        grid-template-columns: repeat(1, 1fr);
    }
    .portfolio {
        grid-template-columns: repeat(1, 1fr);
    }
    .projects {
        grid-template-columns: repeat(1, 1fr);
    }
}
