/*!
Theme Name: Theme TIW4
Author: TIW4
Description: Partageons nos regards
Version: 1.0
*/

*{
    margin: 0 auto;
}

body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/*===========================header=====================*/
.title{
    margin-top: 20px;
    display: flex;
}
.title img{
    width: 20%;
    margin-left: 50px;
}

a {
    text-decoration: none;
    color:#92512f;
}

.main-nav {
    margin-left: -30rem;
    margin-right: 20rem;
}

.main-nav ul {
    padding: 15px;
    list-style: none; 
}

.main-nav ul li {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    display: inline-block;
    justify-content: center;
    padding: 15px;
}

.main-nav ul li:hover {   
    background-color: #32b4b4;
    border-radius: 5px;
    opacity: 0.5;  
}

.main-nav ul li ul {   
    padding: 0;   
    position: absolute;   
    top: 48px;  
    left: 0;
    width: 150px;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;   
    box-shadow: none;  
    display: none;
    opacity: 0;  
    visibility: hidden;   
    -webkit-transiton: opacity 0.2s;   
    -transition: opacity 0.2s;   
}

.main-nav ul li ul li {  
    background: #555;
    display: block;   
    color: #92512f;   
    text-shadow: 0 -1px 0 #000;   
}

.main-nav ul li ul li:hover { 
    background: #666; 
}

.main-nav ul li:hover ul {
    display: block;  
    opacity: 1;
    visibility: visible;   
}

.main-nav ul li a:hover{
    color:#92512f;
}

/*===========================section-1=====================*/
.main_background{
    width: 100%;
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.main_title{
    color:#92512f;
    font-size: 6rem;
    font-weight: bolder;
    text-align: center;
    text-shadow: 4px 4px 8px gray;
    margin-top: -40rem;
    margin-bottom: 40rem;
    display: block;
}

#main_title_span {
    color: #32b4b4;
}

/*======================Section2=======================*/
.section2 {
    padding-bottom: 1rem;
}

.card{
    display: flex;
    justify-content: center;
    margin: 1em 10em 5em 10em;
}

.card__img{
    margin-right: 10px; 
    width: 100%; 
}

.card__text{
    margin-left: 20px;
    margin-top: 20px;
}

.card__text p{
    padding: 10px;
    text-align: center;
    font-size: 18px;
}

.card__text h1{
    font-size: 38px;
    margin-bottom: 20px;
    font-weight: 100;
}

.card_desc {
    color: #32b4b4;
    text-shadow: 1px 1px 2px gray;
}

.card_com {
    color: gray;
    margin-bottom: 5rem;
}

/*================footer================*/
#footer .copyright{
    margin: 10px 0 20px O;
    padding-top: 5em;
    padding-bottom: 2em;
    background-color: #32b4b4; 
    color: white; 
    text-align: center;
}

/*==================Qui sommes-nous?========================*/
.bg_sect {
    background-color: rgb(246, 238, 238);
}

.cat_titre {
    text-align: center;
    color: #32b4b4;
    font-size: xx-large;
    font-weight: 600;
    padding: 2rem;
}

.cat_img {
    display: block;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 10px 5px 5px gray;
}

.cat_description {
	margin-top: 20px;
	margin-left: 270px;
	margin-right: 270px;
	padding: 20px;
    padding-bottom: 3rem;
    font-size: 1.5rem;
    color: gray;
    font-weight: 200;
    display: flex;
}

#gerard {
    width: auto;
    height: 300px;
    margin-right: 20px;
    box-shadow: 10px 5px 5px gray;
}

.cat_lien {
    text-align: center;
    font-style: italic;
    padding: 20px;
}

.cat__lien_description {
    font-weight: 500;
    font-size: large;
    text-decoration: underline;
}

/*==================Et vos regards========================*/
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    grid-row-gap: 10px;
    padding: 40px;
}

.cover {
    object-fit: cover;
    min-height: 100%;
    min-width: 100%;
    width: auto;
    height: auto;
}

/*==================Librairie========================*/
#section_flex {
    display: flex;
    padding: 30px;
    background-color: rgb(246, 238, 238);
}

.img_article {
    display: block;
    width: 50%;
}

#contenu_article {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    color: gray;
}

#titre_article {
    color: #32b4b4;
    font-weight: 400;
    font-size: x-large;
    font-style: italic;
    margin-bottom: 1.5rem;
    margin-left: -15rem;
}

#desc_article  {
    margin-left: -15rem;
    margin-right: 25rem;
}

#details_article {
    margin-left: -15rem;
    padding: 1.5rem;
}

.details_article_2 {
    font-size: large;
    font-style: italic;
    color: #32b4b4;
    text-decoration: underline;
}

.prix_stock {
    padding: 5px;
}

