/* Global Variables */
:root {
  --main-primary-color: #004d00;
  --main-text-color: #f2f2f2;
}
* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Noto Sans", sans-serif;
}
/* Nav Bar */
nav#top-nav-bar {
  background-color: var(--main-primary-color);
  display: flex;
  justify-content: space-between;
  position: fixed;
  width: 100%;
  z-index: 999;
}
.dropdown {
  display: none;
}
footer div img,
nav#top-nav-bar header img {
  width: 100px;
  padding: 0 10px;
}
footer div span,
nav#top-nav-bar header {
  font-size: 2.8em;
  padding-left: 10px;
  color: var(--main-text-color);
  align-items: center;
  display: flex;
}
nav#top-nav-bar div.link-containers {
  padding-right: 10px;
  display: flex;
  align-items: center;
}

/* Main Links design */
nav div.link-containers a {
  margin-right: 20px;
  font-size: 1.5em;
  margin-right: 30px;
  text-decoration: none;
  color: var(--main-text-color);
  transition-duration: 0.3s;
}
nav div.link-containers a:hover {
  transform: scale(1.1);
  background-color: var(--main-text-color);
  color: var(--main-primary-color);
  transition-duration: 0.3s;
  border-radius: 10px;
  padding: 5px;
}
nav div.link-containers a:active {
  color: var(--main-text-color);
  transition-duration: 0.3s;
  text-decoration: none;
  background-color: var(--main-primary-color);
}
a#header-logo-refer-link {
  text-decoration: none;
  color: var(--main-text-color);
  display: flex;
  align-items: center;
}
a#header-logo-refer-link:hover {
  text-decoration: none;
  color: var(--main-text-color);
  display: flex;
  align-items: center;
}

/* /Nav Bar */

main#main-content {
  padding-top: 80px;
  background-color: #333;
}

/* Welcome Section*/
main section#welcome-section {
  width: 100%;
  height: 35em;
  position: relative;
}
main section#welcome-section::before {
  content: "";
  background-image: url(./resources/main/cloudTechOffice.jpeg);
  position: absolute;
  inset: 0;
  opacity: 0.3;
}
main section#welcome-section h1 {
  text-align: center;
  font-size: 6em;
  font-weight: 900;
  color: var(--main-text-color);
  margin: 0;
  padding-top: 1.2em;
  isolation: isolate;
  font-family: "Noto Sans", sans-serif;
}
main section#welcome-section p {
  color: var(--main-text-color);
  font-size: 1.5em;
  text-align: center;
  isolation: isolate;
  font-family: "Noto Sans", sans-serif;
  padding-top: 15px;
}
main section#welcome-section button {
  color: var(--main-text-color);
  font-size: 1.5em;
  text-align: center;
  background-color: var(--main-primary-color);
  border: none;
  margin: auto;
  display: block;
  padding: 1.3em 3em;
  isolation: isolate;
  transition-duration: 0.3s;
  border-radius: 10px;
}
main section#welcome-section button:hover {
  background-color: var(--main-text-color);
  font-size: 1.5em;
  text-align: center;
  color: var(--main-primary-color);
  border: none;
  margin: auto;
  display: block;
  transform: scale(1.1);
  transition-duration: 0.3s;
}
main section#welcome-section a {
  text-decoration: none;
}

/* /Welcome Section*/

/* Article Section*/
main section.article-section {
  background-color: #404040;
  width: 100%;
  height: 35em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  display: flex;
  padding: 0 20px;
}
main section.article-section:nth-of-type(3) {
  background-color: #333;
  width: 100%;
  height: 35em;
  padding: 0 20px;
}
main section.article-section img {
  width: 600px;
  height: 400px;
  border-radius: 15px;
}
main section.article-section .article-content-text {
  color: var(--main-text-color);
  padding-right: 10px;
}
main section.article-section .article-content-text:nth-of-type(2) {
  color: var(--main-text-color);
  padding-left: 20px;
}

main section.article-section .article-content-text h2 {
  font-size: 3em;
  margin: 0;
  text-align: left;
}
main section.article-section .article-content-text p {
  font-size: 1.3em;
  margin: 0;
}

