@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;
}

img{
    width: 100%;
    display: flex;
}

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;
}

.nav-links{
    list-style: none;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.link a{
    position: relative;
    padding-bottom: 0.75rem;
    color: #fff;
}

.link a::after{
    content: "";
    position: absolute;
    height: 2px;
    width: 0;
    bottom: 0;
    left: 0;
    background-color: #d8711d;
    transition: all 0.3s ease;
}

.link a:hover::after{
    width: 100%;
}

.btn{
    padding: 1rem 2rem;
    font-size: 1rem;
    color: #fff;
    background-color: #d8711d;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

a .btn:hover{
    background-color: #ad5b18;
}

nav button{
    color: #ccc;
    background: transparent;        
    outline: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.container{
    max-width: 1200px;
    margin: auto;
    padding: 5rem 2rem;
}

.blur{
    position: absolute;
    box-shadow: 0 0 1000px 50px #d8711d;
    z-index: -100;
}

header{
    position: relative;
    padding-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2rem;
}

header .content h4{
    margin-bottom: 1rem;
    color: #ccc;
    font-size: 1rem;
    font-weight: 600;
}

header .content h1{
    color: #fff;
    margin-bottom: 1rem;
    font-size: 3rem;
    font-weight: 700;
    line-height: 4rem;
}

header .content h1 span{
    -webkit-text-fill-color: #d8711d;
}

header .content p{
    margin-bottom: 2rem;
    color: #ccc;
}

header .image{
    position: relative;
}

header .image img{
    max-width: 600px;
    margin: auto;
}

section .header{
    margin-bottom: 1rem;
    color: #fff;
    text-align: center;
    font-size: 2.25rem;
    font-weight: 600;
}

/* SKILLS */

.skills{
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.skills .card{
    background-color: #27272a;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.skills .card:hover{
    background-color: #323232;
    border-color: #fff;
}

.skills .card span{
    display: inline-block;
    background-color: #ad5b18;
    padding: 2px 9px;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    color: #fff;
    border-radius: 5px;
}

.skills .card h4{
    margin-bottom: 0.5rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

.skills .card p{
    color: #ccc;
    margin-bottom: 1rem;
}

/* CONTACT ME */

.contact_me{
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact_me .card{
    padding: 3rem 2rem;
    background-color: #27272a;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact_me .card:hover{
    background-color: #323232;
    border-color: #fff;
}

.contact_me .card .content{
    flex: 1;
    margin-bottom: 2rem;
}

.contact_me .card h4{
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
}

.contact_me .card h3{
    color: #fff;
    padding-bottom: 1rem;
    font-size: 2rem;
    font-weight: 600;
}

.contact_me .card p{
    color: #fff;
    margin-bottom: 0.75rem;
}

.contact_me .card p i{
    color: #ccc;
    font-size: 1.2rem;
    margin-right: 0.3rem;
}

.contact_me .card button{
    color: #fff;
    background-color: transparent;
    border: 2px solid #fff;
    display: inline-block;
}

.contact_me .card button:hover{
    background-color: #ad5b18;
    border-color: #ad5b18;
}

/* COPYRIGHT */
.copyright {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 1rem;
    color: #838383;
    font-size: 1.2rem;
    text-align: center;
}

.language-select {
    outline: none;
    background-color: transparent;
    color: #838383;
}



@media (max-width: 900px) {
    header {
        grid-template-columns: repeat(1, 1fr);
    }
    header .image {
        grid-area: 1/1/2/2;
    }
    .skills {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact_me {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 700px) {
    header .image {
        display: none;
    }
    .skills {
        grid-template-columns: repeat(1, 1fr);
    }
    .contact_me {
        grid-template-columns: repeat(1, 1fr);
    }
}