Spaces:
Running
Running
| /* Resource Cards - Full Height/Width */ | |
| .resource-card { | |
| transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); | |
| height: 100%; | |
| min-height: 500px; | |
| display: flex; | |
| flex-direction: column; | |
| position: relative; | |
| } | |
| .resource-card .relative { | |
| height: 220px; | |
| width: 100%; | |
| overflow: hidden; | |
| background: transparent; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| background-color: #f8fafc; | |
| border-bottom: 1px solid #e5e7eb; | |
| padding: 1rem; | |
| } | |
| .resource-card:hover { | |
| transform: translateY(-8px); | |
| box-shadow: 0 20px 40px -10px rgba(0, 32, 96, 0.2); | |
| } | |
| .resource-card img { | |
| width: 100%; | |
| height: 100%; | |
| object-fit: contain; | |
| object-position: center; | |
| transition: all 0.3s ease; | |
| max-height: 180px; | |
| } | |
| .resource-card .btn-primary { | |
| transition: all 0.3s ease; | |
| display: inline-flex; | |
| align-items: center; | |
| justify-content: center; | |
| } | |
| .resource-card:hover .btn-primary { | |
| box-shadow: 0 4px 12px rgba(0, 32, 96, 0.2); | |
| } | |
| /* Resource type indicator */ | |
| .resource-card span.text-sm { | |
| letter-spacing: 0.05em; | |
| } | |
| /* Card content spacing */ | |
| .resource-card > div:last-child { | |
| padding: 1.5rem; | |
| display: flex; | |
| flex-direction: column; | |
| flex-grow: 1; | |
| } | |
| .resource-card .relative { | |
| height: 100%; | |
| width: 100%; | |
| background: transparent; | |
| } | |
| .resource-card h4 { | |
| transition: color 0.3s ease; | |
| } | |
| .resource-card:hover h4 { | |
| color: var(--vlc-sky); | |
| } | |
| /* Responsive adjustments */ | |
| @media (max-width: 768px) { | |
| .resource-card { | |
| max-width: 100%; | |
| min-height: auto; | |
| } | |
| .resource-card .relative { | |
| height: 180px; | |
| background: transparent; | |
| } | |
| .resource-card img { | |
| max-height: 160px; | |
| } | |
| } | |
| body { | |
| padding: 0; | |
| font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif; | |
| } | |
| section { | |
| padding: 4rem 0; | |
| } | |
| .btn-primary { | |
| background: var(--vlc-navy); | |
| color: white; | |
| padding: 0.75rem 1.5rem; | |
| border-radius: 0.375rem; | |
| font-weight: 500; | |
| transition: all 0.3s ease; | |
| border: none; | |
| cursor: pointer; | |
| text-align: center; | |
| } | |
| /* Modal styles */ | |
| #downloadModal { | |
| transition: opacity 0.3s ease; | |
| opacity: 0; | |
| pointer-events: none; | |
| } | |
| #downloadModal.hidden { | |
| opacity: 0; | |
| } | |
| #downloadModal:not(.hidden) { | |
| opacity: 1; | |
| pointer-events: auto; | |
| } | |
| #downloadModal > div { | |
| background: white; | |
| padding: 2rem; | |
| border-radius: 0.5rem; | |
| width: 100%; | |
| max-width: 28rem; | |
| box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), | |
| 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
| position: relative; | |
| } | |
| #downloadModal input[type="text"] { | |
| width: 100%; | |
| padding: 0.75rem; | |
| border: 1px solid #e5e7eb; | |
| border-radius: 0.375rem; | |
| margin-bottom: 1rem; | |
| font-size: 1rem; | |
| } | |
| #downloadModal input[type="text"]:focus { | |
| outline: none; | |
| border-color: var(--vlc-sky); | |
| box-shadow: 0 0 0 3px rgba(0, 160, 233, 0.1); | |
| } | |
| #VMerror { | |
| color: #ef4444; | |
| font-size: 0.875rem; | |
| margin-bottom: 0.5rem; | |
| display: block; | |
| } | |
| .btn-primary:hover { | |
| background: var(--vlc-navy-700); | |
| transform: translateY(-2px); | |
| } | |
| .btn-accent { | |
| background: var(--vlc-leaf); | |
| color: var(--vlc-navy); | |
| padding: 0.75rem 1.5rem; | |
| border-radius: 0.375rem; | |
| font-weight: 500; | |
| transition: all 0.3s ease; | |
| } | |
| .btn-accent:hover { | |
| background: var(--vlc-leaf-700); | |
| transform: translateY(-2px); | |
| } | |
| h1 { | |
| font-size: 16px; | |
| margin-top: 0; | |
| } | |
| p { | |
| color: rgb(107, 114, 128); | |
| font-size: 15px; | |
| margin-bottom: 10px; | |
| margin-top: 5px; | |
| } | |
| .card { | |
| max-width: 620px; | |
| margin: 0 auto; | |
| padding: 16px; | |
| border: 1px solid lightgray; | |
| border-radius: 16px; | |
| } | |
| .card p:last-child { | |
| margin-bottom: 0; | |
| } | |