website/assets/sass/adhesion.scss

180 lines
3.6 KiB
SCSS

.adhesion-body {
overflow: hidden !important;
height: 100%;
.root {
overflow: hidden;
height: 100%;
display: flex;
flex-direction: column;
}
.adhesion-container {
background: radial-gradient(circle, rgba(0,0,0,0.6) 0%, darken($background, 15%) 100%);
width: 100%;
flex-grow: 1;
.video-presentation {
height: 100%;
iframe {
width: 100%;
height: 100%;
}
}
}
.video-presentation-cover {
position: relative;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
button {
width: 6rem;
background: transparent;
border: none;
border-radius: 50%;
cursor: pointer;
.btn-icon {
fill: white;
}
}
.video-cover__back {
width: 100%;
height: 100%;
z-index: -1;
background-color: $background;
position: absolute;
bottom: 0;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
.back-icon {
width: 50%;
fill: white;
opacity: 0.6;
position: relative;
top: 0rem;
}
}
}
.video-cover__content {
display: flex;
flex-direction: column;
align-items: center;
padding: 3rem;
color: white;
cursor: pointer;
}
.adhesion-footer {
width: 100%;
height: auto;
padding: 1rem 0;
background-color: $background;
display: flex;
justify-content: center;
align-items: center;
}
.adhesion-btns {
display: flex;
justify-content: space-between;
}
.btn {
background-color: white;
opacity: 0.8;
transition: 0.2s all;
.btn__icon {
margin-right: 1rem;
width: 2rem;
height: 2rem;
}
&:hover {
opacity: 1;
}
}
.subscribe-button {
text-transform: uppercase;
display: flex;
justify-content: center;
align-items: center;
border-radius: 35px;
color: black;
text-decoration: none;
padding: .7rem 2rem;
}
.socials {
display: flex;
list-style-type: none;
padding: 0;
margin: 0;
li {
background-color: white;
border-radius: 50%;
width: 3rem;
height: 3rem;
margin-right: 1rem;
&:last-of-type {
margin-right: 0;
}
a {
display: block;
width: 100%;
height: 100%;
text-transform: uppercase;
svg {
display: block;
padding: .7rem;
fill: black;
width: 100%;
height: 100%;
}
}
}
}
@media (max-width: $mobile-breakpoint) {
.adhesion-footer {
height: auto;
}
.adhesion-footer {
.subscribe-button {
margin-bottom: 1rem;
}
.adhesion-btns {
flex-direction: column;
}
.socials {
justify-content: center;
}
}
}
}