#education-page { h1 { margin: 15px 40px 0; font-size: 25px; } .edu-philo { margin: 15px 40px 15px 100px; max-width: 800px; font-style: italic; } .title-banner { display: flex; justify-content: flex-end; flex-direction: column; height: 300px; background-image: url("../assets/images/glitch_meta_level3.png"); background-size: cover; background-repeat: no-repeat; background-position: 0% 90%; h2 { color: white; font-size: 2.5em; margin: 40px; text-shadow: 0 0 8px #000; } } .section-contents { margin: 20px 40px 60px; display: grid; grid-template-columns: auto 1fr; gap: 20px; height: auto; .full-row { grid-column: 1 / span 2; } .practical-infos { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; gap: 40px; background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url("../assets/images/wallpaper_binary_light.png"); padding: 20px; .info-item { display: flex; flex-direction: column; background-color: white; padding: 20px; strong { margin-bottom: 10px; } span, a { font-size: 14px; text-decoration: none; } } } ul.learning-themes { grid-column: 1; grid-row: 2; display: flex; gap: 20px 30px; flex-wrap: wrap; li.learning-theme { &.crea2d { background: url("../../../assets/images/learning_theme_sound.jpg") no-repeat; background-size: cover; } &.sound { background: url("../../../assets/images/learning_theme_sound.jpg") no-repeat; background-size: cover; } &.coding { background: url("../../../assets/images/learning_theme_sound.jpg") no-repeat; background-size: cover; } &.math { background: url("../../../assets/images/learning_theme_sound.jpg") no-repeat; background-size: cover; } &.linux { background: url("../../../assets/images/learning_theme_sound.jpg") no-repeat; background-size: cover; } &.team { background: url("../../../assets/images/learning_theme_sound.jpg") no-repeat; background-size: cover; } &.conception { background: url("../../../assets/images/learning_theme_sound.jpg") no-repeat; background-size: cover; } &.write { background: url("../../../assets/images/learning_theme_sound.jpg") no-repeat; background-size: cover; } &.web { background: url("../../../assets/images/learning_theme_sound.jpg") no-repeat; background-size: cover; } &.general-pc { background: url("../../../assets/images/learning_theme_sound.jpg") no-repeat; background-size: cover; } width: 250px; height: 140px; position: relative; .title { color: white; padding: 10px 20px; display: block; } .details { background-color: #fffd; position: absolute; top: 40px; left: 40px; width: 300px; height: auto; max-height: 0; visibility: hidden; z-index: 1; transition: max-height 0.6s; padding: 20px; box-shadow: 0 2px 12px 6px #0001; overflow: hidden; display: flex; flex-direction: column; gap: 10px; .title { color: initial; padding: 0; } .comment { font-style: italic; } ul { list-style-type: disc; font-size: 14px; margin-left: 10px; } } &:hover { .details { max-height: 1000px; visibility: visible; } } // display: grid; // grid-template-columns: auto 280px; // border-bottom: 1px solid #dde; // border-right: 1px solid #dde; // .img-wrapper { // grid-column: 1; // width: 130px; // overflow: hidden; // display: flex; // justify-content: center; // align-items: center; // position: relative; // img { // position: absolute; // max-height: 100%; // min-width: 100%; // } // } // .right { // grid-column: 2; // padding: 0 10px 10px; // strong { // display: block; // margin-bottom: 10px; // } // .comment { // font-size: 14px; // } // ul { // font-size: 12px; // list-style-type: disc; // margin: 10px 0 0 20px; // display: flex; // flex-direction: column; // gap: 8px; // } // } } } .infos-inscriptions { display: flex; gap: 40px; background-image: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url("../assets/images/wallpaper_binary_light.png"); padding: 20px; .groups, .pricing { background-color: white; padding: 20px; display: flex; flex-direction: column; h3 { margin: 0; } .table-wrapper { table { border: 1px solid #dde; border-collapse: collapse; td { border: 1px solid #dde; padding: 10px 20px; } } } } } } }