#button_article {
    color: white;
    background-color: #92512f;
    border-radius: 5px;
    padding: 5px;
}

/*==================Contact========================*/
.contact{
    padding: 100px 0;
    background: rgb(246, 238, 238);
}
.cat_description_test {
    padding: 20px;
    font-size: 1.5rem;
    color: gray;
    font-weight: 200;
    text-align: center;
}

.contact h1{
    text-align: center;
    font-size: 2em;
    font-weight: 500;
    padding-bottom: 2rem;
    color: #92512f;
}

.wpcf7-form{
    padding: 30px 40px;
    background-color: #32b4b4;
    border-radius: 12px;
    max-width: 480px;
}

.wpcf7-form .wpcf7-form-control{
    background-color: #f0f4f5;
    height: auto;
    resize: none;
    width: auto;
    border: none;
}

.wpcf7-form .wpcf7-form-control[type="text"],
.wpcf7-form .wpcf7-form-control[type="email"]{
    width: 400px;
    padding: 8px 4px;
}

.wpcf7-form .wpcf7-form-control:last-child{
    padding: 8px 4px;
}

.wpcf7-form-control[type="submit"]{
    border: none;
    border-radius: 4px;
    background-color: #92512f;
    color: white;
    text-transform: uppercase;
    padding: 10px 60px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-top: 20px;
    margin-left: 100px;
}

.wpcf7-form-control[type="submit"]:hover {
    color: #32b4b4;
    background-color: #ad6944;
}

/*==================Responsive========================*/
@media screen and (min-width:320px) and (max-width:480px) {

/*===========================Nav=====================*/
#navbar {
    display: none;
}

/*===========================section-1=====================*/
.main_background{
    width: 100%;
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.main_title{
    color:#92512f;
    font-size: 2rem;
    font-weight: bolder;
    text-align: center;
    margin-top: -125px;
    text-shadow: 4px 4px 8px gray;

    display: block;
}

#main_title_span {
    color: #32b4b4;
}

/*======================Section2=======================*/
.section2 {
    margin-top: -100px;
}
.card{
    display: block;
    justify-content: center;
}

#resp1 {
    display: none;
}

#resp2 {
    display: block;
    justify-content: center;
}

.card__text{
    text-align: center;
}

.card__text h1{
    font-size: 25px;
    margin-bottom: 20px;
    font-weight: 100;
}

.card__img {
    margin: auto;
}

.card_desc {
    color: #32b4b4;
    text-shadow: 1px 1px 2px gray;
}

.card_com {
    color: gray;
    width: 100%;
}

/*==================Qui sommes-nous?========================*/
.cat_titre {
    text-align: center;
    color: #32b4b4;
    font-size: large;
    font-weight: 600;
    padding: 2rem;
}

.cat_img {
    display: block;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 10px 5px 5px gray;
}

.cat_description {
	margin-left: auto;
	margin-right: auto;
    text-align: center;
    font-size: 1rem;
    color: gray;
    font-weight: 200;
    display: flex;
}

#gerard {
    display: flex;
    width: auto;
    height: 100px;
    margin-right: 20px;
    box-shadow: 10px 5px 5px gray;
}

/*==================Et vos regards========================*/
.grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 10px;
    grid-row-gap: 10px;
    padding: 40px;
}

.cover {
    object-fit: cover;
    min-height: 100%;
    min-width: 100%;
    width: auto;
    height: auto;
}

/*==================Librairie========================*/

#titre_article {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: large;
    margin-top: 3rem;
}

.img_article {
    display: block;
    margin-top: 3rem;
    width: 50%;
}

#contenu_article {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

#desc_article  {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/*==================Contact========================*/
.wpcf7-form{
    max-width: 300px;
}

.wpcf7-form .wpcf7-form-control:last-child{
    width: -moz-available;
}

.wpcf7-form-control[type="submit"]{
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.wpcf7-form-control {
    width: -moz-available;
}
}

@media screen and (min-width:481px) and (max-width:768px) {

/*===========================Nav=====================*/
#navbar {
    display: none;
}

    /*===========================section-1=====================*/
.main_background{
    width: 100%;
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.main_title{
    color:#92512f;
    font-size: 4rem;
    font-weight: bolder;
    text-align: center;
    margin-top: -300px;
    text-shadow: 4px 4px 8px gray;

    display: block;
}

#main_title_span {
    color: #32b4b4;
}

/*======================Section2=======================*/
.section2 {
    margin-top: -100px;
}
.card{
    display: block;
    justify-content: center;
}

#resp1 {
    display: none;
}

#resp2 {
    display: block;
    justify-content: center;
}

.card__text{
    text-align: center;
}

.card__text h1{
    font-size: 25px;
    margin-bottom: 20px;
    font-weight: 100;
}

.card__img {
    margin: auto;
    width: auto;
}

