armanty-quests/src/sass/pages/certificates.scss
2021-04-04 02:03:38 +03:00

341 lines
5.5 KiB
SCSS

.cert {
&-text {
margin-top: 50px;
font-family: 'PT Sans', sans-serif;
h3 {
display: none;
margin: 0 0 12px;
color: #1d1d1d;
font-weight: 600;
font-size: 32px;
letter-spacing: 0.1px;
}
p {
color: #1d1d1d;
font-size: 18px;
line-height: 1.33;
letter-spacing: 0.1px;
}
button {
margin-top: 30px;
}
&__block {
display: flex;
flex-direction: column;
padding-top: 20px;
}
}
&-advantages {
margin-top: 60px;
h2 {
margin-bottom: 40px;
color: #1e212b;
font-weight: 600;
font-size: 40px;
line-height: normal;
letter-spacing: 0.5px;
text-align: center;
}
.row {
max-width: 1440px;
margin-top: 20px;
margin-right: auto;
margin-left: auto;
}
&__item {
display: flex;
flex-direction: column;
align-items: center;
img {
min-height: 117px;
margin-bottom: 10px;
}
span {
max-width: 130px;
color: #000000;
font-size: 18px;
font-family: 'PT Sans', sans-serif;
letter-spacing: 0.3px;
text-align: center;
}
}
}
&-target {
h2 {
margin-bottom: 70px;
color: #1e212b;
font-weight: 600;
font-size: 40px;
line-height: normal;
letter-spacing: 0.5px;
text-align: center;
}
.row {
max-width: 1290px;
margin-right: auto;
margin-left: auto;
}
&__item {
display: flex;
align-items: flex-start;
justify-content: center;
max-width: 600px;
margin-bottom: 70px;
img {
width: 260px;
height: 260px;
border-radius: 50%;
}
&-text {
max-width: 280px;
margin-left: 45px;
font-family: 'PT Sans', sans-serif;
h4 {
margin: 0 0 12px;
color: #1d1d1d;
font-weight: 600;
font-size: 24px;
letter-spacing: 0.1px;
}
p {
color: #1d1d1d;
font-size: 18px;
line-height: 1.15;
letter-spacing: 0.1px;
}
}
}
}
&-items {
padding-top: 15px;
img {
max-width: 100%;
max-height: 360px;
}
h2 {
color: #1e212b;
font-weight: 600;
font-size: 40px;
line-height: normal;
letter-spacing: 0.5px;
text-align: center;
}
.row {
max-width: 1290px;
margin-top: 50px;
margin-right: auto;
margin-left: auto;
div {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 50px;
span {
max-width: 300px;
margin: 0 0 20px;
color: #1d1d1d;
font-weight: 600;
font-size: 24px;
letter-spacing: 0.1px;
text-align: center;
}
}
}
}
&-modal {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 99999;
display: none;
width: 100%;
height: 100vh;
&-overlay {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.35);
}
}
}
@media screen and (max-width: 1200px) {
.cert {
&-text {
.row {
justify-content: space-between !important;
}
}
&-target {
.row {
justify-content: center !important;
}
}
}
}
@media screen and (max-width: 768px) {
.cert {
&-text {
&__header {
display: none;
}
h3 {
text-align: center;
}
&__img {
display: flex;
justify-content: center;
}
.row {
h3 {
display: none;
}
}
&__block {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
}
&-advantages {
.row {
justify-content: center !important;
}
.cert-advantages__item {
margin-top: 20px;
margin-bottom: 20px;
}
}
}
}
@media screen and (max-width: 576px) {
.cert {
&-text {
padding-bottom: 15px;
&__header {
font-size: 26px !important;
}
&____block {
button {
margin-top: 0 !important;
margin-bottom: 10px !important;
}
}
}
&-target {
background: #f2f2f2 !important;
h2 {
max-width: 395px;
margin-bottom: 35px;
font-size: 26px !important;
}
&__item {
flex-direction: column;
align-items: center;
margin-bottom: 20px;
img {
width: 140px;
height: 140px;
}
&-text {
margin-top: 40px;
margin-left: 0;
text-align: center;
h4 {
font-size: 18px;
}
p {
font-size: 14px;
}
}
}
}
&-items {
font-family: 'PT Sans', sans-serif;
.row {
margin-top: 20px;
div {
margin-bottom: 35px;
}
}
h2 {
max-width: 365px;
margin-right: auto;
margin-left: auto;
padding: 0 10px;
font-size: 26px !important;
line-height: 1.09;
letter-spacing: 0.3px;
}
span {
font-size: 18px !important;
}
button {
font-size: 14px;
}
}
&-advantages {
margin-top: 25px;
h2 {
font-size: 26px !important;
}
}
}
}