#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; &.game-banner { background-image: url("../../../assets/images/game_studio_banner.png"); } &.popu-banner { background-image: url("../../../assets/images/popularization_banner.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 6px #0003; } } .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-color: $light_0; padding: 30px; .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_2d.png") no-repeat ; background-size: cover; } &.sound { background: url("../../../assets/images/learning_theme_sound.png") no-repeat; background-size: cover; } &.coding { background: url("../../../assets/images/learning_theme_coding.png") no-repeat; background-size: cover; } &.math { background: url("../../../assets/images/learning_theme_math.png") no-repeat; background-size: cover; } &.linux { background: url("../../../assets/images/learning_theme_linux.png") no-repeat; background-size: cover; } &.team { background: url("../../../assets/images/learning_theme_team.png") no-repeat; background-size: cover; } &.conception { background: url("../../../assets/images/learning_theme_conception.png") no-repeat; background-size: cover; } &.write { background: url("../../../assets/images/learning_theme_write.png") no-repeat; background-size: cover; } &.web { background: url("../../../assets/images/learning_theme_web.png") no-repeat; background-size: cover; } &.pc { background: url("../../../assets/images/learning_theme_pc.png") no-repeat; background-size: cover; } width: 250px; height: 140px; position: relative; box-shadow: 3px 3px 5px 1px #0001; padding: 10px; .title { color: $dark_2; font-size: 1.1em; 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; .comment { font-style: italic; } ul { list-style-type: disc; font-size: 14px; margin-left: 10px; } } &:hover { .details { max-height: 1000px; visibility: visible; } } } } .infos-inscriptions { display: flex; gap: 40px; background-color: $light_0; padding: 30px; .groups, .pricing { background-color: white; padding: 20px; display: flex; flex-direction: column; // box-shadow: 3px 3px 5px 1px #0001; h3 { margin: 0; } .table-wrapper { table { border: 1px solid #dde; border-collapse: collapse; td { border: 1px solid #dde; padding: 10px 20px; } } } } } } }