laconic.com/src/components/sections/about/team/team.module.scss
2022-04-06 10:51:41 -03:00

181 lines
3.8 KiB
SCSS

@import '~/css/helpers';
.section {
position: relative;
margin-top: tovw(24px, 'default', 16px);
padding: tovw(124px, 'default', 100px) 0;
@media screen and (max-width: 800px) {
margin-top: 0;
}
.container {
@media screen and (max-width: 800px) {
padding: 0 tovw(16px, 'tablet', 16px);
}
> div:nth-child(2) {
display: flex;
justify-content: space-between;
width: tovw(1076px, 'default', 400px);
margin: auto;
padding-top: tovw(68px, 'default', 40px);
gap: tovw(24px, 'default', 24px);
@media screen and (max-width: 800px) {
flex-direction: column;
width: 100%;
}
p {
font-size: tovw(24px, 'default', 18px);
line-height: 1.32;
width: tovw(524px, 'default', 300px);
margin: 0;
letter-spacing: -0.01em;
@media screen and (max-width: 800px) {
width: 100%;
}
}
}
}
}
.team {
display: flex;
flex-direction: column;
width: tovw(1076px, 'default', 400px);
margin: auto;
padding-top: tovw(120px, 'default', 60px);
gap: tovw(64px, 'default', 26px);
@media screen and (max-width: 800px) {
width: 100%;
}
.header {
display: flex;
align-items: center;
justify-content: space-between;
padding: tovw(24px, 'default', 20px) 0;
border-bottom: tovw(1px, 'default', 1px) solid grey;
div:first-child {
display: flex;
gap: tovw(20px, 'default', 3px);
@media screen and (max-width: 800px) {
justify-content: flex-start;
}
}
span:last-child {
font-family: var(--font-dm-mono), sans-serif;
font-size: tovw(16px, 'default', 12px);
padding-top: tovw(18px, 'default', 8px);
color: var(--color-grey-light);
@media screen and (max-width: 800px) {
display: none;
}
}
.line {
width: tovw(85px, 'default', 55px);
height: tovw(45px, 'default', 30px);
transform: rotate(-90deg) translateY(tovw(-5px, 'default', -5px))
scaleX(2.2) scaleY(1.6);
@media screen and (max-width: 800px) {
height: tovw(32px, 'default', 32px);
transform: rotate(-90deg) scaleX(2.2) scaleY(1.4)
translateY(tovw(-2px, 'mobile', -3px));
}
}
}
}
.profiles__container {
@media screen and (min-width: 1400px) {
display: flex;
justify-content: flex-start;
gap: tovw(100px, 'default', 40px);
}
@media screen and (max-width: 800px) {
width: 100vw;
margin: 0 tovw(-70px, 'tablet', -35px);
scroll-behavior: smooth;
}
}
.member {
display: flex;
flex-direction: column;
justify-content: space-between;
width: tovw(194px, 'default', 80px);
transition: filter var(--normal-transition);
gap: tovw(24px, 'default', 18px);
img {
overflow: hidden;
border-radius: tovw(5px, 'default', 5px);
}
.description {
font-family: var(--font-tt-hoves);
font-size: tovw(18px, 'default', 16px);
line-height: 1.3;
display: flex;
flex-direction: column;
letter-spacing: -0.02em;
gap: tovw(5px, 'default', 5px);
span:last-child {
color: var(--color-grey-light);
}
}
.socials {
display: flex;
gap: tovw(14px, 'default', 14px);
button {
cursor: pointer;
border: none;
background-color: unset;
}
svg {
width: tovw(23px, 'default', 18px);
@media screen and (max-width: 800px) {
width: tovw(12px, 'mobile', 19px);
}
&:hover {
filter: opacity(80%);
}
}
}
}
.darker {
@media screen and (max-width: 1400px) {
transition: filter var(--normal-transition);
filter: opacity(40%);
}
}
.arrow {
position: absolute;
left: tovw(312px, 'default');
width: tovw(23px, 'default', 15px);
height: tovw(23px, 'default', 15px);
@media screen and (max-width: 800px) {
display: none;
}
}