.category-custom-form-backdrop {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(0, 0, 0, 0.4);
z-index: 110;
}
.category-custom-form {
position: fixed;
z-index: 111;
right: 0;
bottom: 40px;
transform: translateX(100%);
transition: transform 0.6s ease-in-out;
}
.category-custom-form.visible {
transform: translateX(0);
}
.category-custom-form .toggle-button {
transform: rotate(-90deg);
position: absolute;
font-size: 20px;
line-height: 24px;
text-transform: uppercase;
color: #FFF;
background: #000;
padding: 20px 30px 10px 30px;
transform-origin: 0 0;
top: 245px;
left: -55px;
width: 245px;
height: 55px;
border-radius: 18px 18px 0 0;
cursor: pointer;
}
.category-custom-form .form-content {
position: relative;
display: flex;
justify-content: center;
align-items: center;
width: 500px;
height: 550px;
border-radius: 0 18px 18px 18px;
background-position: center;
background-size: cover;
}
.category-custom-form .form-text {
position: relative;
padding: 60px 40px;
background: #FFF;
text-align: center;
box-shadow: 2px 2px 3px rgb(0 0 0 / 14%);
}
.category-custom-form .form-text img {
position: absolute;
top: -100px;
left: -9999px;
right: -9999px;
max-width: 180px;
margin: auto;
}
.category-custom-form .form-title {
text-transform: uppercase;
font-size: 24px;
line-height: 30px;
margin-bottom: 35px;
}
.category-custom-form .form-title:after {
content: '';
max-width: 200px;
height: 2px;
display: block;
background: #000;
margin: 20px auto auto;
}
.category-custom-form .form-button-container {
margin: 0;
}
@media screen and (max-width: 1024px) {
.category-custom-form .form-content {
width: 400px;
height: 440px;
}
.category-custom-form .form-text {
padding: 60px 30px 40px 30px;
}
.category-custom-form .form-text img {
max-width: 150px;
top: -80px;
}
}
@media screen and (max-width: 768px) {
.category-custom-form .form-content {
width: 300px;
height: 330px;
}
.category-custom-form .form-text {
padding: 50px 20px 30px 20px;
}
.category-custom-form .form-text img {
max-width: 100px;
top: -45px;
}
.category-custom-form .form-title {
font-size: 18px;
line-height: 24px;
}
.category-custom-form .button {
font-size: 14px;
line-height: 20px;
padding: 10px;
}
.category-custom-form .toggle-button {
left: -35px;
top: 190px;
width: 190px;
height: 35px;
font-size: 16px;
line-height: 20px;
padding: 10px 20px 5px 20px;
}
}