diff --git a/index.html b/index.html index 1cc48f8c..2b5f1cc2 100644 --- a/index.html +++ b/index.html @@ -88,7 +88,7 @@ position: sticky !important; align-items: center; justify-content: space-between; - margin-left: -47px; /* Increased negative margin to move content more to the left */ + margin-left: -4.7rem; /* Increased negative margin to move content more to the left */ } @@ -97,20 +97,20 @@ /* Position the toggle button to the right */ .switch-container { position: absolute; - right: 100px; /* Adjust this value to move the button more to the right */ - top: 15px; /* Adjust this value to move the button vertically */ + right: 10rem; /* Adjust this value to move the button more to the right */ + top: 1.5rem; /* Adjust this value to move the button vertically */ } /* For responsiveness */ - @media (max-width: 990px) { + @media (max-width: 99rem) { .switch-container { - right: 90px; /* Adjust this value for smaller screens */ + right: 9rem; /* Adjust this value for smaller screens */ } } - @media (max-width: 575px) { + @media (max-width: 57.5rem) { .switch-container { - right: 20px; /* Adjust this value for smaller screens */ + right: 2rem; /* Adjust this value for smaller screens */ } } @@ -121,9 +121,9 @@ justify-content: center; align-items: center; position: fixed; - margin-top: 120px;; - width: 40px; - height: 150px; + margin-top: 12rem;; + width: 4rem; + height: 15rem; }#quicklinks { display: flex; @@ -138,7 +138,7 @@ #quicklinks .foot-quick { display: flex; align-items: center; - margin-bottom: 10px; /* Adjust spacing between list items */ + margin-bottom: 1rem; /* Adjust spacing between list items */ } #quicklinks .foot-quick a { @@ -149,7 +149,7 @@ } #quicklinks .foot-quick a i { - margin-right: 5px; /* Adjust spacing between icon and text */ + margin-right: 0.5rem; /* Adjust spacing between icon and text */ } .dark-mode .fas{ color:white; @@ -159,9 +159,9 @@ } .dark-mode .finput{ color: white; - background-color: transparent; - padding: 10px; - border: 1px solid white; + background-color: transparent; + padding: 1rem; + border: 0.1rem solid white; } .dark-mode .finput::placeholder { @@ -170,19 +170,19 @@ .socialmediaicons a { display: inline; text-align: center; - padding: 5px; + padding: 0.5rem; transition: all 0.3s ease; color: rgb(0, 0, 0); - font-size: 20px; + font-size: 2rem; } .socialmediaicons .fa-instagram { display: inline-block; - width: 30px; - height: 30px; + width: 3rem; + height: 3rem; text-align: center; - line-height: 30px; - border-radius: 10px; + line-height: 3rem; + border-radius: 1rem; background: transparent; color: #000000; transition: background 0.3s, transform 0.3s; @@ -196,7 +196,7 @@ #a237b6 75%, #3e57bc 100%); background-clip: padding-box; - border-radius: 10px; + border-radius: 1rem; color: white; transform: scale(1.1); @@ -223,19 +223,19 @@ .instagram { - margin: 5px; + margin: 0.5rem; } .facebook { - margin: 5px; + margin: 0.5rem; } .youtube { - margin: 5px; + margin: 0.5rem; } @@ -249,7 +249,7 @@ display: flex; justify-content: center; align-items: center; - margin-bottom: 50px; + margin-bottom: 5rem; } /* ########### */ @@ -269,11 +269,11 @@ .flip-card { background-color: transparent; - width: 400px; - height: 370px; - /* margin: 2px; */ - /* border: 1px solid #f1f1f1; */ - perspective: 1000px; + width: 40rem; + height: 37rem; + /* margin: 0.2rem; */ + /* border: 0.1rem solid #f1f1f1; */ + perspective: 100rem; /* Remove this if you don't want the 3D effect */ } @@ -285,7 +285,7 @@ text-align: center; transition: transform 0.7s; transform-style: preserve-3d; - padding: 10px; + padding: 1rem; } /* Do an horizontal flip when you move the mouse over the flip box container */ @@ -323,14 +323,14 @@ /* Light mode styles */ .light-mode .readmore-anim { - font-size: 18px; + font-size: 1.8rem; letter-spacing: 0; color: hsl(357, 37%, 62%); } .light-mode .readmore-anim:hover { color: red; - letter-spacing: 1px; + letter-spacing: 0.1em; transition: ease-in-out; } .cta1{ @@ -339,7 +339,7 @@ align-items: center; justify-content: flex-start; margin: auto; - padding: 20px 24px; + padding: 2rem 2.4rem; color: hsl(357, 37%, 62%); font-family: Avenir, sans-serif; text-decoration: none; @@ -347,19 +347,19 @@ &:before { content: ""; position: absolute; - top: 27px; + top: 2.7rem; left: 0; display: block; - border-radius: 28px; + border-radius: 2.8rem; background: rgba(255, 171, 157, 0.5); - width: 56px; - height: 56px; + width: 5.6rem; + height: 5.6rem; transition: all 0.3s ease; } span { position: relative; - font-size: 8px; - line-height: 18px; + font-size: 0.8rem; + line-height: 1.8rem; font-weight: 900; letter-spacing: 0.25em; text-transform: uppercase; @@ -368,14 +368,14 @@ } svg { position: relative; - top: 27px; - margin-left: 5px; + top: 2.7rem; + margin-left: 0.5rem; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke: hsl(357, 37%, 62%); stroke-width: 2; - transform: translateX(-5px); + transform: translateX(-0.5rem); transition: all 0.3s ease; } &:hover { @@ -398,7 +398,7 @@ align-items: center; justify-content: flex-start; margin: auto; - padding: 20px 24px; + padding: 2rem 2.4rem; color: hsl(357, 37%, 62%); font-family: Avenir, sans-serif; text-decoration: none; @@ -409,16 +409,16 @@ top: 0; left: 0; display: block; - border-radius: 28px; + border-radius: 2.8rem; background: rgba(255, 171, 157, 0.5); - width: 56px; - height: 56px; + width: 5.6rem; + height: 5.6rem; transition: all 0.3s ease; } span { position: relative; - font-size: 8px; - line-height: 18px; + font-size: 0.8rem; + line-height: 1.8rem; font-weight: 900; letter-spacing: 0.25em; text-transform: uppercase; @@ -428,13 +428,13 @@ svg { position: relative; top: 0; - margin-left: 5px; + margin-left: 0.5rem; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke: hsl(357, 37%, 62%); stroke-width: 2; - transform: translateX(-5px); + transform: translateX(-0.5rem); transition: all 0.3s ease; } &:hover { @@ -456,7 +456,7 @@ /* Dark Mode Styles */ .dark-mode .readmore-anim { - font-size: 18px; + font-size: 1.8rem; letter-spacing: 0; color: hsl(357, 37%, 62%); } @@ -467,18 +467,18 @@ .dark-mode .readmore-anim:hover { color: red; - letter-spacing: 1px; + letter-spacing: 0.1rem; transition: ease-in-out; } .dark-mode .header.scrolled { background-color: #232222; /* Change to a darker color when scrolled */ - box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Add shadow for better visibility */ + box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.2); /* Add shadow for better visibility */ } .dark-mode #dropdown-menu { background-color: #151111;; - box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); + box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.2); color: white; } .dark-mode .dropdown-menu-item a{ @@ -487,22 +487,22 @@ #cookie-consent { position: fixed; - bottom: 10px; - left: 10px; + bottom: 1rem; + left: 1rem; background-color: #f1f1f1; - padding: 20px; + padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; align-items: center; - width: 300px; + width: 30rem; height: fit-content; z-index: 10000; - border-radius: 10px; - margin-bottom: 5px; - margin: 20px; - border-right: 4px solid transparent; - border-bottom: 4px solid transparent; + border-radius: 1rem; + margin-bottom: 5rem; + margin: 2rem; + border-right: 0.4rem solid transparent; + border-bottom: 0.4rem solid transparent; transition: border-color 0.3s; } @@ -518,12 +518,12 @@ .accept-cookies, .reject-cookies { - width: 260px; /* Decrease the button width */ - height: 35px; /* Decrease the button height */ + width: 26rem; /* Decrease the button width */ + height: 3.5rem; /* Decrease the button height */ color: white; background-color: #A30F17; border: none; - border-radius: 5px; /* Add rounded corners */ + border-radius: 0.5rem; /* Add rounded corners */ cursor: pointer; transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s, color 0.3s; /* Smooth transition for effects */ } @@ -538,13 +538,13 @@ } .reject-cookies { - margin-top: 10px; + margin-top: 1rem; } .accept-cookies:hover, .reject-cookies:hover { transform: scale(0.95); - box-shadow: 0 0 15px rgb(249, 212, 212); /* Reduce the shadow size */ + box-shadow: 0 0 1.5rem rgb(249, 212, 212); /* Reduce the shadow size */ } .accept-cookies:hover { @@ -559,10 +559,10 @@ #learn-more-link, #show-less-link { - color: #A30F17; + color: #A30F17; text-decoration: none; cursor: pointer; - font-size: 20px; + font-size: 2rem; } #learn-more-link:hover, @@ -572,7 +572,7 @@ #cookie-content { display: none; - margin-top: 10px; + margin-top: 1rem; } @@ -586,10 +586,10 @@ .header { position: fixed; width: 100%; - top: 10px; /* Assuming you meant 10px for the top */ + top: 1rem; /* Assuming you meant 1rem for the top */ z-index: 1000; transition: top 0.3s, transform 0.3s ease; - margin-left: 10px; /* Add a negative margin to shift left */ + margin-left: 1rem; /* Add a negative margin to shift left */ } .navbar-link{ @@ -602,14 +602,14 @@ /* Hide the navbar */ .header.hidden { - top: -93px; /* Adjust according to your header height */ + top: -9.3rem; /* Adjust according to your header height */ } /* Navbar styling when scrolled */ .header.scrolled { position: sticky !important; background-color: #efefef; /* Change to a darker color when scrolled */ - box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Add shadow for better visibility */ + box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.2); /* Add shadow for better visibility */ } * { margin: 0; @@ -618,7 +618,7 @@ } -@media only screen and (max-width:1063px){ +@media only screen and (max-width:106.3rem){ .nav{ flex-direction: row; } @@ -626,7 +626,7 @@ flex-direction: column; height: 53.8rem; transition: 0.2s all ease-out; - padding-top: 5px; + padding-top: 0.5rem; } .navbar-item{ margin : 0 @@ -636,14 +636,14 @@ display: block; } .nav-h{ - height: 78px; + height: 7.8rem; width: 100vw; } .vis-h{ opacity: 0; } .switch-container { - right: 70px !important; + right: 7rem !important; } } @media only screen and (max-width:990px){ @@ -654,12 +654,12 @@ top: 0; } .logo img{ - top: -9px; - left: 50px; + top: -0.9rem; + left: 5rem; } } .navbar-item { - margin-top: 10px; /* Increase the top margin of each item */ + margin-top: 1rem; /* Increase the top margin of each item */ } .card-sty { @@ -671,13 +671,13 @@ .donate-button { display: inline-block; - padding: 9px 18px; - font-size: 16px; + padding: 0.9rem 1.8rem; + font-size: 1.6rem; color: #fff; background-color: #b00404; /* Red color */ text-decoration: none; - border-radius: 5px; - border: 2px solid #a60606; /* Same red color for border */ + border-radius: 0.5rem; + border: 0.2rem solid #a60606; /* Same red color for border */ } .donate-button:hover { @@ -688,26 +688,26 @@ text-align: center; } .donate-books-section p{ - padding: 10px; + padding: 1rem; text-align: justify; } .donate-books-section img { - border-top-left-radius: 25px; - border-top-right-radius: 25px; + border-top-left-radius: 2.5rem; + border-top-right-radius: 2.5rem; } .container { display: flex; justify-content: center; - gap: 20px; /* Adjust the gap between cards as needed */ + gap: 2rem; /* Adjust the gap between cards as needed */ flex-wrap: wrap; /* Allows cards to wrap onto the next line if the screen is too narrow */ - padding: 0 15px; /* Optional padding for responsiveness */ + padding: 0 1.5rem; /* Optional padding for responsiveness */ } .card { - flex: 1 1 200px; /* Allows cards to grow and shrink, with a minimum width of 200px */ - max-width: 300px; /* Optional max width for cards */ - margin: 10px; /* Optional margin around each card */ + flex: 1 1 20rem; /* Allows cards to grow and shrink, with a minimum width of 200px */ + max-width: 30rem; /* Optional max width for cards */ + margin: 1rem; /* Optional margin around each card */ } .card img { @@ -717,35 +717,35 @@ .chapter-card { - height: 450px; /* Adjust margin as needed */ - box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow for depth effect */ + height: 45rem; /* Adjust margin as needed */ + box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.1); /* Add shadow for depth effect */ transition: transform 0.3s ease, box-shadow 0.3s ease; } .chapter-card:hover { transform: scale(1.02px); - box-shadow: 4px 4px 3px rgba(0, 0, 0, 0.4) ;/* Scale up slightly on hover */ + box-shadow: 0.4rem 0.4rem 0.3rem rgba(0, 0, 0, 0.4) ;/* Scale up slightly on hover */ } #connectReaderBtn{ - border-radius: 10px; + border-radius: 1rem; } .footer-icons{ - margin-top: 20px; + margin-top: 2rem; display: flex; - font-size: 24px; + font-size: 2rem; } .footer-icons .icon i { - font-size: 24px; + font-size: 2rem; /* Set the default font size for icons */ transition: all 0.15s ease; /* Add transition for smooth animation */ } - +{ .footer-icons .icon:hover { transform: scale(1.5); /* Scale the icon on hover */ @@ -802,13 +802,13 @@ .icons { display: flex; - gap: 10px; + gap: 1rem; align-items: center; justify-content: center; } .icon i { - font-size: 24px; + font-size: 2.4rem; color: #000; cursor: pointer; @@ -822,10 +822,10 @@ /* Styling for the email input */ .finput { width: 100%; - padding: 10px; + padding: 1rem; font-size: 1rem; - border: 2px solid #ccc; - border-radius: 5px; + border: 0.2rem solid #ccc; + border-radius: 0.5rem; outline: none; transition: border-color 0.3s ease; } @@ -842,11 +842,11 @@ .subscribe { - padding: 10px 20px; + padding: 1rem 2rem; background-color: #3498db; color: white; border: none; - border-radius: 5px; + border-radius: 0.5rem; font-size: 1rem; cursor: pointer; transition: background-color 0.3s ease; @@ -859,10 +859,10 @@ /* Styling for the email input */ .finput { width: 100%; - padding: 10px; + padding: 1rem; font-size: 1rem; - border: 2px solid #000000; - border-radius: 5px; + border: 2rem solid #000000; + border-radius: 0.5rem; outline: none; transition: border-color 0.3s ease; } @@ -879,11 +879,11 @@ /* Styling the subscribe button */ .subscribe { - padding: 10px 20px; + padding: 1rem 2rem; background-color: #3498db; color: white; border: none; - border-radius: 5px; + border-radius: 5rem; font-size: 1rem; cursor: pointer; transition: background-color 0.3s ease; @@ -896,7 +896,7 @@ - -
+