main section.article-section button {
  color: var(--main-text-color);
  font-size: 1.3em;
  background-color: var(--main-primary-color);
  border: none;
  display: block;
  padding: 1em 3em;
  transition-duration: 0.3s;
  margin-top: 30px;
  border-radius: 10px;
}
main section.article-section button:hover {
  background-color: var(--main-text-color);
  font-size: 1.3em;
  color: var(--main-primary-color);
  border: none;
  display: block;
  transform: scale(1.1);
  transition-duration: 0.3s;
}
main section.article-section a {
  text-decoration: none;
}

/* /Article Section*/

/* Sticky - Footer */

html {
  height: 100%;
}
body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #333;
}
footer {
  margin-top: auto;
  background-color: var(--main-primary-color);
  height: 6em;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 0 20px;
  justify-content: space-between;
}

footer div:nth-child(1) a {
  margin-right: 20px;
  font-size: 1.4em;
  margin-right: 30px;
  text-decoration: none;
  color: var(--main-text-color);
  transition-duration: 0.3s;
}
footer div:nth-child(1) a:hover {
  background-color: var(--main-text-color);
  color: var(--main-primary-color);
  transition-duration: 0.3s;
  transform: scale(1.3);
  border-radius: 10px;
  padding: 5px;
}
footer div#footer-logo {
  align-items: center;
  display: flex;
}
footer div span {
  font-size: 1.1em;
  padding-right: 10px;
}
footer a:active {
  color: var(--main-text-color);
  transition-duration: 0.3s;
  text-decoration: none;
  background-color: var(--main-primary-color);
}
/* / Sticky - Footer */
/* Responsiveness*/
@media screen and (max-width: 1040px) {
  nav header span {
    display: none;
  }
  main section#welcome-section h1 {
    font-size: 5em;
    padding-top: 1em;
  }
  main section#welcome-section p {
    font-size: 1.4em;
  }
  main section.article-section img {
    width: 500px;
    height: 300px;
  }
  main section.article-section .article-content-text p {
    font-size: 1.1em;
  }
}
@media screen and (max-width: 800px) {
  main section.article-section {
    width: 100%;
    height: 40em;
    display: flex;
    flex-direction: column;
    display: flex;
    padding: 30px;
  }
  main section.article-section:nth-of-type(3) {
    width: 100%;
    height: 40em;
    padding: 40px;
  }

  footer div.link-containers {
    display: flex;
    flex-direction: column;
  }
  footer div a {
    padding-bottom: 20px;
    font-size: 1.2em;
  }
  footer {
    height: 20em;
  }
  footer div#footer-logo img {
    width: 110px;
  }
  footer div:nth-child(1) a:hover {
    background-color: var(--main-text-color);
    color: var(--main-primary-color);
    transition-duration: 0.3s;
    transform: scale(1.05);
    border-radius: 10px;
    padding: 5px;
  }
}
@media screen and (max-width: 710px) {
  div#nav-links-responsive a {
    display: none;
  }
  .dropdown {
    display: block;
    display: flex;
    align-items: center;
    color: var(--main-text-color);
    margin-right: 20px;
  }
  .dropdown a#btn-secondary {
    background-color: #404040;
  }
  .dropdown a {
    font-size: 1.2em;
  }

  main section.article-section img {
    width: 350px;
    height: 250px;
  }
  main section#welcome-section h1 {
    font-size: 3.5em;
    padding-top: 2em;
  }
  main section#welcome-section p {
    font-size: 1.2em;
  }
  main section.article-section .article-content-text h2 {
    font-size: 2.8em;
    margin: 0;
  }
  footer div.footer-container a {
    font-size: 20px;
  }
  main section#welcome-section button {
    font-size: 1.3em;
    padding: 1.1em 2.5em;
  }
  main section#welcome-section button:hover {
    font-size: 1.4em;
    padding: 1.1em 2.5em;
  }
}
@media screen and (max-width: 490px) {
  main section.article-section {
    height: 45em;
  }
  main section.article-section:nth-of-type(3) {
    height: 50em;
  }
  main section#welcome-section h1 {
    font-size: 3em;
    padding-top: 1em;
  }
  main section#welcome-section p {
    font-size: 1.1em;
  }
}
/* /Responsiveness*/

