szamrendszerplusz/contact.css

96 lines
1.5 KiB
CSS

.contact-section {
background-color: #FFC5D3;
padding: 60px 20px;
text-align: center;
color: #252525;
}
.contact-wrapper {
width: 80%;
margin: 0 auto;
max-width: 600px;
}
.contact-wrapper h2 {
font-size: 32px;
font-weight: bold;
color: #d00664;
margin-bottom: 15px;
}
.contact-wrapper p {
font-size: 16px;
color: #460212;
margin-bottom: 25px;
}
.contact-form {
display: flex;
flex-direction: column;
gap: 15px;
}
.contact-form input,
.contact-form textarea {
width: 100%;
padding: 12px;
border: 2px solid #d00664;
border-radius: 8px;
font-size: 16px;
padding-bottom: 75px;
}
.contact-form textarea {
resize: none;
}
.contact-form button {
background-color: #d00664;
color: white;
font-size: 18px;
padding: 12px;
border: none;
border-radius: 8px;
cursor: pointer;
transition: 0.3s;
}
.contact-form button:hover {
background-color: #b00555;
}
body {
opacity: 1;
transition: opacity 0.5s ease-in-out;
}
body.fade-out {
opacity: 0;
}
.animated-bg {
transition: opacity 0.5s ease-in-out;
}
body {
opacity: 0;
animation: fadeIn 0.5s forwards;
transition: opacity 0.5s ease-in-out;
}
@keyframes fadeIn {
to {
opacity: 1;
}
}
body.fade-out {
opacity: 0;
}
.animated-bg {
transition: opacity 0.5s ease-in-out;
}