diff --git a/about.css b/about.css index 280692f..bf1c921 100644 --- a/about.css +++ b/about.css @@ -1,531 +1,437 @@ :root { - --primary: #ec7474; - --secondary: #2C3E50; - --light: #f8f9fa; - --dark: #1a1a1a; - --accent: #FF5722; - --text-color: var(--dark); - --bg-color: var(--light); - --card-bg: white; - --team-name-color: var(--secondary); - --team-bio-color: #666; - --header-gradient: linear-gradient(135deg, rgba(76, 175, 80, 0.9) 0%, rgba(33, 150, 243, 0.6) 100%); - } - - html { - transition: all 0.5s ease-in; - } - - html.dark { - --primary-color: #fff; - --secondary-color: #333; - --text-color: var(--light); - --bg-color: #111; - --card-bg: #222; - --team-name-color: var(--light); - --team-bio-color: #ccc; - --header-gradient: linear-gradient(135deg, rgba(76, 175, 80, 0.6) 0%, rgba(33, 150, 243, 0.4) 100%); - } - - html.dark { - background-color: #111; - color: var(--primary-color); - } - - * { - margin: 0; - padding: 0; - box-sizing: border-box; - font-family: "montserrat"; - } - - body { - background-color: var(--bg-color); - color: var(--text-color); - line-height: 1.6; - transition: background-color 0.5s ease, color 0.5s ease; - margin: 0; - padding: 0; - } - - -video { - height: 100%; - width: 100%; - object-fit: cover; - position: fixed; - -webkit-filter: blur(4px); -} - - - - - #cards-container { - background-color:black; - height: 60vh; - display: flex; - justify-content: space-evenly; - align-items: center; - gap: 70px; - position: relative; - z-index: 10; - padding: 4px; - } - - - .card { - height: 80%; - width: 28%; - border-radius: 20px; - background-size: cover; - background-position: center; - overflow: visible; - transition: all ease 0.6s; - box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23); - } - - #card1 { - background-image: url('pictures/Chetan.png'); - } - - #card2 { - background-image: url('pictures/Tanish.png'); - } - - #card3 { - background-image: url('pictures/Vansh.png'); - } - - .overlay { - position: absolute; - top: 0; - left: 0; - height: 100%; - width: 100%; - background: var(--header-gradient); - padding: 20px; - opacity: 0; - transition: opacity 0.4s ease; - display: flex; - flex-direction: column; - justify-content: flex-end; - overflow: hidden; /* Prevent content from overflowing */ + --primary: #ec7474; + --secondary: #2C3E50; + --light: #f8f9fa; + --dark: #1a1a1a; + --accent: #FF5722; + --text-color: var(--dark); + --bg-color: var(--light); + --card-bg: white; + --team-name-color: var(--secondary); + --team-bio-color: #666; + --header-gradient: linear-gradient(135deg, rgba(76, 175, 80, 0.9) 0%, rgba(33, 150, 243, 0.6) 100%); +} + +html { + transition: all 0.5s ease-in; +} + +html.dark { + --primary-color: #fff; + --secondary-color: #333; + --text-color: var(--light); + --bg-color: #111; + --card-bg: #222; + --team-name-color: var(--light); + --team-bio-color: #ccc; + --header-gradient: linear-gradient(135deg, rgba(76, 175, 80, 0.6) 0%, rgba(33, 150, 243, 0.4) 100%); +} + +html.dark { + background-color: #111; + color: var(--primary-color); +} + +* { + margin: 0; + padding: 0; + box-sizing: border-box; + font-family: "montserrat"; +} + +body { + background-color: var(--bg-color); + color: var(--text-color); + line-height: 1.6; + transition: background-color 0.5s ease, color 0.5s ease; + margin: 0; + padding: 0; +} + + +#cards-container { + background-color:black; + height: 60vh; + display: flex; + justify-content: space-evenly; + align-items: center; + gap: 70px; + position: relative; + z-index: 10; + padding: 4px; +} + + +.card { + height: 80%; + width: 28%; + border-radius: 20px; + background-size: cover; + background-position: center; + overflow: visible; + transition: all ease 0.6s; + box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23); +} + +#card1 { + background-image: url('pictures/Chetan.png'); +} + +#card2 { + background-image: url('pictures/Tanish.png'); +} + +#card3 { + background-image: url('pictures/Vansh.png'); +} + +.overlay { + position: absolute; + top: 0; + left: 0; + height: 100%; + width: 100%; + background: var(--header-gradient); + padding: 20px; + opacity: 0; + transition: opacity 0.4s ease; + display: flex; + flex-direction: column; + justify-content: flex-end; + overflow: hidden; /* Prevent content from overflowing */ } .overlay h4 { - color: white; - font-size: 40px; - text-transform: uppercase; - margin-bottom: 20px; - font-weight: 800; - overflow: hidden; - text-overflow: ellipsis; /* Add ellipsis for overflowing text */ - white-space: normal; /* Allow text to wrap */ + color: white; + font-size: 40px; + text-transform: uppercase; + margin-bottom: 20px; + font-weight: 800; + overflow: hidden; + text-overflow: ellipsis; /* Add ellipsis for overflowing text */ + white-space: normal; /* Allow text to wrap */ } .overlay p { - color: white; - font-size: 18px; - overflow: hidden; - text-overflow: ellipsis; /* Add ellipsis for overflowing text */ - display: -webkit-box; - -webkit-line-clamp: 3; /* Limit to 3 lines */ - -webkit-box-orient: vertical; - white-space: normal; /* Allow text to wrap */ -} - - - .card:hover .overlay { - opacity: 1; - background: var(--header-gradient); - } - - .card:hover { - transform: rotate3d(-1, 1, 0, 20deg); - } - - .container { - max-width: 1200px; - margin: 0 auto; - padding: 20px; - } - - header { - text-align: center; - padding: 80px 20px; - background-color: var(--primary); - color: white; - position: relative; - overflow: hidden; - } - - header::before { - content: ""; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: var(--header-gradient); - z-index: 1; - transition: background 0.5s ease; - } - - .header-content { - position: relative; - z-index: 2; - } - - h1 { - font-size: 3.5rem; - margin-bottom: 20px; - font-weight: 700; - } - - .subtitle { - font-size: 1.5rem; - margin-bottom: 30px; - max-width: 800px; - margin-left: auto; - margin-right: auto; - } - - .mission { - padding: 80px 20px; - text-align: center; - background-color: var(--card-bg); - transition: background-color 0.5s ease; - } - - .mission h2 { - font-size: 2.5rem; - margin-bottom: 30px; - color: var(--team-name-color); - transition: color 0.5s ease; - } - - .mission-text { - max-width: 800px; - margin: 0 auto; - font-size: 1.2rem; - margin-bottom: 40px; - color: var(--text-color); - transition: color 0.5s ease; - } - - .team-role { - color: var(--primary); - font-weight: 600; - margin-bottom: 15px; - display: block; - } - - .social-links { - display: flex; - gap: 10px; - } - - .social-icons a { - display: flex; - justify-content: center; - display: inline-flex; - padding: 10px; - border: 2px solid #ccc; - border-radius: 8px; - font-size: 24px; - text-decoration: none; - margin: 0 8px; - transition: border-color 0.5s ease; - } - - html.dark .social-icons a { - border-color: #444; - } - - .social-icons .bxl-google { - color: rgb(211, 73, 73); - } - - .social-icons .bxl-google:hover { - color: yellow; - } - - .social-icons .bxl-twitter { - color: lightskyblue; - } - - .social-icons .bxl-twitter:hover { - color: rgb(17, 17, 17); - } - - .social-icons .bxl-google:hover { - color: yellow; - } - - - .social-icons .bxl-github { - color: rgb(5, 5, 5); - } - - .social-icons .bxl-github:hover { - color: rgb(249, 246, 246); - } - - .social-icons .bxl-github { - color: #f5f5f5; - } - - .social-icons .bxl-github:hover { - color: #060505; - } - .social-icons .bxl-linkedin { - color: rgb(45, 76, 232); - } - - .social-icons .bxl-linkedin:hover { - color: lightskyblue; - } - - .stats { - padding: 80px 20px; - background-color: var(--secondary); - color: white; - transition: background-color 0.5s ease; - } - - html.dark .stats { - background-color: #222; - } - - .stats-grid { - display: grid; - grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); - gap: 30px; - text-align: center; - } - - .stat-item h3 { - font-size: 3rem; - margin-bottom: 10px; - color: var(--primary); - } - - .stat-item p { - font-size: 1.2rem; - } - - .cta { - padding: 80px 20px; - text-align: center; - background-color: var(--bg-color); - transition: background-color 0.5s ease; - } - - .cta h2 { - font-size: 2.5rem; - margin-bottom: 20px; - color: var(--team-name-color); - transition: color 0.5s ease; - } - - .cta p { - max-width: 700px; - margin: 0 auto 30px; - font-size: 1.2rem; - color: var(--text-color); - transition: color 0.5s ease; - } - - .btn { - display: inline-block; - padding: 15px 30px; - background-color: var(--primary); - color: white; - text-decoration: none; - border-radius: 5px; - font-weight: 600; - font-size: 1.1rem; - transition: background-color 0.3s ease, transform 0.3s ease; - } - - .btn:hover { - background-color: #f45c5c; - color: #111; - transform: translateY(-3px); - } - - /* Dark mode toggle button - add this to your HTML */ - .dark-mode-toggle { - position: fixed; - top: 20px; - right: 20px; - z-index: 1000; - background-color: var(--card-bg); - color: var(--text-color); - border: none; - border-radius: 50%; - width: 50px; - height: 50px; - cursor: pointer; - display: flex; - justify-content: center; - align-items: center; - font-size: 24px; - box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); - transition: background-color 0.5s ease, color 0.5s ease; - } - - .counter { - font-size: 3rem; - font-weight: bold; - color: var(--primary); - transition: color 0.5s ease; + color: white; + font-size: 18px; + overflow: hidden; + text-overflow: ellipsis; /* Add ellipsis for overflowing text */ + display: -webkit-box; + -webkit-line-clamp: 3; /* Limit to 3 lines */ + -webkit-box-orient: vertical; + white-space: normal; /* Allow text to wrap */ +} + + +.card:hover .overlay { + opacity: 1; + background: var(--header-gradient); +} + +.card:hover { + transform: rotate3d(-1, 1, 0, 20deg); +} + +.container { + max-width: 1200px; + margin: 0 auto; + padding: 20px; +} + +header { + text-align: center; + padding: 80px 20px; + background-color: var(--primary); + color: white; + position: relative; + overflow: hidden; +} + +header::before { + content: ""; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: var(--header-gradient); + z-index: 1; + transition: background 0.5s ease; +} + +.header-content { + position: relative; + z-index: 2; +} + +h1 { + font-size: 3.5rem; + margin-bottom: 20px; + font-weight: 700; +} + +.subtitle { + font-size: 1.5rem; + margin-bottom: 30px; + max-width: 800px; + margin-left: auto; + margin-right: auto; +} + +.mission { + padding: 80px 20px; + text-align: center; + background-color: var(--card-bg); + transition: background-color 0.5s ease; +} + +.mission h2 { + font-size: 2.5rem; + margin-bottom: 30px; + color: var(--team-name-color); + transition: color 0.5s ease; +} + +.mission-text { + max-width: 800px; + margin: 0 auto; + font-size: 1.2rem; + margin-bottom: 40px; + color: var(--text-color); + transition: color 0.5s ease; +} + +.team-role { + color: var(--primary); + font-weight: 600; + margin-bottom: 15px; + display: block; +} + +.social-links { + display: flex; + gap: 10px; +} + +.social-icons a { + display: flex; + justify-content: center; + display: inline-flex; + padding: 10px; + border: 2px solid #ccc; + border-radius: 8px; + font-size: 24px; + text-decoration: none; + margin: 0 8px; + transition: border-color 0.5s ease; +} + +html.dark .social-icons a { + border-color: #444; +} + +.social-icons .bxl-google { + color: rgb(211, 73, 73); +} + +.social-icons .bxl-google:hover { + color: yellow; +} + +.social-icons .bxl-twitter { + color: lightskyblue; +} + +.social-icons .bxl-twitter:hover { + color: rgb(17, 17, 17); +} + +.social-icons .bxl-google:hover { + color: yellow; +} + + +.social-icons .bxl-github { + color: rgb(5, 5, 5); +} + +.social-icons .bxl-github:hover { + color: rgb(249, 246, 246); +} + +.social-icons .bxl-github { + color: #f5f5f5; +} + +.social-icons .bxl-github:hover { + color: #060505; +} +.social-icons .bxl-linkedin { + color: rgb(45, 76, 232); +} + +.social-icons .bxl-linkedin:hover { + color: lightskyblue; +} + +.stats { + padding: 80px 20px; + background-color: var(--secondary); + color: white; + transition: background-color 0.5s ease; +} + +html.dark .stats { + background-color: #222; +} + +.stats-grid { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); + gap: 30px; + text-align: center; +} + +.stat-item h3 { + font-size: 3rem; + margin-bottom: 10px; + color: var(--primary); +} + +.stat-item p { + font-size: 1.2rem; +} + +.cta { + padding: 80px 20px; + text-align: center; + background-color: var(--bg-color); + transition: background-color 0.5s ease; +} + +.cta h2 { + font-size: 2.5rem; + margin-bottom: 20px; + color: var(--team-name-color); + transition: color 0.5s ease; +} + +.cta p { + max-width: 700px; + margin: 0 auto 30px; + font-size: 1.2rem; + color: var(--text-color); + transition: color 0.5s ease; +} + +.btn { + display: inline-block; + padding: 15px 30px; + background-color: var(--primary); + color: white; + text-decoration: none; + border-radius: 5px; + font-weight: 600; + font-size: 1.1rem; + transition: background-color 0.3s ease, transform 0.3s ease; +} + +.btn:hover { + background-color: #f45c5c; + color: #111; + transform: translateY(-3px); +} + +/* Dark mode toggle button - add this to your HTML */ +.dark-mode-toggle { + position: fixed; + top: 20px; + right: 20px; + z-index: 1000; + background-color: var(--card-bg); + color: var(--text-color); + border: none; + border-radius: 50%; + width: 50px; + height: 50px; + cursor: pointer; + display: flex; + justify-content: center; + align-items: center; + font-size: 24px; + box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); + transition: background-color 0.5s ease, color 0.5s ease; +} + +.counter { + font-size: 3rem; + font-weight: bold; + color: var(--primary); + transition: color 0.5s ease; } @media (max-width: 768px) { - h1 { - font-size: 2.5rem; - } - - h2 { - font-size: 2rem; - } - - .overlay h4 { - font-size: 24px; /* Smaller font size on mobile */ - } - - .overlay p { - font-size: 14px; /* Smaller font size on mobile */ - } - - .mission-text { - font-size: 1rem; - } +h1 { + font-size: 2.5rem; +} + +h2 { + font-size: 2rem; +} + +.overlay h4 { + font-size: 24px; /* Smaller font size on mobile */ +} + +.overlay p { + font-size: 14px; /* Smaller font size on mobile */ +} + +.mission-text { + font-size: 1rem; +} } @media (max-width: 480px) { - h1 { - font-size: 2rem; - } - - h2 { - font-size: 1.5rem; - } - - .overlay h4 { - font-size: 20px; - } +h1 { + font-size: 2rem; +} + +h2 { + font-size: 1.5rem; +} + +.overlay h4 { + font-size: 20px; +} } @media (max-width: 768px) { - #cards-container { - flex-direction: column; - height: auto; - padding: 40px 0; - } - - .card { - width: 85%; - height: 350px; - margin: 15px auto; - } +#cards-container { + flex-direction: column; + height: auto; + padding: 40px 0; +} + +.card { + width: 85%; + height: 350px; + margin: 15px auto; +} } /* Global text overflow prevention */ p, h1, h2, h3, h4, h5, h6, span, a { - overflow-wrap: break-word; - word-wrap: break-word; - word-break: break-word; - hyphens: auto; -} - -/* Base navbar styling */ - - -/* Media query for FHD mobile phones */ -@media (min-width: 390px) and (max-width: 767px) { - #nav { - height: 70px !important; - padding: 0 15px; - } - - #nav img { - height: 50px; - } - - .navb { - display: flex; - overflow-x: auto; - white-space: nowrap; - -webkit-overflow-scrolling: touch; - scrollbar-width: none; /* Firefox */ - padding-bottom: 5px; - } - - .navb::-webkit-scrollbar { - display: none; /* Chrome, Safari, Edge */ - } - - .navbar { - margin: 0 10px; - } - - .navbar a { - font-size: 14px; - } -} - -/* Media query for small phones */ -@media (max-width: 389px) { - #nav { - height: 60px !important; - padding: 0 10px; - } - - #nav img { - height: 40px; - } - - .navb { - display: flex; - overflow-x: auto; - white-space: nowrap; - -webkit-overflow-scrolling: touch; - scrollbar-width: none; - padding-bottom: 5px; - } - - .navb::-webkit-scrollbar { - display: none; - } - - .navbar { - margin: 0 8px; - } - - .navbar a { - font-size: 12px; - } -} - -/* Media query for tablets */ -@media (min-width: 768px) and (max-width: 1023px) { - #nav { - height: 80px !important; - padding: 0 30px; - } - - #nav img { - height: 55px; - } - - .navbar { - margin: 0 20px; - } - - .navbar a { - font-size: 16px; - } +overflow-wrap: break-word; +word-wrap: break-word; +word-break: break-word; +hyphens: auto; } + + + + + + diff --git a/about.html b/about.html index 02d06a2..331d6b0 100644 --- a/about.html +++ b/about.html @@ -7,7 +7,6 @@
Years of Experience
- +Happy Clients
+Fitness Programs
+Success Rate
+