120 lines
1.9 KiB
CSS
120 lines
1.9 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;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: url('/resources/main.jpg') center center / cover no-repeat fixed;
|
|
}
|
|
|
|
.card {
|
|
background: rgba(255, 248, 220, 0.92);
|
|
border-radius: 12px;
|
|
padding: 3rem 4rem;
|
|
text-align: center;
|
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
|
|
max-width: 520px;
|
|
width: 90%;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2rem;
|
|
font-weight: 600;
|
|
color: #3b2a0e;
|
|
margin-bottom: 2rem;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.buttons {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
button {
|
|
font-family: inherit;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
padding: 0.75rem 1.5rem;
|
|
border: none;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
background-color: #6b5a2a;
|
|
color: #fdf5e0;
|
|
transition: background-color 0.2s, transform 0.1s;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #8b6914;
|
|
}
|
|
|
|
button:active {
|
|
transform: scale(0.97);
|
|
}
|
|
|
|
/* 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: 90vw;
|
|
max-width: 900px;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.modal-close:hover {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
transform: none;
|
|
}
|
|
|
|
#modal-video {
|
|
width: 100%;
|
|
max-height: 75vh;
|
|
border-radius: 6px;
|
|
display: none;
|
|
}
|
|
|
|
#modal-iframe {
|
|
width: 100%;
|
|
height: 75vh;
|
|
border: none;
|
|
border-radius: 6px;
|
|
display: none;
|
|
}
|