trump_maps / style.css
Alcime's picture
Update style.css
c0bfc77 verified
body {
font-family: 'Roboto', sans-serif;
line-height: 1.6;
color: #333;
background-color: #f0f4f8;
margin: 0;
padding: 0;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 40px 20px;
}
header {
background-color: #2c3e50;
color: white;
text-align: center;
padding: 60px 0;
margin-bottom: 40px;
}
h1 {
font-size: 2.5em;
margin: 0;
text-transform: uppercase;
letter-spacing: 2px;
}
.subtitle {
font-size: 1.2em;
font-weight: 300;
margin-top: 10px;
}
.gallery {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}
.map-item {
background-color: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
transition: all 0.3s ease;
display: flex;
flex-direction: column;
}
.map-item:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.map-preview {
position: relative;
height: 200px;
overflow: hidden;
flex: 1;
min-height: 200px;
}
.map-preview iframe {
width: 100%;
height: 100%;
border: none;
pointer-events: none;
}
.map-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(44, 62, 80, 0.7);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.3s ease;
}
.map-item:hover .map-overlay {
opacity: 1;
}
.view-button {
padding: 10px 20px;
background-color: #e74c3c;
color: white;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
text-transform: uppercase;
transition: background-color 0.3s ease;
}
.view-button:hover {
background-color: #c0392b;
}
.map-info {
padding: 20px;
}
.map-info h2 {
margin: 0 0 10px 0;
color: #2c3e50;
font-size: 1.4em;
}
.map-info p {
margin: 0;
color: #7f8c8d;
font-size: 0.9em;
}
.stats {
background-color: #f8f9fa;
padding: 10px;
font-size: 0.9em;
border-top: 1px solid #e9ecef;
}
.stats p {
margin: 5px 0;
}
.modal {
display: none;
position: fixed;
z-index: 1000;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.8);
}
.modal-content {
position: relative;
width: 90%;
height: 90%;
margin: 2% auto;
background-color: #fff;
border-radius: 10px;
overflow: hidden;
}
.close-modal {
position: absolute;
top: 10px;
right: 20px;
color: #fff;
font-size: 30px;
font-weight: bold;
cursor: pointer;
z-index: 1001;
}
.modal iframe {
width: 100%;
height: 100%;
border: none;
}