diff --git a/Html-Files/Css-Files/styles.css b/Html-Files/Css-Files/styles.css index 41a187f1..c38a3839 100644 --- a/Html-Files/Css-Files/styles.css +++ b/Html-Files/Css-Files/styles.css @@ -56,7 +56,7 @@ section::before { align-items: center; height: 60px; width: 100%; - padding: 0 20px; + padding-top: 0px; } .container { diff --git a/assets/css/styles.css b/assets/css/styles.css index ab5ea8d6..56492cf3 100644 --- a/assets/css/styles.css +++ b/assets/css/styles.css @@ -74,7 +74,6 @@ h1, h2, h3 { font-weight: var(--font-semi-bold); color: white; line-height: 1.5; - } ul { @@ -92,7 +91,6 @@ img { padding-top: 100px; padding-bottom: 100px; } - /*=============== THEME ===============*/ /*========== Variables Dark theme ==========*/ body.dark-theme { @@ -129,7 +127,7 @@ body.dark-theme { color: rgb(255, 255, 255); text-align: center; margin-bottom: var(--mb-1); - padding-left: 0px; + padding-left: 0; } .svg__color { @@ -161,43 +159,43 @@ body.dark-theme { .header { width: 100%; background-color: var(--body-color); - top: 0; left: 0; z-index: var(--z-fixed); transition: .5s; + padding-top: 0px; } + .header img { - width: 100px; /* Adjust the width as needed */ + width: 100px; height: 100px; - margin-left: 1px; /* Adjust the margin as needed */ + margin-left: 1px; } /*=============== NAV ===============*/ .nav { - height: var(--header-height); + display: flex; justify-content: space-between; align-items: center; padding-bottom: 200px; } -@media screen and (max-width: 767px) { - .nav__menu { - position: fixed; - background-color: var(--container-color); - box-shadow: 0 0 4px rgba(0, 0, 0, 0.1); - padding: 2.5rem 0; - width: 90%; - top: -100%; - left: 0; - right: 0; - margin: 0 auto; - transition: .4s; - border-radius: 2rem; - z-index: var(--z-fixed); - padding-bottom: 100px; - } +.nav__menu { + position: fixed; + background-color: var(--container-color); + box-shadow: 0 0 4px rgba(0, 0, 0, 0.1); + /* padding: 2.5rem 0; */ + width: 90%; + top: -100%; + left: 0; + right: 0; + margin: 0 auto; + transition: .4s; + border-radius: 2rem; + z-index: var(--z-fixed); + padding-bottom: 100px; + padding-top: 0px; } .nav__list { @@ -217,12 +215,10 @@ body.dark-theme { cursor: pointer; } -/* Show menu */ .show-menu { top: calc(var(--header-height) + 1rem); } -/* Active link */ .active-link { position: relative; } @@ -238,11 +234,10 @@ body.dark-theme { border-radius: 50%; } -/* Change background header */ + .scroll-header { box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1); } - /*=============== HOME ===============*/ .home__container { row-gap: 3rem; @@ -252,22 +247,22 @@ body.dark-theme { font-size: var(--biggest-font-size); font-weight: var(--font-bold); margin-bottom: var(--mb-0-75); - padding-left: 100px; + padding-left: 0px; } .home__description { margin-bottom: var(--mb-2); - padding-left: 100px; - + padding-left: 0px; } + .home img { - max-width: 100%; + max-width: 50%; height: auto; margin-left: 500px; margin-top: -350px; padding-top: 100px; display: flex; - padding-left: 250px; + } /*=============== BUTTONS ===============*/ .button { @@ -278,14 +273,14 @@ body.dark-theme { border-radius: 3rem; font-weight: var(--font-semi-bold); transition: .3s; - margin-top: 50px; - margin-left: 300px; + + } .button:hover { background-color: #55a5ea; - color:black; + color: black; } .button__header { @@ -299,7 +294,7 @@ body.dark-theme { } .button-link:hover { - color:#022a2d; ; + color: #022a2d; } .button-flex { @@ -312,22 +307,21 @@ body.dark-theme { .button__icon { font-size: 1.5rem; } - /*=============== ABOUT ===============*/ .about__container { - gap: 2.5rem; + display: flex; + flex-direction: row; + align-items: center; + gap: 20px; } .about__data { - text-align: justify; - padding-left: 100px; + } .about img { - max-width: 100%; + height: auto; - margin-left: 0px; - margin-top: 100px; - padding-left: 0px; + } /*=============== SECURITY ===============*/ @@ -341,17 +335,16 @@ body.dark-theme { } -.security img{ - padding-left: 0px; -} + /*=============== SERVICES ===============*/ .services__container { padding-top: 1rem; } -.service__container grid:hover{ - background-color: rgb(0, 98, 255); +/* Grid hover style correction */ +.service__container grid:hover { + background-color: rgb(0, 98, 255); } .services__data { @@ -363,23 +356,24 @@ body.dark-theme { box-shadow: 0px 2px 6px hsla(var(--hue), 100%, 15%, 0.15); padding: 2rem 1.5rem; border-radius: 1rem; - position:relative; + position: relative; width: 100%; height: auto; text-align: justify; - } + .services__data img { max-width: 100%; height: auto; } -.services__data:hover{ - background-color: #55a5ea + +.services__data:hover { + background-color: #55a5ea; } .services__img { width: 100%; - height: 100%; + height: auto; justify-self: center; margin-bottom: var(--mb-0-5); object-fit: cover; @@ -389,11 +383,10 @@ body.dark-theme { - - /*=============== APP ===============*/ .app__container { gap: 2.5rem; + } .app__data { @@ -411,6 +404,7 @@ body.dark-theme { justify-content: center; gap: .5rem; padding-left: 100px; + } .section__title-center{ padding-left: 100px; @@ -419,6 +413,7 @@ body.dark-theme { /*=============== CONTACT ===============*/ .contact__container { padding-bottom: 3rem; + } .contact__description { @@ -433,7 +428,14 @@ body.dark-theme { font-size: var(--small-font-size); font-weight: var(--font-semi-bold); color: var(--title-color); + display: flex; + padding-top: 10px; + padding-bottom: 10px; } +/* .contact__map{ + padding-top: 20px; + display: flexbox; +} */ .contact__information { font-weight: initial; @@ -441,8 +443,8 @@ body.dark-theme { } /*=============== FOOTER ===============*/ -.footer { - background-color: var(--first-color-lighten); +/* .footer { + background-color: white; padding-bottom: 2rem; padding-top: 100px; } @@ -493,8 +495,7 @@ body.dark-theme { margin-top: 6rem; text-align: center; font-size: var(--smaller-font-size); - color: var(--text-color); -} + color: var(--text-color);} /*=============== SCROLL UP ===============*/ .scrollup { @@ -543,7 +544,7 @@ body.dark-theme { /*=============== MEDIA QUERIES ===============*/ /* For small devices */ -@media screen and (max-width: 360px) { + @media screen and (max-width: 360px) { .svg__img { width: 100%; } @@ -595,9 +596,9 @@ body.dark-theme { .app__img { order: -1; } -} +} -@media screen and (min-width: 767px) { +/* @media screen and (min-width: 767px) { body { margin: 0; } @@ -606,10 +607,14 @@ body.dark-theme { } .nav { height: calc(var(--header-height) + 1.5rem); + + } .nav__list { flex-direction: row; column-gap: 2.5rem; + + } .nav__toggle { display: none; @@ -623,7 +628,7 @@ body.dark-theme { .app__buttons { justify-content: initial; } -} +} */ /* For large devices */ @media screen and (min-width: 968px) { @@ -678,6 +683,7 @@ body { font-family: "Open Sans", sans-serif; color: #fff; background-color: #000; + margin: 0; } a { @@ -701,7 +707,7 @@ h6 { .nav_link li { margin-right: 1px; - /* Add space between items */ + padding-top:0px; padding: 5px 10px; display: inline-block; color: white; @@ -716,69 +722,124 @@ h6 { color: #55a5ea; } -#header { - position: relative; - top: 12px; -} + .header_container { background-color: #022a2d; display: flex; flex-direction: row; justify-content: space-between; - align-items: center; + padding: 10px 0; + align-items: center; position: fixed; width: 100%; height: 85px; - margin: auto; - margin-top: 0px; - /* Adjust this value to move the header down */ - padding-top: 15px; - z-index: 555; + } -.footer { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - max-width: 1280px; - width: 95%; - background: #3fbcc051; - border-radius: 6px; +.footer-wrapper { + background-color: #3fbcc051; + padding: 20px; + display: flex; + justify-content: space-between; + gap:30px } -.footer .footer-row { +.footer-columns { display: flex; - flex-wrap: wrap; justify-content: space-between; - gap: 3.5rem; - padding: 60px; + width: 100%; } -.footer-row .footer-col h4 { - color: #f0f0f0; - font-size: 1.2rem; - font-weight: 400; +section { + flex: 1; + margin: 20px; } -.footer-col .links { - margin-top: 20px; +.footer-col { + flex: 2; + margin: 20px; } -.footer-col .links li { - list-style: none; +h4 { + font-size: 1.5rem; margin-bottom: 10px; + color: #bfbfbf; } -.footer-col .links li a { +ul { + list-style: none; + padding: 0; +} + +li { + margin: 5px 0; +} + +a { text-decoration: none; color: #bfbfbf; + font-size: 1rem; +} + +.footer-col p { + margin: 10px 0; +} + +.subscribe-form input[type="email"] { + padding: 10px; + + margin-bottom: 10px; } -.footer-col .links li a:hover { +.subscribe-form button { + padding: 10px 20px; + background-color: #005253; color: #fff; + border: none; + cursor: pointer; +} + +.confirmation-message { + display: none; + color: green; + margin-top: 10px; +} + +.footer-bottom { + background-color: #3fbcc051; + padding: 10px 20px; + text-align: center; +} + +.footer-bottom-wrapper { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + align-items: center; +} + +.footer-bottom-wrapper small { + margin: 10px 0; + margin-left: 200px; } +.social-wrapper { + display: flex; + align-items: center; + margin-right: 300px; +} + +.social-links { + display: flex; + align-items: center; + gap: 10px; +} + +.social-links a { + color: #ffffff; + font-size: 1.5rem; + text-decoration: none; +} .footer-col p { margin: 20px 0; color: #bfbfbf; @@ -794,7 +855,7 @@ h6 { height: 40px; border-radius: 6px; background: none; - width: 100%; + outline: none; border: 1px solid #7489c6; caret-color: #fff; @@ -809,51 +870,43 @@ h6 { .footer-col form button { background: #fff; border: none; - color: #08434551; + color: #084345; padding: 10px 15px; border-radius: 6px; cursor: pointer; font-weight: 1000; transition: 0.2s ease; } - +.other-columns ul a { + color: var(--text-color); + text-decoration: none; + font-size: 0.85rem; +} .footer-col form button:hover { background: #cecccc; } - +/* Mobile responsive styling */ @media (max-width: 768px) { - .footer { - position: relative; - bottom: 0; - left: 0; - transform: none; - width: 100%; - border-radius: 0; - } - - .footer .footer-row { - padding: 20px; - gap: 1rem; - } - - .footer-col form { - display: block; - } + .footer-col form :where(input, button) { width: 100%; + margin-right: 10px; } - .footer-col form button { - margin: 10px 0 0 0; + } } -/*################----Back to top----################*/ -footer { - position: relative; - padding: 50px 0; +@media (max-width: 480px) { + .social-links a { + font-size: 1.2rem; + justify-content: center; + + } } +/*################----Back to top----################*/ + #back-to-top-container { position: fixed; @@ -883,3 +936,4 @@ footer { #back-to-top:hover { transform: scale(1.1); } + diff --git a/dex.html b/dex.html index 1450fefc..9c002e49 100644 --- a/dex.html +++ b/dex.html @@ -9,7 +9,7 @@ - + + - + @@ -326,11 +138,11 @@
-