/*==========================
Global Styles
===========================*/

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

body{
    font-family:'Montserrat',sans-serif;
    background:#E8D8C3;
    color:#2D2A26;
    line-height:1.7;
}

/*==========================
Header
===========================*/

header{

    position:fixed;
    top:0;
    width:100%;

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

    padding:20px 8%;

    background:rgba(247,243,237,.95);
    backdrop-filter:blur(12px);

    border-bottom:1px solid #d8c6b3;

    z-index:1000;

}

.logo{

    font-family:'League Spartan',sans-serif;
    font-size:2rem;
    font-weight:700;
    color:#C96A45;

}

nav a{

    text-decoration:none;
    margin-left:35px;

    color:#5C4033;

    font-weight:500;

    transition:.3s;

}

nav a:hover{

    color:#C96A45;

}

/*==========================
Sections
===========================*/

section{

    padding:120px 10%;

}

h2{

    font-family:'League Spartan';
    font-size:3rem;

    color:#5C4033;

    margin-bottom:40px;

}

/*==========================
Hero
===========================*/

.hero{

    min-height:100vh;

    display:flex;

    justify-content:space-between;
    align-items:center;

    gap:70px;

}

.hero h4{

    color:#7A8F6A;
    font-size:1.1rem;

}

.hero h1{

    font-family:'League Spartan';
    font-size:4.8rem;

    color:#5C4033;

    margin:15px 0;

}

.hero h2{

    font-size:1.6rem;

    color:#C96A45;

    margin-bottom:25px;

}

.hero p{

    max-width:550px;

}

.hero-image img{

    width:360px;

    border-radius:50%;

    border:8px solid #C96A45;

    box-shadow:0 20px 50px rgba(92,64,51,.15);

}

/*==========================
Buttons
===========================*/

.buttons{

    margin-top:40px;

}

.btn{

    display:inline-block;

    padding:15px 35px;

    border-radius:40px;

    text-decoration:none;

    background:#C96A45;

    color:white;

    margin-right:20px;

    transition:.3s;

}

.btn:hover{

    background:#9C4A2D;

}

.btn-outline{

    display:inline-block;

    padding:15px 35px;

    border-radius:40px;

    border:2px solid #7A8F6A;

    text-decoration:none;

    color:#7A8F6A;

    transition:.3s;

}

.btn-outline:hover{

    background:#7A8F6A;

    color:white;

}

/*==========================
Projects
===========================*/

.project-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

}

.card{

    background:#F7F3ED;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 12px 25px rgba(0,0,0,.08);

    transition:.35s;

}

.card:hover{

    transform:translateY(-8px);

}

.card img{

    width:100%;

}

.card h3{

    padding:20px;

    color:#5C4033;

}

.card p{

    padding:0 20px 30px;

}

/*==========================
Skills
===========================*/

.skills{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

}

.skills span{

    background:#7A8F6A;

    color:white;

    padding:12px 20px;

    border-radius:50px;

}

/*==========================
Contact Form
===========================*/

form{

    display:flex;

    flex-direction:column;

    gap:20px;

    max-width:650px;

}

input,
textarea{

    padding:18px;

    border:none;

    border-radius:10px;

    background:#F7F3ED;

    color:#2D2A26;

    border:1px solid #d8c6b3;

}

textarea{

    height:180px;

}

button{

    background:#C96A45;

    color:white;

    border:none;

    padding:18px;

    border-radius:40px;

    cursor:pointer;

    transition:.3s;

}

button:hover{

    background:#9C4A2D;

}

/*==========================
Footer
===========================*/

footer{

    background:#5C4033;

    color:#F7F3ED;

    text-align:center;

    padding:30px;

}

/*==========================
Responsive
===========================*/

@media(max-width:900px){

.hero{

    flex-direction:column-reverse;

    text-align:center;

}

.hero h1{

    font-size:3.5rem;

}

.hero-image img{

    width:260px;

}

header{

    flex-direction:column;

}

nav{

    margin-top:20px;

}

nav a{

    margin:10px;

}

}