You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
cosmopet-architecture/wp-content/themes/cosmopet/static/about/css/style.css

329 lines
6.7 KiB

/* */
:root{
--grey-black: #121212;
--creme-white: #F4F1F0;
--transition: .3s all ease;
--GR1: linear-gradient(22deg, #F44242 23.69%, #569EF0 66.57%);
--new-blue: #569EFF;
--border: 60px;
}
.hero{
position: relative;
background: var(--radial);
overflow: hidden;
z-index: 1;
}
.cont {
max-width: 1060px;
padding: 0px 30px;
margin: 0 auto;
}
.hero .cont{
padding-top: 245px;
padding-bottom: 132px;
position: relative;
}
.hero_image{
position: absolute;
top: 0;
right: 0;
z-index: -2;
mix-blend-mode: soft-light;
}
.hero_title{
font-size: 82px;
font-weight: 700;
line-height: normal;
text-transform: uppercase;
color: #F4F1F0;
padding: 0 0 32px 0;
}
.hero_image_mobile,
.home_line2{
display: none;
}
.about{
border-radius: 60px;
background: var(--creme-white);
box-shadow: 6px 9px 20px 0px rgba(0, 0, 0, 0.15);
padding: 145px 0 100px 0;
margin: -60px 0 0 0;
position: relative;
z-index: 2;
}
.section_top{
display: flex;
align-items: center;
gap: 35px;
}
.block_title{
font-size: 36px;
font-weight: 700;
line-height: normal;
text-transform: uppercase;
color: var(--grey-black);
}
.about .section_top{
margin: 0 0 200px 0;
}
.about_top_image2{
display: none;
}
.section_title2{
font-size: 99px;
font-weight: 700;
line-height: 110.5%;
text-transform: uppercase;
margin: 0 0 15px 0;
color: var(--grey-black);
}
.description{
font-size: 24px;
font-weight: 500;
line-height: normal;
color: var(--grey-black);
}
.advantage_row{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 120px 0;
margin: 200px 0;
align-items: flex-start;
}
.advantage_row2{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 120px 30px;
margin: 0 0 200px 0;
}
.advantage_row2 .advantage_item{
max-width: 100%;
width: calc(50% - 15px);
}
.advantage_item{
position: relative;
}
.advantage_item:not(.for_border .advantage_item), .for_border:has(.advantage_item){
width: 435px;
max-width: calc(50% - 15px);
}
.advantage_item:last-child .advantage_title, .advantage_item:last-child .description:not(.for_border .description){
width: 100%;
}
.advantage_title{
font-size: 36px;
font-weight: 700;
line-height: normal;
text-transform: uppercase;
color: var(--grey-black);
margin: 0 0 24px 0;
width: 85%;
}
.advantage_image{
position: absolute;
left: 0;
z-index: -1;
top: -130px;
max-width: 234px;
max-height: 234px;
}
.advantage_item .description:not(.for_border .description){
width: 80%;
}
.advantage_image2{
width: 100%;
}
.advantage_row .advantage_item:nth-child(3) .advantage_image{
top: -165px;
}
.advantage_row .advantage_item:nth-child(3){
margin: 82px 0 0 0;
}
.about .for_border{
border-radius: 60px;
background: var(--GR1);
padding: 2px;
box-shadow: 6px 9px 20px 0px rgba(0, 0, 0, 0.15);
}
.about .for_border .advantage_item{
background-color: var(--creme-white);
padding: 45px 34px 45px 50px;
border-radius: 58px;
}
.protein{
margin: 200px 0 140px 0;
position: relative;
z-index: 0;
}
.protein img{
width: 100%;
}
.protein::before{
position: absolute;
content: '';
width: 103%;
height: 132%;
left: 0;
top: -7%;
background-image: url(../img/protein_ellipse.png);
background-size: contain;
background-repeat: no-repeat;
z-index: -1;
animation: rotateAnimation 10s infinite;
}
@keyframes rotateAnimation {
0% {
transform: rotate(0deg);
}
50% {
transform: rotate(45deg);
}
100% {
transform: rotate(0deg);
}
}
.protein .description{
position: absolute;
z-index: 1;
}
.protein .description:first-child{
left: 16px;
top: -23px;
}
.protein .description:nth-child(2){
top: -25px;
right: 0;
}
.protein .description:nth-child(3){
left: 0;
bottom: 112px;
}
.protein .description:nth-child(4){
right: 0;
bottom: 113px;
}
.diagram{
margin: 0 0 200px 0;
}
.diagram_texts{
display: flex;
align-items: center;
justify-content: flex-start;
margin: 40px 0 20px 0;
}
.diagram_texts .description{
width: 33.3%;
text-align: left;
}
.diagram img{
width: 100%;
}
.etaps_row{
display: flex;
align-items: center;
gap: 120px;
justify-content: flex-start;
margin: 135px 0 100px 0;
position: relative;
padding-right: 252px;
}
.etaps_col{
display: flex;
flex-direction: column;
gap: 135px;
align-items: flex-start;
}
.etap_item{
display: flex;
align-items: flex-start;
gap: 25px;
}
.etap_item:nth-child(2) .description{
max-width: 67%;
}
.etaps_anim{
max-width: 252px;
position: absolute;
right: 0;
top: 50%;
transform: translate(0,-50%);
}
.faq_section{
background: radial-gradient(358.38% 263.16% at 123.55% -27.98%, #0F5881 0%, #1EA49C 36.98%, #76CE75 66.67%, #ECF39F 91.15%);
padding: 140px 0 160px 0;
margin: -70px 0 0 0;
}
.faq_section .section_title2{
color: var(--creme-white);
margin: 0 0 50px 0;
}
.faq_block {
background-color: var(--creme-white);
border-radius: 60px;
border: 2px solid var(--grey-black);
}
.faq_block .faq_item {
padding: 0 72px 0 49px;
font-size: 24px;
font-weight: 500;
color: var(--grey-black);
border-bottom: 2px solid var(--grey-black);
}
.faq_block .faq_item:last-child{
border: none;
}
.faq_top{
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
padding: 44px 0 52px 0;
cursor: pointer;
}
.faq_block .faq_top{
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
padding: 44px 0 52px 0;
}
.faq_block .faq_top .faq_arr_down{
padding: 5px;
transition: var(--transition);
}
.faq_block .faq_top .faq_arr_down.rotate{
transform: rotateX(180deg);
}
.faq_block .faq_body{
overflow: hidden;
margin: 0;
height: 0;
transition: var(--transition);
}
.faq_block .faq_body.open{
margin: 0 0 30px 0;
height: auto;
}
.desctop_none{
display: none;
}
@media (min-width: 980px) {
.advantage_row, .advantage_row2{
padding-right: 5%;
}
}
.section_title{
font-size: 82px;
font-weight: 700;
line-height: normal;
text-transform: uppercase;
color: var(--grey-black);
}