.guitar,
.guitars,
.navigation,
header {
    display: grid;
    justify-content: center;
}

.contact button,
.contact label,
a {
    font-weight: 700;
}

header {
    grid-template-columns: 1fr auto;
    align-items: end;
    height: 120px;
    padding: 10px 40px 25px;
    position: sticky;
    top: 0;
    left: 0;
    background-image: linear-gradient(rgba(0, 0, 0, .6)), url('../images/header.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 10;
}

header img {
    height: 96px;
    margin-top: 16px;
}

body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

main {
    margin: 45px 15px;
}

.navigation {
    grid-auto-flow: column;
    padding: 10px 15px;
    margin-right: 80px;
    background-color: #000;
    border-radius: 4px;
    gap: 20px;
}

.contact,
.guitar {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
}

a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    transition: color .2s;
}

.contact button:hover,
a:hover {
    color: #d88506;
}

.guitars {
    gap: 40px;
    margin: 30px;
    grid-template-columns: repeat(3, minmax(auto, 1fr));
}

.guitar {
    grid-template-columns: 100px 1fr;
    gap: 12px;
    align-items: center;
    padding: 5px;
    transition: transform .5s, box-shadow .5s;
    overflow: hidden;
}

.contact form,
.contact label {
    flex-direction: column;
    display: flex
}

.guitar-info {
    min-width: 0;
    padding-right: 5px;
}

.title {
    color: #000;
    font-weight: 900;
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.guitar img {
    width: 100%;
    height: auto;
    max-width: 150px;
    object-fit: cover;
}

.description {
    font-size: 16px;
    margin-bottom: 20px;
    color: #676767;
}

.price,
.section {
    color: #d88506;
    font-weight: 900;
}

.price {
    font-size: 35px;
}

.guitar:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px #d88506;

}

.section {
    scroll-margin-top: 200px;
    text-align: center;
    margin: 30px 0;
    font-size: 40px;
}

.contact {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    overflow: hidden;
}

.contact form {
    gap: 16px;
}

.contact input,
.contact textarea {
    padding: 8px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    font-size: 14px;

}

.contact button {
    padding: 12px;
    background-color: #222;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

footer {
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, .9);
    border-top: 10px solid #d88506;
    color: #fff;
    font-size: 14px;
    justify-content: center;
    align-items: center;
    padding: 40px;
    gap: 15px;
}

@media only screen and (max-width:1000px) {
    header {
        grid-template-columns: 1fr;
        height: auto;
        padding: 0;
        gap: 20px;
        justify-items: center;
    }

    .navigation {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .guitars {
        gap: 40px;
        margin: 20px 10px;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media only screen and (min-width:1200px) {
    .guitars {
        gap: 40px;
        margin: 20px 10px;
        grid-template-columns: repeat(3, minmax(250px, 450px));
    }
}