.card_desc {
    color: #32b4b4;
    text-shadow: 1px 1px 2px gray;
}

.card_com {
    color: gray;
    width: 100%;
}

/*==================Qui sommes-nous?========================*/
.cat_titre {
    text-align: center;
    color: #32b4b4;
    font-size: large;
    font-weight: 600;
    padding: 2rem;
}

.cat_img {
    width: 90%;
}

.cat_description {
	margin-left: auto;
	margin-right: auto;
    text-align: center;
    font-size: 1rem;
    color: gray;
    font-weight: 200;
    display: flex;
}

#gerard {
        display: flex;
        width: auto;
        height: 150px;
        margin-right: 20px;
        box-shadow: 10px 5px 5px gray;
}

/*==================Et vos regards========================*/
.grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 10px;
    grid-row-gap: 10px;
    padding: 40px;
}

.cover {
    object-fit: cover;
    min-height: 100%;
    min-width: 100%;
    width: auto;
    height: auto;
}

/*==================Librairie========================*/

#titre_article {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: large;
    margin-top: 3rem;
}

.img_article {
    display: block;
    margin-top: 3rem;
    width: 50%;
}

#contenu_article {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

#desc_article  {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/*==================Contact========================*/
.wpcf7-form{
    max-width: 300px;
}

.wpcf7-form .wpcf7-form-control:last-child{
    width: -moz-available;
}

.wpcf7-form-control[type="submit"]{
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.wpcf7-form-control {
    width: -moz-available;
}
}

@media screen and (min-width:769px) and (max-width:1279px) {

    /*===========================Nav=====================*/
#navbar {
    display: flex;
}

.main-nav ul li {
    font-size: 1rem;
}

.main-nav {
    margin-left: -30rem;
    margin-right: 20rem;
}

.main-nav ul {
    padding: 15px;
    list-style: none; 
    text-align: center;
    margin-left: 5rem;
    margin-right: -20rem;
}

    /*===========================section-1=====================*/
    .main_background{
        width: 100%;
        height: auto;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
    
    .main_title{
        color:#92512f;
        font-size: 4rem;
        font-weight: bolder;
        text-align: center;
        margin-top: -300px;
        text-shadow: 4px 4px 8px gray;
    
        display: block;
    }
    
    #main_title_span {
        color: #32b4b4;
    }
    
    /*======================Section2=======================*/
    .section2 {
        margin-top: -100px;
    }
    .card{
        display: block;
        justify-content: center;
    }
    
    #resp1 {
        display: none;
    }
    
    #resp2 {
        display: block;
        justify-content: center;
    }
    
    .card__text{
        text-align: center;
    }
    
    .card__text h1{
        font-size: 25px;
        margin-bottom: 20px;
        font-weight: 100;
    }
    
    .card__img {
        margin: auto;
        width: auto;
    }
    
    .card_desc {
        color: #32b4b4;
        text-shadow: 1px 1px 2px gray;
    }
    
    .card_com {
        color: gray;
        width: 100%;
    }

/*==================Qui sommes-nous?========================*/
.cat_titre {
    text-align: center;
    color: #32b4b4;
    font-size: large;
    font-weight: 600;
    padding: 2rem;
}

.cat_img {
    width: 90%;
}

.cat_description {
	margin-left: auto;
	margin-right: auto;
    text-align: center;
    font-size: 1rem;
    color: gray;
    font-weight: 200;
    display: flex;
}

#gerard {
        display: flex;
        width: auto;
        height: 150px;
        margin-right: 20px;
        box-shadow: 10px 5px 5px gray;
}

/*==================Et vos regards========================*/
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    grid-row-gap: 10px;
    padding: 40px;
}

.cover {
    object-fit: cover;
    min-height: 100%;
    min-width: 100%;
    width: auto;
    height: auto;
}

/*==================Librairie========================*/

#titre_article {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: large;
    margin-top: 3rem;
}

.img_article {
    display: block;
    margin-top: 3rem;
    width: 50%;
}

#contenu_article {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

#desc_article  {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
}

@media screen and (min-width:1280px) {

    /*======================Section2=======================*/
    #resp2 {
        display: none;
    }

/*==================Et vos regards========================*/
.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    grid-row-gap: 10px;
    padding: 40px;
}

.cover {
    object-fit: cover;
    min-height: 100%;
    min-width: 100%;
    width: auto;
    height: auto;
}

/*==================Librairie========================*/

#titre_article {
    font-weight: 400;
    font-size: x-large;
    font-style: italic;
    margin-bottom: 1.5rem;
    margin-left: -15rem;
}

.img_article {
    display: block;
    width: 50%;
}

#contenu_article {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

#desc_article  {
    margin-left: -15rem;
    margin-right: 25rem;
}
}