<div class="main">
<h1>Nos dojo partenaires en France</h1>
<ul class="cards">
<li class="cards_item">
<div class="card">
<div class="card_image"><img src="http://blog.tozando.fr/wp-content/uploads/2021/10/Dojo-Dijon.jpg" width="400" height="400" alt="Dijon"></div>
<div class="card_content">
<p class="card_text">Bourgogne-Franche-Comté</p>
<h2 class="card_title">Toulouse Aïkido Club</h2>
<p class="card_text">adresse postal: rue des corroyeurs
Boite D2 21000 Dijon,
adresse dojo: 30 Rue de Mirande 21000 Dijon</p><br>
<a href="https://www.aikidojodijon.fr/"></a><button class="btn card_btn">Accéder au site</button>
<a class="a_button" href="https://techacademy.jp/magazine/"></a>
</div>
</div>
</li>
<li class="cards_item">
<div class="card">
<div class="card_image"><img src="http://blog.tozando.fr/wp-content/uploads/2021/10/Dojo-Toulouse.jpg"width="400" height="400" alt="Toulouse"></div>
<div class="card_content">
<p class="card_text">Occitanie</p>
<h2 class="card_title">Toulouse Aïkido Club</h2>
<p class="card_text">18 rue Paul Lambert Complexe Sportif La Faourette Toulouse 31100 Occitanie<br>
</p>
<a href="https://toulouseaikidoclub.fr/"></a><button class="btn card_btn">Accéder au site</button>
</div>
</div>
</li>
<li class="cards_item">
<div class="card">
<div class="card_image"><img src="https://blog.tozando.fr/wp-content/uploads/2021/10/3125c25cc41312bcfb09f6b392cc333b.jpg"width="400" height="400" alt="Toulouse"></div>
<div class="card_content">
<p class="card_text">Nouvelle-Aquitaine</p>
<h2 class="card_title">Association d'Aïkido de la Vallée d'Aspe</h2>
<p class="card_text">6 chemin de las bordes
BEDOUS 64490 Aquitaine<br>
</p>
<a href="https://www.aikidobedous.com/"></a><button class="btn card_btn">Accéder au site</button>
</div>
</div>
</li>
<li class="cards_item">
<div class="card">
<div class="card_image"><img src="https://picsum.photos/500/300/?image=2"></div>
<div class="card_content">
<h2 class="card_title">Card Grid Layout</h2>
<p class="card_text">Demo of pixel perfect pure CSS simple responsive card grid layout</p>
<button class="btn card_btn">Accéder au site</button>
</div>
</div>
</li>
<li class="cards_item">
<div class="card">
<div class="card_image"><img src="https://picsum.photos/500/300/?image=10"></div>
<div class="card_content">
<h2 class="card_title">Card Grid Layout</h2>
<p class="card_text">Demo of pixel perfect pure CSS simple responsive card grid layout</p>
<button class="btn card_btn">Accéder au site</button>
</div>
</div>
</li>
/* Font */
@import url('https://fonts.googleapis.com/css?family=Quicksand:400,700');
/* Design */
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
background-color: #ecf9ff;
}
body {
color: #272727;
font-family: 'Quicksand', serif;
font-style: normal;
font-weight: 400;
letter-spacing: 0;
padding: 1rem;
}
.main{
max-width: 1200px;
margin: 0 auto;
}
h1 {
font-size: 24px;
font-weight: 400;
text-align: center;
}
img {
height: auto;
max-width: 100%;
vertical-align: middle;
}
.btn {
color: #ffffff;
padding: 0.8rem;
font-size: 14px;
text-transform: uppercase;
border-radius: 4px;
font-weight: 400;
display: block;
width: 100%;
cursor: pointer;
border: 1px solid rgba(255, 255, 255, 0.2);
background: transparent;
}
.btn:hover {
background-color: rgba(255, 255, 255, 0.12);
}
.cards {
display: flex;
flex-wrap: wrap;
list-style: none;
margin: 0;
padding: 0;
}
.cards_item {
display: flex;
padding: 1rem;
}
@media (min-width: 40rem) {
.cards_item {
width: 50%;
}
}
@media (min-width: 56rem) {
.cards_item {
width: 33.3333%;
}
}
.card {
background-color: white;
border-radius: 0.25rem;
box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
display: flex;
flex-direction: column;
overflow: hidden;
}
.card_content {
padding: 1rem;
background: linear-gradient(to bottom left, #292C59 40%, #494D86 100%);
}
.card_title {
color: #ffffff;
font-size: 1.1rem;
font-weight: 700;
letter-spacing: 1px;
text-transform: capitalize;
margin: 0px;
}
.card_text {
color: #ffffff;
font-size: 0.875rem;
line-height: 1.5;
margin-bottom: 1.25rem;
font-weight: 400;
}