#home-page { display: flex; flex-direction: column; .section-title { padding: 10px; margin: 0; color: $light_2; } .page-header { .philo-bubbles { @include flex-center; flex-wrap: wrap; gap: 40px; @media screen and (max-width: $screen_m) { gap: 20px; } margin: 30px 20px; li { border-radius: 100%; @include flex-center; background-color: $light_0; * { color: $medium_grey; } width: 100px; height: 100px; @media screen and (max-width: $screen_s) { width: 75px; height: 75px; * { font-size: 12px; } } &:first-child { background-color: $medium_grey; * { color: white; } } &:last-child { background-color: $dark_1; * { color: $light_1; } } } } } @import "./home-page-components/news-articles.scss"; .poles { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; padding: 100px 0; .theme-card { display: flex; flex-direction: column; width: 100%; cursor: pointer; .card-img { width: 100%; height: 240px; overflow: hidden; @include flex-center-col; position: relative; img { position: absolute; max-width: 100%; height: 100%; padding: 10px; } } .card-title { h2 { margin: 0; text-align: center; padding: 10px 20px; color: $blue_2; display: block; background-color: white; } } .card-description { flex: 1; padding: 30px 20px; p { margin: 0; color: $blue_2; text-align: center; } } transition: transform 0.3s; &:hover { transform: scale(1.03); } } } .kuadrado-values { background-image: url("/assets/images/wallpaper_binary_light.png"); padding: 100px 0 120px; *:not(a, blue) { color: $light_0; } h2 { @include flex-center; margin: 0 auto 60px; width: 120px; height: 120px; background-image: url("/assets/images/wallpaper_binary.png"); border-radius: 100%; color: $blue_3; } ul.values-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; li { background-image: url("/assets/images/wallpaper_binary.png"); padding: 30px 20px 40px; h3 { text-align: center; } p { text-align: justify; } } } } .whoami { padding: 20px 0 50px; .page-contents-center { padding: 40px; @include flex-center-col; h2 { text-align: center; background-color: $medium_grey; @include flex-center-col; width: 220px; height: 220px; border-radius: 100%; padding: 30px; margin: 40px 0; color: $blue_3; } .presentation-card { .header { display: grid; grid-template-columns: auto 1fr; gap: 30px; padding: 50px 20px; .pic { @include flex-center-col; img { width: 150px; height: auto; border-radius: 100%; } } .header-text { h3 { font-size: 22px; color: $light_1; margin: 0; } h4 { font-size: 18px; } strong, h4 { color: $light_1; } } } .body { p { font-size: 18px; font-style: italic; font-family: serif; color: $dark_3; *:not(blue, a) { color: $dark_3; } } } } } } @media screen and (max-width: $screen_l) { .poles { grid-template-columns: 1fr; gap: 40px; .theme-card { .card-img { height: 300px; img { min-width: unset; height: 100%; } } .card-title { h2 { padding: 5px 20px; } } .card-description { padding: 20px 30px; } transition: transform 0.3s; &:hover { transform: none; } } } .kuadrado-values { ul.values-list { grid-template-columns: 1fr; } } } @media screen and (max-width: $page_contents_center_width) { .poles { padding: 20px; } .articles-displayer { padding: 0; } } @media screen and (max-width: $screen_s) { .whoami { .page-contents-center { .presentation-card { .header { @include flex-center-col; .header-text { text-align: center; } } } } } } }