Spaces:
Running
Running
File size: 3,519 Bytes
7bdad8f d2cb402 df588c0 3001cda c8785a3 d2cb402 df588c0 3001cda cabdc9f d2cb402 85414b2 d2cb402 e5abbd1 31d40e4 a9104f4 85414b2 a3f4043 d2cb402 df588c0 3001cda df588c0 a3f4043 7d3cb3d 8160317 a9104f4 a3f4043 df588c0 3001cda df588c0 3001cda df588c0 551ebcd c8785a3 551ebcd 31d40e4 551ebcd 3001cda df588c0 3001cda df588c0 3001cda d2cb402 3001cda 551ebcd a3f4043 31d40e4 551ebcd a3f4043 d2cb402 df588c0 ad72a7f 7bdad8f ad72a7f 7bdad8f 231c87c 7bdad8f ad72a7f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 |
/* 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;
}
|