.home-presentation {
display: grid;
grid-template-columns: auto 250px;
grid-template-rows: 370px auto;
gap: 10px;
grid-template-areas:
"Bubbles Apps"
"Techs Apps"
;
align-items: end; }
.home-presentation .home-background {
position: absolute;
top: 50px;
left: -40%;
height: 200vh;
width: 100vw;
object-fit: contain;
} .home-presentation .bubbles-container {
position: relative;
grid-area: Bubbles;
height: 100%;
z-index: 20;
}
.home-presentation .bubbles-container .bubble {
position: relative;
border-radius: 100%;
position: absolute;
transition: 0.3s;
}
.home-presentation .bubbles-container .bubble.technology-bubble {
display: flex;
border: 10px solid var(--blue);
width: 175px;
height: 175px;
z-index: 1;
top: 0;
left: 40%;
transform: translateX(-80%);
}
.home-presentation .bubbles-container .bubble.technology-bubble.active {
background-color: white;
}
.home-presentation .bubbles-container .bubble.application-bubble {
display: flex;
background-color: var(--lightred);
width: 225px;
height: 225px;
z-index: 2;
top: 0;
left: 40%;
}
.home-presentation .bubbles-container .bubble.application-bubble.active {
border: 10px solid var(--red);
background-color: var(--red);
}
.home-presentation .bubbles-container .bubble.active {
width: 300px;
height: 300px;
z-index: 5;
}
.home-presentation .bubbles-container .bubble .bubble-picto {
opacity: 0;
margin: auto;
width: 70%;
height: 70%;
object-fit: contain;
object-position: center;
transition: 0.3s;
}
.home-presentation .bubbles-container .bubble .bubble-picto[src=""] {
display: none;
}
.home-presentation .bubbles-container .bubble.active .bubble-picto {
opacity: 1;
} .home-presentation .items-container {
position: relative;
background-color: white;
border-radius: 10px;
z-index: 10;
}
.home-presentation .items-container .line {
position: absolute;
object-fit: cover;
z-index: -1;
}
.home-presentation .items-container h2 {
font-size: 3rem;
font-weight: 500;
margin: 15px 0;
}
.home-presentation .items-container .items {
}
.home-presentation .items-container .items .item {
box-shadow: none;
height: auto;
background-color: var(--grey);
border-radius: 5px;
margin: 5px;
padding: 10px 5px;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
transition: 0.3s;
cursor: pointer;
}
.home-presentation .items-container .items .technology.hover {
transform: scale(1.05);
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
.home-presentation .items-container .items .application.hover {
transform: scale(1.1);
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
.home-presentation .items-container .items .item h3 {
color: inherit;
margin: 0;
font-weight: 600;
font-size: 1rem;
} .home-presentation .technologies-container {
grid-area: Techs;
padding: 10px;
border: 3px solid var(--blue);
}
.home-presentation .technologies-container .line {
left: -50px;
top: -300px;
width: 31.6vw;
max-width: 380px;
height: 480px;
object-position: top;
}
.home-presentation .technologies-container h2 {
position: absolute;
bottom: 100%;
left: 0;
color: var(--blue);
}
.home-presentation .technologies-container .technologies {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.home-presentation .technologies-container .technologies .technology {
color: var(--blue);
width: calc(25% - 10px);
min-width: 125px;
}
.home-presentation .technologies-container .technologies .technology.hover {
background-color: var(--blue);
color: white;
}
.home-presentation .technologies-container .technologies .technology h3 {
} .home-presentation .applications-container {
grid-area: Apps;
border: 3px solid var(--red);
padding: 15px;
}
.home-presentation .applications-container .line {
width: 54vw;
max-width: 650px;
right: 0;
top: -110px;
object-position: left;
height: 50px;
}
.home-presentation .applications-container h2 {
position: absolute;
bottom: 100%;
left: 0;
width: 150%;
margin-left: -50%;
text-align: right;
color: var(--red);
}
.home-presentation .applications-container h2 {
}
.home-presentation .applications-container .applications {
display: flex;
flex-direction: column;
flex-wrap: nowrap;
}
.home-presentation .applications-container .applications .application {
color: var(--red);
}
.home-presentation .applications-container .applications .application.hover {
background-color: var(--red);
color: white;
}
.home-presentation .applications-container .applications .application h3 {
}
@media screen and (max-width: 1919px) and (min-width: 1024px) { .home-presentation {
grid-template-rows: 300px auto;
}
.home-presentation .bubbles-container .bubble.technology-bubble {
left: 45%;
}
.home-presentation .bubbles-container .bubble.application-bubble {
width: 200px;
height: 200px;
left: 45%;
}
.home-presentation .bubbles-container .bubble.active {
width: 225px;
height: 225px;
}
.home-presentation .technologies-container .line {
top: -230px;
height: 410px;
}
}
@media screen and (max-width: 1024px) {
.home-presentation {
grid-template-areas:
"Bubbles Bubbles"
"Techs Apps";
}
.home-presentation .items-container {
height: 100%;
display: flex;
}
.home-presentation .applications-container .items,
.home-presentation .technologies-container .items-row{
margin: auto;
}
.home-presentation .items-container h2 {
font-size: 2rem;
}
.home-presentation .technologies-container .technologies .technology {
width: calc(50% - 10px);
}
.home-presentation .applications-container h2 {
width: 100%;
margin-left: 0;
}
.home-presentation .items-container .line {
display: none;
}
}
@media screen and (max-width: 600px) {
.home-presentation {
display: block;
}
.home-presentation .bubbles-container {
display: none;
}
.home-presentation .items-container {
display: block;
margin-bottom: 20px;
}
.home-presentation .items-container h2 {
position: relative;
padding: 0;
}
.home-presentation .technologies-container .technologies .technology {
width: calc(100% - 10px);
}
}