add img and reslyle page
This commit is contained in:
360
css/styles.css
360
css/styles.css
@@ -113,13 +113,14 @@ header::after {
|
||||
.header-content {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
max-width: 800px;
|
||||
padding: 0 20px;
|
||||
}
|
||||
.header-content h1 {
|
||||
font-size: 2.8rem;
|
||||
font-size: 1.8rem;
|
||||
margin-bottom: 20px;
|
||||
margin-top: 40px;
|
||||
text-shadow: 0 2px 4px rgba(0,0,0,0.3);
|
||||
|
||||
}
|
||||
.header-content p {
|
||||
font-size: 1.2rem;
|
||||
@@ -155,31 +156,27 @@ header::after {
|
||||
box-shadow: 0 10px 20px rgba(0,0,0,0.2);
|
||||
}
|
||||
|
||||
/* Video Background Section */
|
||||
/* Video Section */
|
||||
.video-section {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Video Block */
|
||||
.video-container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
padding-top: 56.25%; /* 16:9 aspect ratio */
|
||||
margin: 40px 0;
|
||||
}
|
||||
|
||||
.video-container iframe {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: -1;
|
||||
}
|
||||
.video-container iframe {
|
||||
width: 100vw;
|
||||
height: 56.25vw;
|
||||
min-height: 100%;
|
||||
min-width: 100%;
|
||||
object-fit: cover;
|
||||
transform: translate(-50%, -50%);
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
border: none;
|
||||
}
|
||||
.video-content {
|
||||
position: relative;
|
||||
@@ -199,7 +196,24 @@ header::after {
|
||||
|
||||
/* Section Styling */
|
||||
.section {
|
||||
padding: 80px 0;
|
||||
padding: 20px 0;
|
||||
position: relative;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
|
||||
}
|
||||
.section::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 0;
|
||||
}
|
||||
.section > * {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
.section-title {
|
||||
text-align: center;
|
||||
@@ -326,8 +340,8 @@ header::after {
|
||||
|
||||
/* Testimonials - голубой градиент */
|
||||
.reviews-section {
|
||||
background: linear-gradient(135deg, var(--blue), #2980b9);
|
||||
color: white;
|
||||
|
||||
background-image: url('../img/19007.jpg');
|
||||
}
|
||||
.reviews-container {
|
||||
position: relative;
|
||||
@@ -374,7 +388,7 @@ header::after {
|
||||
.review-card {
|
||||
flex: 0 0 calc(50% - 15px);
|
||||
scroll-snap-align: start;
|
||||
background: rgba(255,255,255,0.15);
|
||||
background: rgba(255,255,255,0.65);
|
||||
padding: 30px;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
|
||||
@@ -422,11 +436,149 @@ header::after {
|
||||
flex: 1;
|
||||
max-width: 400px;
|
||||
}
|
||||
.cta-image img {
|
||||
.cta-image .slider-container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
height: 400px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.cta-image .slide {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
border-radius: 15px;
|
||||
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
opacity: 0;
|
||||
transition: opacity 0.5s ease-in-out;
|
||||
}
|
||||
|
||||
.cta-image .slide.active {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Social media in CTA section */
|
||||
.cta-content .social-embeds {
|
||||
flex: 1;
|
||||
max-width: 300px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.cta-content .embeds-container {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.cta-content .section-title {
|
||||
text-align: left;
|
||||
font-size: 1.5rem;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
/* Modal styles */
|
||||
.modal-overlay {
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.8);
|
||||
z-index: 2000;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
|
||||
.modal-overlay.active {
|
||||
display: flex;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.modal-content {
|
||||
position: relative;
|
||||
max-width: 90%;
|
||||
max-height: 90%;
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
padding: 20px;
|
||||
border-radius: 10px;
|
||||
backdrop-filter: blur(5px);
|
||||
}
|
||||
|
||||
.modal-image-container {
|
||||
position: relative;
|
||||
max-width: 100%;
|
||||
max-height: 80vh;
|
||||
}
|
||||
|
||||
.modal-image {
|
||||
max-width: 100%;
|
||||
max-height: 80vh;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.modal-nav {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
background: rgba(255,255,255,0.7);
|
||||
border: none;
|
||||
border-radius: 50%;
|
||||
font-size: 24px;
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.modal-nav:hover {
|
||||
background: rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
.modal-nav.prev {
|
||||
left: 10px;
|
||||
}
|
||||
|
||||
.modal-nav.next {
|
||||
right: 10px;
|
||||
}
|
||||
|
||||
.instagram-embed {
|
||||
padding: 40px 0;
|
||||
background: #f8f8f8;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.instagram-embed .container {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.instagram-media {
|
||||
margin: 0 auto !important;
|
||||
}
|
||||
|
||||
.close-modal {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
right: 15px;
|
||||
color: black;
|
||||
font-size: 30px;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
transition: transform 0.2s ease;
|
||||
background: none;
|
||||
border: none;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.close-modal:hover {
|
||||
transform: scale(1.2);
|
||||
}
|
||||
.cta-text {
|
||||
flex: 1;
|
||||
@@ -468,9 +620,75 @@ header::after {
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
/* Disease/Condition Grid - Telmi Help Cards */
|
||||
.disease-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 20px;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.disease-card {
|
||||
background: rgba(255, 255, 255, 0.8);
|
||||
border-radius: 15px;
|
||||
padding: 20px;
|
||||
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
|
||||
transition: transform 0.3s ease;
|
||||
backdrop-filter: blur(5px);
|
||||
border: 1px solid rgba(255,255,255,0.2);
|
||||
}
|
||||
|
||||
.disease-card:hover {
|
||||
transform: translateY(-5px);
|
||||
}
|
||||
|
||||
.disease-icon {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
margin-bottom: 15px;
|
||||
border-radius: 50%;
|
||||
background: rgba(76, 175, 80, 0.1);
|
||||
font-size: 30px;
|
||||
line-height: 1;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.disease-card h3 {
|
||||
font-size: 1.2rem;
|
||||
margin-bottom: 10px;
|
||||
color: var(--dark);
|
||||
}
|
||||
|
||||
.help-text {
|
||||
font-size: 0.9rem;
|
||||
margin-bottom: 10px;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
.features-text {
|
||||
font-size: 0.85rem;
|
||||
color: var(--primary);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.disease-grid {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.disease-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
footer {
|
||||
background-color: var(--dark);
|
||||
background-color:#023d60;
|
||||
color: white;
|
||||
padding: 30px 0;
|
||||
text-align: center;
|
||||
@@ -539,11 +757,17 @@ footer {
|
||||
header {
|
||||
height: calc(50vh - 70px);
|
||||
}
|
||||
.header-content {
|
||||
padding: 0 15px;
|
||||
}
|
||||
.header-content h1 {
|
||||
font-size: 2rem;
|
||||
margin-top: 40px;
|
||||
line-height: 1.3;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.header-content p {
|
||||
font-size: 1rem;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
.cta-buttons {
|
||||
flex-direction: column;
|
||||
@@ -554,9 +778,8 @@ footer {
|
||||
max-width: 300px;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
.video-section {
|
||||
height: auto;
|
||||
min-height: 70vh;
|
||||
.video-container {
|
||||
margin: 20px 0;
|
||||
}
|
||||
.video-content .container {
|
||||
padding: 60px 20px;
|
||||
@@ -580,4 +803,83 @@ footer {
|
||||
.section {
|
||||
padding: 60px 0;
|
||||
}
|
||||
}
|
||||
.disease-table, .table {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
white-space: nowrap;
|
||||
width: 100%;
|
||||
}
|
||||
.disease-table th,
|
||||
.disease-table td,
|
||||
.table th,
|
||||
.table td {
|
||||
min-width: 150px;
|
||||
}
|
||||
.cta-image {
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
}
|
||||
.cta-image .slider-container {
|
||||
height: 300px;
|
||||
}
|
||||
.cta-image .slide {
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 100%;
|
||||
border: none;
|
||||
margin-bottom: 20px;
|
||||
border-collapse: separate;
|
||||
}
|
||||
.table thead th {
|
||||
font-weight: bold;
|
||||
text-align: left;
|
||||
border: none;
|
||||
padding: 10px 15px;
|
||||
background: #EDEDED;
|
||||
font-size: 14px;
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
.table tr th:first-child, .table tr td:first-child {
|
||||
border-left: 1px solid #ddd;
|
||||
}
|
||||
.table tr th:last-child, .table tr td:last-child {
|
||||
border-right: 1px solid #ddd;
|
||||
}
|
||||
.table thead tr th:first-child {
|
||||
border-radius: 20px 0 0 0;
|
||||
}
|
||||
.table thead tr th:last-child {
|
||||
border-radius: 0 20px 0 0;
|
||||
}
|
||||
.table tbody td {
|
||||
text-align: left;
|
||||
border: none;
|
||||
padding: 10px 15px;
|
||||
font-size: 14px;
|
||||
vertical-align: top;
|
||||
}
|
||||
.table tbody tr:nth-child(even) {
|
||||
background: #F8F8F8;
|
||||
}
|
||||
.table tbody tr:last-child td{
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.table {
|
||||
font-size: 1rem;
|
||||
}
|
||||
.table th,
|
||||
.table td {
|
||||
padding: 8px 10px;
|
||||
}
|
||||
}
|
||||
.table tbody tr:last-child td:first-child {
|
||||
border-radius: 0 0 0 20px;
|
||||
}
|
||||
.table tbody tr:last-child td:last-child {
|
||||
border-radius: 0 0 20px 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user