@charset "UTF-8";

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    scroll-behavior: smooth;
    font-family: "Roboto", sans-serif;
}

:root{
    --bg-color: #4b3902;
    --main-color: #af5e02;
    ---text-color: white;
    --main-colo2: #b35900;
    --main-color1: white;

    --h1-font: 5.6rem;
    --h2-font: 3.7rem;
    --p-font: 1rem;
}

body{
    background: var(--bg-color);
    color: var(---text-color);
}

header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    padding: 38px 19%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    transition: all .7s;
}

.logo{
    display: flex;
    align-items: center;
    color: var(---text-color);
    font-size: 28px;
    font-weight: 600;
    text-decoration: none;
}

.navbar{
    display: flex;
}

.navbar a{
    margin: 0 25px;
    padding: 4px;
    color: var(---text-color);
    font-size: var(--p-font);
    font-weight: 400;
    border-bottom: 2px solid transparent;
    transition: all .7s;
    text-decoration: none;
}

.navbar a:hover{
    border-bottom: 2px solid var(--main-colo2);
    color: var(--main-colo2);
}

#menu-icon{
    font-size: 34px;
    cursor: pointer;
    z-index: 10001;
    display: none;
}

section{
    padding: 40px 19% 30px;
}

.inicio{
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.inicio-img{
    height: 460px;
    width: 460px;
    object-fit: contain;
}

.inicio-img img{
    width: 100%;
    height: auto;
}

.inicio-text{
    padding-top: 60px;
}

.inicio-text h5{
    font-size: 20px;
    font-weight: 500;
}

.inicio-text h1{
    margin: 15px 0;
    font-size: var(--h1-font);
    color: var(--main-color);
    line-height: 1.1;
    font-weight: 800;
}

.social{
    margin-bottom: 30px;
}

.social a:first-child{
    font-size: var(--p-font);
    margin-right: 15px;
    color: var(---text-color);
}

.social i{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    background: var(--bg-color);
    color: var(--main-color1);
    border-radius: 50%;
    margin-right: 15px;
    transition: all .7s;
}

.social i:hover{
    box-shadow: 0 0 30px var(--main-colo2);
}

.button a{
    display: inline-block;
    padding: 10px 22px;
    background: var(--main-color);
    color: var(--main-color1);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: all .7s;
}
.button a:hover{
    box-shadow: 0 0 20px var(--main-color);
}

.button a.btn2{
    background: transparent;
    border: 1px solid var(--main-color);
    color: var(--main-color1);
    margin-left: 20px;
}

.button i{
    margin-right: 7px;
}

header.sticky{
    background: #7c5101;
    padding: 10px 19%;
}

.h-main{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 20px;
}

.h-text h2{
    font-size: var(--h2-font);
    color: var(--main-color);
    font-weight: 700;
}

.h-btn a{
    display: inline-block;
    font-size: 18px;
    color: var(---text-color);
    transition: all .7s;
    text-decoration: none;
}

.h-btn i{
    margin-left: 6px;
}

.h-btn a:hover{
    transform: translateY(-5px);
    color: var(--main-colo2);
}

.center p{
    font-size: var(--p-font);
    padding: 0 120px;
    line-height: 32px;
}

.about-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, auto));
    align-items: center;
    text-align: center;
    gap: 2rem;
    margin-top: 4rem;
}

.box h3{
    font-size: 27px;
    font-weight: 600;
    margin-bottom: 5px;
}

.box a{
    border-bottom: 2px solid var(--main-colo2);
    color: var(--main-colo2);
    font-size: 14px;
}

.work-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, auto));
    align-items: center;
    gap: 2rem;
    margin-top: 4rem;
}

.row img{
    height: auto;
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1.4rem;
}

.row{
    background-color: #7a5400;
    border-radius: 12px;
    border: 1px solid transparent;
    padding: 15px 20px;
    transition: all .7s;
}

.main-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.row h5{
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 5px;
}

.row h4{
    font-size: 17px;
    font-weight: 600;
}

.row i{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    font-size: 20px;
    border-radius: 50%;
    background: var(--main-colo2);
    color: var(--bg-color);
}

.row:hover{
    border: 1px solid var(--main-color1);
    transform: translateY(-3px) scale(1.02);
    cursor: pointer;
}

.contact-form{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4.3rem;
}

.contact-form form{
    position: relative;
    width: 600px;
}

form input,
form textarea{
    width: 100%;
    padding: 20px;
    border: none;
    outline: none;
    background: #8f5100;
    color: var(---text-color);
    margin-bottom: 20px;
    border-radius: 10px;
}

form input::placeholder,
form textarea::placeholder{
    color: rgb(255, 255, 255);
    font-size: 15px;
}

form textarea{
    resize: none;
}

form .send-btn{
    display: inline-block;
    padding: 11px 25px;
    background: var(--main-colo2);
    color: var(---text-color);
    border: 2px solid var(--main-color);
    border-radius: 8px;
    font-size: 15px;
    transition: all .6s;
    width: 30%;
}

form .send-btn:hover{
    background: transparent;
    color: var(--main-color);
    box-shadow: 0 0 20px var(--main-colo2);
    cursor: pointer;
}

.end-content{
    padding: 20px 19%;
    border-top: 1px solid rgb(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.copyright p{
    font-size: 14px;
    font-weight: 400;
    color: var(---text-color);
}

.scroll-top i{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--main-colo2);
    color: var(--bg-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 27px;
}

@media(max-width: 1650px){
    header{
        padding: 14px 8%;
    }

    header.sticky{
        padding: 9px 8%;
    }
    section{
        padding: 50px 8% 50px;
    }
    .end-content{
        padding: 15px 8%;
    }
}

@media(max-width: 1220px){
    header{
        padding: 12px 4%;
    }
    header.sticky{
        padding: 9px 4%;
    }
    section{
        padding: 50px 4% 50px;
    }
    .end-content{
        padding: 15px 4%;
    }
    .inicio{
        height: 85vh;
    }
}

@media(max-width: 1100px){
    :root{
        --h1-font: 5.2rem;
        --h2-font: 3.1rem;
        --p-font: 15px;
    }
}

@media(max-width: 1050px){
    .inicio-img{
        margin: 0 auto;
        height: 350px;
        width: 350px;
    }
    .inicio{
        height: auto;
        display: flex;
        flex-wrap: wrap;
        gap: 50px;
    }
}

@media(max-width: 740px){
    .center p{
        padding: 0;
    }
}

@media(max-width: 600px){
    #menu-icon{
        display: block;
    }
    :root{
        --h1-font: 3.8rem;
        --h2-font: 2.5rem;
        --p-font: 14px;
    }
    .navbar{
        position: absolute;
        top: 100%;
        right: -100%;
        width: 270px;
        height: 100vh;
        display: flex;
        flex-direction: column;
        background: #8a5602da;
        padding: 20px 10px;
        gap: 0.6rem;
        text-align: left;
        transition: all .7s;
    }
    .navbar a{
        font-size: 20px;
        font-weight: 500;
    }
    .navbar.open{
        right: 0;
    }
    
    form .send-btn{
        width: 50%;
    }
}