IAMASTERAGENCY / styles.css
HuggyGuyJo01's picture
Rename style.css to styles.css
a53c952 verified
:root {
--primary-color: #0066CC;
--secondary-color: #003366;
--text-color: #333;
--background-color: #f4f7f6;
--white: #ffffff;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', Arial, sans-serif;
background-color: var(--background-color);
color: var(--text-color);
line-height: 1.6;
}
.container {
max-width: 600px;
margin: 0 auto;
padding: 20px;
}
header {
text-align: center;
margin-bottom: 30px;
}
.registration-tunnel {
background-color: var(--white);
border-radius: 15px;
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
padding: 40px;
position: relative;
}
.progress-indicator {
display: flex;
justify-content: center;
margin-bottom: 30px;
}
.progress-step {
width: 40px;
height: 40px;
border-radius: 50%;
background-color: #e0e0e0;
display: flex;
align-items: center;
justify-content: center;
margin: 0 15px;
color: #666;
font-weight: 600;
transition: all 0.3s ease;
}
.progress-step.active {
background-color: var(--primary-color);
color: white;
}
.progress-step:not(.active):hover {
background-color: #f0f0f0;
}
h1, h2 {
color: var(--secondary-color);
text-align: center;
margin-bottom: 20px;
}
.step {
display: none;
}
.step.active {
display: block;
animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
form {
display: flex;
flex-direction: column;
}
.input-group {
display: flex;
gap: 15px;
}
.input-group input {
flex: 1;
}
input, select, textarea {
margin: 10px 0;
padding: 12px;
border: 1px solid #ddd;
border-radius: 8px;
font-family: 'Inter', sans-serif;
transition: all 0.3s ease;
max-width: 100%;
box-sizing: border-box;
}
input:focus, select:focus, textarea:focus {
outline: none;
border-color: var(--primary-color);
box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}
button {
background-color: var(--primary-color);
color: white;
border: none;
padding: 12px;
border-radius: 8px;
cursor: pointer;
font-weight: 600;
transition: all 0.3s ease;
margin-top: 15px;
max-width: 100%;
box-sizing: border-box;
}
.btn-secondary {
background-color: #f0f0f0;
color: var(--text-color);
margin-right: 10px;
}
button:hover {
background-color: var(--secondary-color);
}
.checkbox-group {
display: flex;
flex-direction: column;
gap: 10px;
}
.checkbox-label {
display: flex;
align-items: center;
cursor: pointer;
user-select: none;
border: 1px solid #ddd;
border-radius: 8px;
padding: 10px;
transition: all 0.3s ease;
}
.checkbox-label:hover {
border-color: var(--primary-color);
background-color: rgba(0,102,204,0.05);
}
.checkbox-label input {
margin-right: 10px;
}
.checkbox-label input:checked + span {
font-weight: 600;
}
.checkbox-label input:checked {
accent-color: var(--primary-color);
}
.checkbox-label:has(input:checked) {
border-color: var(--primary-color);
background-color: rgba(0,102,204,0.1);
}
.form-navigation {
display: flex;
justify-content: flex-end;
margin-top: 20px;
}
textarea {
min-height: 100px;
resize: vertical;
max-width: 100%;
box-sizing: border-box;
}
footer {
text-align: center;
margin-top: 20px;
color: #666;
font-size: 0.9em;
}
.scrolling-header {
background-color: var(--secondary-color);
color: white;
padding: 10px 0;
overflow: hidden;
white-space: nowrap;
}
.scrolling-text {
display: inline-block;
animation: scrollText 15s linear infinite;
padding-left: 100%;
}
.scrolling-text span {
display: inline-block;
padding: 0 50px;
font-weight: bold;
}
@keyframes scrollText {
0% { transform: translate(0, 0); }
100% { transform: translate(-100%, 0); }
}
.confirmation-message {
text-align: center;
padding: 40px 20px;
background-color: rgba(0, 102, 204, 0.05);
border-radius: 15px;
}
.confirmation-message h2 {
color: var(--primary-color);
margin-bottom: 20px;
}
.confirmation-message p {
margin-bottom: 15px;
color: var(--text-color);
}
.confirmation-message button {
background-color: var(--primary-color);
color: white;
border: none;
padding: 12px 24px;
border-radius: 8px;
cursor: pointer;
font-weight: 600;
transition: all 0.3s ease;
}
.confirmation-message button:hover {
background-color: var(--secondary-color);
}
.gallery-button-container {
text-align: center;
margin-top: 20px;
position: relative;
z-index: 10;
}
.btn-gallery {
background-color: var(--white);
color: var(--primary-color);
border: none;
padding: 12px 24px;
border-radius: 12px;
cursor: pointer;
font-weight: 600;
transition: all 0.3s ease;
box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
transform: translateY(-5px);
border: 1px solid rgba(0,102,204,0.1);
}
.btn-gallery:hover {
background-color: var(--white);
box-shadow: 0 6px 8px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.1);
transform: translateY(-7px);
}
.btn-gallery:active {
transform: translateY(-3px);
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0,0,0,0.5);
}
.modal-content {
background-color: white;
margin: 10% auto;
padding: 20px;
border-radius: 15px;
max-width: 800px;
position: relative;
}
.close-modal {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}
.close-modal:hover {
color: black;
}
.services-gallery {
width: 100%;
height: 500px;
}
.services-gallery img {
max-width: 100%;
max-height: 100%;
object-fit: contain;
}
@media screen and (max-width: 768px) {
.container {
padding: 10px;
width: 100%;
}
.registration-tunnel {
padding: 20px;
border-radius: 10px;
}
.progress-indicator {
margin-bottom: 20px;
}
.progress-step {
width: 30px;
height: 30px;
margin: 0 10px;
}
.input-group {
flex-direction: column;
gap: 10px;
}
.input-group input {
width: 100%;
}
.form-navigation {
flex-direction: column;
gap: 10px;
}
.btn-secondary {
margin-right: 0;
margin-bottom: 10px;
}
.checkbox-label {
flex-direction: column;
align-items: flex-start;
}
.checkbox-label input {
margin-bottom: 5px;
}
.scrolling-header {
padding: 5px 0;
}
.scrolling-text {
font-size: 0.8em;
}
.modal-content {
margin: 20% auto;
width: 90%;
padding: 10px;
}
.services-gallery {
height: 300px;
}
}
@media screen and (max-width: 480px) {
.progress-step {
width: 25px;
height: 25px;
margin: 0 5px;
font-size: 0.8em;
}
h1, h2 {
font-size: 1.2em;
}
input, select, textarea, button {
font-size: 0.9em;
padding: 8px;
}
.checkbox-label {
padding: 5px;
}
}
@media screen and (max-width: 600px) {
.scrolling-text {
animation: scrollText 10s linear infinite;
}
}