/* Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

body {
    font-family: 'Lora', serif;
    background: gainsboro;
}

p {
    margin-bottom: 0.8rem;
}

h1,
h2,
h3,
h4 {
    margin-bottom: 1rem;
}

a {
    color: red;
    text-decoration: none;
}

ul {
    list-style: none;
}

strong {
    color: #f1c40f;
    font-weight: 400;
}

em {
    color: blue;
}

/* Class  */

.container {
    display: block;
    max-width: 1200px;
    margin: auto;
}

.title {
    font-weight: 300;
    font-size: 2rem;
    margin: 2rem;
}

.bg-dark {
    background: rgb(37, 37, 37);
    color: rgb(229, 234, 238);
}

/* VP + Header */

.vp-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    padding: 1rem 2rem;
    background: #eccc68;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    line-height: 2rem;
}

.vp-logo {
    font-size: 1.7rem;
    margin-bottom: 0;
    font-family: 'Lobster', cursive;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

.vp-logo i {
    color: #251e02;
    margin-right: 1rem;
    font-size: 3rem;
}

.vp-logo a {
    font-size: 2rem;
    font-weight: 300;
}

header ul {
    display: flex;
    flex-flow: row nowrap;
    list-style: none;
}

header ul li  {
    padding: 1rem;
}

header ul li a:hover {
    color: #380991;
}


header a {
    color: rgb(158, 9, 9);
}

.vp {
    flex: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(./img/chihuahua-header.jpg) center center/cover;
    height: 800px;
}

.vp-content {
    max-width: 800px;
    text-align: center;
    color: aliceblue;
}

.vp-content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.vp-content p {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 2rem;
}

/* Offer */

.offer {
    padding: 5rem 1rem;
}

.offer-list {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
}

.offer-elem {
    border: #ddd;
    background: whitesmoke;
    margin: 1rem;
    flex: 1;
}

.offer-elem-img {
    width: 400px;
    height: 350px;
    object-fit: cover;
}

.offer-elem-text {
    padding: 2rem;
    text-align: center;
}

.offer-separator {
    margin: 1rem auto;
    height: 2px;
    width: 50px;
    background: black;
}

/* Who */

.who {
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
}

.who-content-img {
    margin: 0 auto;
    width: 100%;
}

.who-content-text {
    flex: 1;
    padding: 4rem;
    display: flex;
    background: rgb(24, 23, 23);
    color: #e9e3e3;
    flex-direction: column;
    justify-content: center;
}

.who-content-text h2 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.who-content-text p {
    font-size: 1.2rem;
    line-height: 1.5rem;
}

/* testimonials */

.testimonials {
    padding: 5rem 1rem 5rem 1rem;
}

.testimonials-content {
    display: flex;
    flex-direction: column;
}

.testimonials-elem {
    flex: 1;
    background: whitesmoke;
    border-radius: 5px;
    padding: 2rem;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.testimonials-elem h2 {
    margin: 5px;
}

.testimonials-elem-text {
    padding: 0 2rem;
}

.testimonials-elem-text p i{
    margin: 0.5rem;
}

.testimonials-elem-profil-text p {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.testimonials-elem-profil img {
    width: 200px;
    border-radius: 50px;
    margin-bottom: 0.5rem;
}

/* Contact */

.contact {
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
    margin: 30px auto;
    margin-bottom: 50px;
}

.contact-form {
    max-width: 600px;
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
    border: #ddd solid;
    margin: 50px;
}

.contact-form li {
    padding: 12px;
    font-size: 1.2rem;
    color: rgb(215, 221, 226);
    margin-bottom: 5px;
    text-align: center;
}

.contact-adresse img {
    width: 100%;
    padding: 10px;
}

.patte {
    height: 50px;
    position: absolute;
    filter: drop-shadow(0px 5px 3px rgba(14, 129, 223, 0.925));
    z-index: 1;
    animation: patte 60s infinite alternate;
}

@keyframes patte {
    0% {
        top: 2%;
        left: 2%;
        transform: rotate(0);
    }
    10% {
        top: 5%;
        left: 20%;
        transform: rotate(10deg);
    }
    20% {
        top: 4%;
        left: 60%;
        transform: rotate(0);
    }
    30% {
        top: 10%;
        left: 90%;
        transform: rotate(-20deg);
    }
    40% {
        top: 20%;
        left: 90%;
        transform: rotate(0);
    }
    50% {
        top: 50%;
        left: 80%;
        transform: rotate(-30deg);
    }
    60% {
        top: 90%;
        left: 90%;
        transform: rotate(0);
    }
    70% {
        top: 90%;
        left: 50%;
        transform: rotate(50deg);
    }
    80% {
        top: 74%;
        left: 30%;
        transform: rotate(0);
    }
    90% {
        top: 50%;
        left: 12%;
        transform: rotate(-20deg);
    }
    100% {
        top: 2%;
        left: 2%;
        transform: rotate(0);
    }
}
/* Footer */

footer {
    background: #333;
    padding: 5rem 1rem 5rem 1rem;
    color: white;
    text-align: center;
}

footer p {
    margin-bottom: 0;
}

/* ************** RESPONSIVE *************** */

@media screen and (max-width: 768px) {
     /* GENERAL */
     body {
        font-size: 15px;
    }

    .container {
        padding: 0 1rem;
    }

    .title {
        font-size: 1.7rem;
        text-align: center;
        margin: 1rem 0;
    }

    /* HEADER */
    header {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        gap: 1rem;
        text-align: center;
    }

    .vp-logo {
        font-size: 1.5rem;
        flex-direction: column;
        align-items: center;
    }

    .vp-logo i {
        font-size: 2.5rem;
        margin-right: 0;
    }

    header ul {
        flex-direction: column;
        padding: 0;
    }

    header ul li {
        padding: 0.5rem 0;
    }

    /* HERO */
    .vp {
        height: 350px;
        padding: 2rem 1rem;
        background-position: center;
    }

    .vp-content h1 {
        font-size: 2.2rem;
        padding: 0;
    }

    .vp-content p {
        font-size: 1.3rem;
        padding: 0;
    }

    .offer-list {
        flex-direction: column;
        align-items: center;
    }

    .offer-elem {
        width: 90%;
        max-width: 350px;
    }

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

    .offer-elem-text {
        padding: 1rem;
    }

    .who {
        display: flex;
        flex-direction: column;
    }

    .who-content-img {
        width: 100%;
        height: auto;
        max-height: 300px;
    }

    .who-content-text {
        padding: 2rem 1rem;
        text-align: center;
    }

    .who-content-text h2 {
        font-size: 1.5rem;
    }

    .who-content-text p {
        font-size: 1rem;
    }

    .contact {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .contact-form {
        margin: 20px auto;
        width: 90%;
        padding: 1rem;
    }

    .contact-adresse img {
        width: 90%;
        margin: 0 auto;
        display: block;
    }
}

@media screen and (max-width: 600px) {
    /* GENERAL */
    body {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    .title {
        font-size: 1.5rem;
        text-align: center;
        margin: 1rem 0;
    }

    /* HEADER */
    header {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
        gap: 1rem;
        text-align: center;
    }

    .vp-logo {
        font-size: 1.5rem;
        flex-direction: column;
    }

    .vp-logo i {
        font-size: 2rem;
        margin-right: 0;
    }

    header ul {
        flex-direction: column;
        padding: 0;
    }

    header ul li {
        padding: 0.5rem 0;
    }

    /* HERO */
    .vp {
        height: 300px;
        padding: 2rem 1rem;
        background-position: center;
    }

    .vp-content h1 {
        font-size: 1.8rem;
        padding: 0;
    }

    .vp-content p {
        font-size: 1.2rem;
        padding: 0;
    }

    /* OFFRES */
    .offer-list {
        flex-direction: column;
        align-items: center;
    }

    .offer-elem {
        width: 90%;
        max-width: 300px;
        margin: 1rem 0;
    }

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

    .offer-elem-text {
        padding: 1rem;
    }

    /* QUI SOMMES-NOUS */
    .who {
        display: flex;
        flex-direction: column;
    }

    .who-content-img {
        width: 100%;
        height: auto;
        max-height: 250px;
    }

    .who-content-text {
        padding: 2rem 1rem;
        text-align: center;
    }

    .who-content-text h2 {
        font-size: 1.5rem;
    }

    .who-content-text p {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    /* TÉMOIGNAGES */
    .testimonials-elem {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .testimonials-elem-reverse {
        flex-direction: column-reverse;
    }

    .testimonials-elem-profil img {
        width: 150px;
        margin: 1rem auto;
    }

    .testimonials-elem-text {
        padding: 1rem 0;
    }

    /* CONTACT */
    .contact {
        display: flex;
        flex-direction: column;
        padding: 1rem;
    }

    .contact-form {
        width: 90%;
        margin: 1rem auto;
        padding: 1rem;
    }

    .contact-adresse img {
        width: 90%;
        display: block;
        margin: 1rem auto;
    }

    .contact-form li {
        font-size: 1rem;
    }

    /* PATTE */
    .patte {
        display: none;
    }

    /* FOOTER */
    footer {
        padding: 2rem 1rem;
    }

    footer p {
        font-size: 0.9rem;
    }
}

