Current File : /home/masbinta/www/core/resources/sass/_contact.scss |
/*======= Contact =======*/
.conatct-section {
position: relative;
z-index: 2;
.contact-form-area {
background: $white;
box-shadow: 0px 16px 32px 0px rgba(228, 228, 228, 0.56);
padding: 60px;
@include respond-below(sm) {
padding: 30px;
}
.contact-form {
padding-left: 10px;
.form-title {
font-size: 40px;
color: $black;
padding-right: 40px;
@include respond-below(md) {
font-size: 28px;
}
}
.input-group {
position: relative;
input,
textarea {
height: 50px;
border: 0;
border-bottom: 2px solid $border-color;
color: $text-color;
padding: 0;
}
textarea {
height: 90px;
}
.icon {
right: 0;
color: $primary-color;
}
}
}
}
.conatct-one-bg {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 74%;
z-index: -2;
background-size: cover;
background-position: center;
background-color: $primary-color;
background-repeat: no-repeat;
&::before {
content: "";
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: -1;
background-color: $primary-color;
opacity: 0.9;
}
}
}
.conatct-section-two {
background-size: cover;
background-position: center;
background-repeat: no-repeat;
position: relative;
z-index: 1;
&::before {
position: absolute;
content: "";
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: -1;
background-color: $secondary-color;
opacity: 0.8;
}
.contact-form {
input,
textarea {
border: 2px solid rgba(255, 255, 255, 0.2);
background-color: transparent;
color: $white;
}
::placeholder {
color: #c1d0de;
}
}
}
.contact-map-one {
height: 340px;
iframe {
width: 100%;
height: 100%;
border: none;
}
}
.contact-map-two {
text-align: end;
position: relative;
z-index: 2;
&::before {
position: absolute;
content: "";
height: 0;
width: 0;
border-bottom: 400px solid $primary-color;
border-left: 400px solid transparent;
right: -15px;
bottom: -15px;
z-index: -1;
@include respond-below(sm) {
border-width: 200px;
}
}
iframe {
border: none;
width: 90%;
height: 560px;
@include respond-below(lg) {
width: 100%;
}
}
}
.contact-map-three {
iframe {
border: none;
width: 100%;
height: 550px;
}
}
.contact-info-items {
display: flex;
border: 1px solid $border-color-2;
flex-wrap: wrap;
.contact-info-item {
border: 1px solid $border-color-2;
width: 50%;
flex: 0 0 50%;
padding: 55px 0 50px;
@include respond-below(sm) {
width: 100%;
flex: 0 0 100%;
}
i {
height: 80px;
width: 80px;
border-radius: 50%;
background: $primary-color;
text-align: center;
line-height: 80px;
color: $white;
font-size: 24px;
}
.title {
font-size: 24px;
padding-top: 25px;
}
p {
font-size: 18px;
color: $text-color-3;
padding-top: 5px;
}
}
}
.contact-video {
position: relative;
z-index: 1;
text-align: right;
&::before {
position: absolute;
content: "";
height: 0;
width: 0;
border-bottom: 400px solid $primary-color;
border-left: 400px solid transparent;
right: -20px;
bottom: -20px;
z-index: -1;
@include respond-below(sm) {
border-width: 200px;
}
}
.video-popup {
position: absolute;
left: 50%;
top: 50%;
height: 120px;
width: 120px;
text-align: center;
line-height: 120px;
color: $white;
font-size: 24px;
z-index: 5;
border-radius: 50%;
background-color: $primary-color;
transform: translate(-50%, -50%);
@include respond-below(sm) {
height: 80px;
width: 80px;
line-height: 80px;
}
&::before {
position: absolute;
content: "";
height: 100%;
width: 100%;
border-radius: 50%;
background: $white;
top: 0;
left: 0;
z-index: -2;
opacity: 0.6;
animation: pulseBtnBefore 1.5s linear infinite;
}
&::after {
position: absolute;
content: "";
height: 100%;
width: 100%;
top: 0;
left: 0;
background: $primary-color;
border-radius: 50%;
z-index: -1;
}
}
}