/* ABOUT PAGE STYLE */
section.article-about {
  width: 100%;
  height: 30em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  display: flex;
  padding: 0 20px;
}
section.article-about:nth-of-type(1) {
  background-color: #404040;
}
section.article-about:nth-of-type(2) {
  background-color: #333;
}
section.article-about:nth-of-type(3) {
  background-color: #262626;
}
section.article-about:nth-of-type(4) {
  background-color: #1a1a1a;
}
section.article-about p,
h2 {
  color: var(--main-text-color);
  text-align: justify;
}
section.article-about h2 {
  font-size: 3em;
}
section.article-about p#history {
  font-size: 1.15em;
}
section.article-about p {
  font-size: 1.4em;
}
@media screen and (max-width: 1040px) {
  section.article-about h2 {
    font-size: 3em;
  }
  section.article-about p#history {
    font-size: 1.1em;
  }
  section.article-about:nth-of-type(1) {
    height: 35em;
  }
}
@media screen and (max-width: 800px) {
  section.article-about h2 {
    font-size: 2.5em;
  }
  section.article-about p#history {
    font-size: 1.1em;
    margin-top: -10px;
  }
}
@media screen and (max-width: 710px) {
  section.article-about h2 {
    font-size: 2.6em;
  }
  section.article-about p#history {
    font-size: 1em;
  }
  section.article-about:nth-of-type(1) {
    height: 45em;
  }
  section.article-about p {
    font-size: 1.2em;
    text-align: left;
  }
}
@media screen and (max-width: 590px) {
  section.article-about p#history {
    font-size: 1em;
    margin-top: 20px;
  }
  section.article-about:nth-of-type(1) {
    height: 55em;
  }
}
/* /ABOUT PAGE STYLE */

/* MORE PAGE STYLE */

ul#members-list li {
  color: var(--main-text-color);
  font-size: 1.2em;
}
/* /MORE PAGE STYLE */

/* CONTACT PAGE STYLE */
a.contact-links {
  color: var(--main-text-color);
  transition-duration: 0.3s;
}
a.contact-links:hover {
  background-color: var(--main-text-color);
  color: var(--main-primary-color);
  transition-duration: 0.3s;
  font-size: 1.1em;
  border-radius: 5px;
}
a.contact-links:active {
  color: var(--main-text-color);
  transition-duration: 0.3s;
  text-decoration: none;
  background-color: var(--main-primary-color);
}
section#section-map {
  display: block;
}
iframe {
  width: 40em;
  height: 20em;
  border-radius: 15px;
}
@media screen and (max-width: 710px) {
  iframe {
    width: 100%;
    height: 75%;
  }
}

/* PRODUCTS.HTML STYLE */
section#product-flex-manager {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 50px 0px;
  gap: 25px;
  max-width: 90%;
}
main div.product-container {
  width: 20em;
  height: 36em;
  background-color: var(--main-primary-color);
  transition-duration: 0.3s;
  border-radius: 15px;
}
main div.product-container:hover {
  transform: scale(1.08);
  background-color: #006600;
  transition-duration: 0.3s;
  border: 2px var(--main-text-color) solid;
}
img.products-image-source {
  width: 100%;
  height: 18em;
  border-radius: 15px;
}
main section div.text-product-container {
  padding: 0 10px;
  margin: 0;
  color: var(--main-text-color);
}
main section div.text-product-container h2 {
  font-weight: 500;
  font-size: 1.7em;
  margin: 5px 0;
  text-align: left;
}
main section div.text-product-container p {
  font-size: 1.5em;
  margin: 0;
}
main section div.text-product-container p.product-description {
  font-size: 0.9em;
  margin: 0;
  padding: 10px 0;
}
main section div.text-product-container p.product-review {
  font-size: 1.3em;
  margin: 0;
}
a.products-redirect-link-confirm {
  text-decoration: none;
}
/* Responsive */
@media screen and (max-width: 710px) {
  main div.product-container {
    width: 18em;
    height: 30em;
    background-color: var(--main-primary-color);
    transition-duration: 0.3s;
  }
  main div.product-container:hover {
    transform: scale(1.05);
    background-color: #006600;
    transition-duration: 0.3s;
    border: 2px var(--main-text-color) solid;
  }
  img.products-image-source {
    width: 100%;
    height: 14em;
  }
  main section div.text-product-container h2 {
    font-weight: 500;
    font-size: 1.3em;
    margin: 5px 0;
    text-align: left;
  }
  main section div.text-product-container p {
    font-size: 1.3em;
    margin: 0;
  }
  main section div.text-product-container p.product-description {
    font-size: 0.8em;
    margin: 0;
    padding: 10px 0;
  }
  main section div.text-product-container p.product-review {
    font-size: 1em;
    margin: 0;
  }
}
