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.
 
 
 
 
 
 
portio-hugo/assets/scss/components/_contact-section.scss

275 lines
7.5 KiB

.contact{
background: #1B2031;
position: relative;
margin-top: 150px;
&__background_shape{
position: absolute;
width: 100%;
top: 0;
left: 0;
svg{
height: 100%;
width: 100%;
path{
fill: $white;
}
}
@include mobile{
display: none;
}
}
&__cta{
background: $primary-color;
padding: 100px 80px;
border-radius: 20px;
display: flex;
align-items: flex-end;
margin-top: -110px;
flex-wrap: wrap;
position: relative;
overflow: hidden;
z-index: 5;
.shape-1{
position: absolute;
z-index: -1;
transform: rotate(-20deg);
top: -43%;
left: 2%;
animation: moveLeft 5s infinite linear;
svg{
path{
fill: #ffffff;
opacity: .07;
}
}
}
.shape-2{
position: absolute;
z-index: -1;
transform: rotate(80deg);
top: 12%;
right: -9%;
width: 235px;
height: 208px;
animation: move_top 3s infinite linear;
svg{
height: 100%;
width: 100%;
path{
fill: #ffffff;
opacity: .07;
}
}
}
@include desktop{
padding: 70px 40px;
}
&_content{
width: 60%;
@include desktop{
width: 100%;
text-align: center;
margin-bottom: 20px;
}
span{
font-family: $secondary-font;
color: #fff;
font-size: 20px;
display: block;
line-height: 1;
margin: 0 0 20px 40px;
position: relative;
@include desktop{
display: inline-block;
}
&::before{
position: absolute;
content: '';
height: 2px;
width: 20px;
left: -40px;
top: 50%;
transform: translateY(-50%);
background: #fff;
}
}
h1{
font-family: $primary-font;
font-size: 55px;
color: #fff;
margin: 0;
line-height: 1;
@include desktop{
font-size: 40px;
}
}
}
&_action{
width: 40%;
@include desktop{
width: 100%;
text-align: center;
}
a{
float: right;
// color: $primary-color;
// padding: 15px 40px;
// background: #fff;
// display: inline-block;
// text-decoration: none;
// font-family: $secondary-font;
// border-radius: 7px;
// font-size: 16px;
// transition: all .3s ease;
@include desktop{
float: none;
}
// &:hover{
// background: #768bf3;
// color: #fff;
// }
}
}
}
&__widget{
padding: 100px 0;
@include desktop{
text-align: center;
padding: 50px 0;
}
&_sitemap{
@include desktop{
margin: 40px 0;
}
h3{
font-family: $secondary-font;
color: #fff;
margin: 0 0 40px 0;
line-height: 1;
font-size: 24px;
@include desktop{
margin: 0 0 20px 0;
}
}
ul{
margin: 0;
padding: 0;
li{
list-style: none;
a{
text-decoration: none;
display: block;
color: #fff;
transition: all .3s ease;
font-family: $secondary-font;
font-size: 16px;
&:hover{
color: $primary-color;
}
}
&:not(:last-child){
margin-bottom: 10px;
}
}
}
}
&_address{
h3{
font-family: $secondary-font;
color: #fff;
margin: 0 0 40px 0;
line-height: 1;
font-size: 24px;
@include desktop{
margin: 0 0 20px 0;
}
}
ul{
margin: 0;
padding: 0;
li{
list-style: none;
a{
i{
margin-right: 15px;
}
text-decoration: none;
display: block;
color: #fff;
transition: all .3s ease;
font-family: $secondary-font;
font-size: 16px;
&:hover{
color: $primary-color;
}
}
&:not(:last-child){
margin-bottom: 10px;
}
p{
color: #fff;
margin: 0;
i{
margin-right: 20px;
font-size: 17px;
}
}
}
}
}
}
&__footer{
padding: 50px 0;
border-top: 1px solid rgba(255, 255, 255, .2);
@include desktop{
text-align: center;
}
&_copy{
p{
color: #fff;
font-size: 16px;
font-family: $secondary-font;
margin: 0;
}
}
&_social{
ul{
margin: 0;
padding: 0;
float: right;
@include desktop{
margin: 20px auto 0;
float: none;
}
li{
list-style: none;
display: inline-block;
a{
display: block;
text-decoration: none;
color: #fff;
font-size: 20px;
transition: all .3s ease;
&:hover{
color: $primary-color;
}
}
&:not(:last-child){
margin-right: 25px;
}
}
}
}
}
}
@keyframes moveLeft{
0%, 100% {
-webkit-transform: translateX(0) rotate(-20deg);
transform: translateX(0) rotate(-20deg);
}
50% {
-webkit-transform: translateX(15px) rotate(-20deg);
transform: translateX(15px) rotate(-20deg);
}
}