/* ------------------------------------------------------------------------All */

* {
    margin: 0;
    color: white;
}

/* ------------------------------------------------------------------------Header/Footer */

header,
footer {
    background-color: #020818;
    padding: 20px 50px;
}

header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

header a {
    margin-right: 10px;
    color: white;
    border-radius: 50px;
    padding: 15px 20px;
    font-family: "Jura", sans-serif;
}

a:hover {
    filter: brightness(75%);
}

.logo-top {
    width: 50%;
}

.menu-container {
    display: inline-block;
}

.menu-button {
    background-color: #020818;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 16px;
    font-family: "Jura", sans-serif;
}

.menu-dropdown {
    display: none;
    position: absolute;
    background-color: #020818;
    border: solid 1px white;
    border-radius: 5px;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.menu-dropdown a {
    display: block;
    border: none;
}

.menu-dropdown a:hover {
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 0;
}

.menu-container:hover .menu-dropdown {
    display: block;
}

footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
}

.social-links {
    display: flex;
    align-items: center;
}

/* ------------------------------------------------------------------------Body */

body {
    background-color: #132036;
    font-family: "Jura", sans-serif;
}

main {
    margin: 0 100px 0 100px;
}

.main-title {
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size: 22px;
    text-align: center;
    border: solid 2px white;
    border-radius: 10px;
    background-color: #1a2b49;
    padding: 20px;
    margin: 60px 20% 0 20%;
}

p {
    text-align: justify;
}

li {
    text-align: justify;
    border: solid 1px #1a2b49;
    border-radius: 10px;
    padding: 20px;
    background-color: #1a2b49;
}

.title-box {
    display: flex;
    flex-direction: row;
    justify-content: left;
    border: solid 2px white;
    border-top: 0;
    padding: 20px;
    margin: 0 58% 15px 3%;
    border-radius: 0 0 10px 10px;
    background-color: #020818;
    font-size: 20px;
}

/* ------------------------------------------------------------------------Accueil */
picture {
  display: block;
  max-width: 100%;
}

/* ------------------------------------------------------------------------Formations */

.learn-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 75px 0 75px 0;
    border: solid 2px white;
    border-radius: 15px;
    padding: 0 20px 20px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.learn-box:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.content-learn {
    display: flex;
    flex-direction: column;
    justify-content: left;
    font-family: "tahoma", sans-serif;
    margin-left: 20px;
}

.content-learn-language {
    display: flex;
    flex-direction: row;
    justify-content: left;
    font-family: "tahoma", sans-serif;
}

/* ------------------------------------------------------------------------Projets informatique */
.info-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 75px 0 75px 0;
    border: solid 2px white;
    border-radius: 15px;
    padding: 0 30px 30px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-info {
    flex: 1;
    min-width: 0;
}

.info-box:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.content-info {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: start;
    font-family: "tahoma", sans-serif;
}

/* ------------------------------------------------------------------------Projets sécurité */

.security-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 75px 0 75px 0;
    border: solid 2px white;
    border-radius: 15px;
    padding: 0 30px 30px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.text-security {
    flex: 1;
    min-width: 0;
}

.security-box:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.content-security {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: start;
    font-family: "tahoma", sans-serif;
    flex-wrap: nowrap;
}

/* ------------------------------------------------------------------------Projets électronique */
.elec-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 75px 0 75px 0;
    border: solid 2px white;
    border-radius: 15px;
    padding: 0 30px 30px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.elec-box:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.content-elec {
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: start;
    font-family: "tahoma", sans-serif;
}

/* ------------------------------------------------------------------------Images */
.twenty-img {
    width: 20%;
}

.thirty-img {
    width: 30%;
}

.thirty-five-img {
    width: 35%;
}

.fourty-five-img {
    width: 45%;
}

/* ------------------------------------------------------------------------Experimental Features */
/*.photo-hover {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    bottom: 0;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    font-size: 1.5em;*/
/*    color: white;*/
/*    background-color: rgba(0, 0, 0, 0.7);*/
/*    display: none;*/
/*}*/

/*.lien-conteneur-photo {*/
/*    position: relative;*/
/*    display: inline-block;*/
/*    width: 100%;*/
/*}*/

/*.lien-conteneur-photo img {*/
/*    width: 100%;*/
/*    height: auto;*/
/*    display: block;*/
/*}*/

/*.lien-conteneur-photo:hover .photo-hover {*/
/*    display: flex;*/
/*}*/