Fiera_web/app/resources/css/style.css

144 lines
2.3 KiB
CSS

*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 16px;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
background: url('/resources/main.jpg') center center / cover no-repeat fixed;
}
header {
text-align: center;
padding: 3rem 1rem 2rem;
}
h1 {
font-size: 3rem;
font-weight: 600;
color: #fdf5e0;
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
letter-spacing: 0.02em;
}
h2 {
font-size: 1.5rem;
font-weight: 600;
color: #fdf5e0;
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
letter-spacing: 0.02em;
}
.cards-row {
display: flex;
gap: 8vw;
justify-content: center;
align-items: flex-end;
padding: 0 2rem 3rem;
flex-wrap: wrap;
}
.action-card {
background: rgba(255, 248, 220, 0.92);
border-radius: 12px;
padding: 1.5rem;
width: 220px;
display: flex;
flex-direction: column;
gap: 1rem;
text-align: center;
cursor: pointer;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
transition: transform 0.2s, box-shadow 0.2s;
}
.action-card:hover {
transform: translateY(-6px);
box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}
.card-icon {
height: 80px;
background: rgba(107, 90, 42, 0.15);
border-radius: 8px;
border: 2px dashed rgba(107, 90, 42, 0.3);
}
.card-title {
font-size: 1rem;
font-weight: 600;
color: #3b2a0e;
}
.card-text {
font-size: 0.875rem;
color: #5c4a2a;
line-height: 1.5;
}
/* Modal */
.modal {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.72);
display: flex;
align-items: center;
justify-content: center;
z-index: 100;
}
.modal.hidden {
display: none;
}
.modal-box {
position: relative;
background: #1a1a1a;
border-radius: 10px;
padding: 0.5rem;
width: 80vw;
height: 80vh;
}
.modal-close {
position: absolute;
top: -1.5rem;
right: -0.25rem;
background: transparent;
color: #fff;
font-size: 1.75rem;
line-height: 1;
padding: 0 0.4rem;
border-radius: 4px;
cursor: pointer;
font-weight: 400;
border: none;
font-family: inherit;
}
.modal-close:hover {
background: rgba(255, 255, 255, 0.15);
}
#modal-video {
width: 100%;
height: 100%;
border-radius: 6px;
display: none;
}
#modal-iframe {
width: 100%;
height: 100%;
border: none;
border-radius: 6px;
display: none;
}