/*
=============== 
Fonts
===============
*/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&display=swap");

/*
=============== 
Variable
===============
*/
:root {
  --secondaryColor: #30383d;
}

/*=============== Global Styles===============*/
*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Open Sans", sans-serif;
}
@media screen and (min-width: 1600px) {
  body {
    width: 80%;
    margin: 0 auto;
  }
}
@media screen and (min-width: 2200px) {
  body {
    width: 60%;
    margin: 0 auto;
  }
}
a {
  text-decoration: none;
}
ul {
  list-style-type: none;
}

/* navigation bar */
header {
  position: relative;
  padding: 0.8em 1.2em;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}

nav {
  float: right;
  display: flex;
  align-items: center;
}

nav ul {
  position: fixed;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: #596870;
  z-index: 12;
}
nav ul li a {
  font-size: 1.3em;
  color: #fff;
  display: block;
  width: 100%;
  padding: 1em 2em;
  text-transform: uppercase;
}
nav ul li a:hover {
  background: #7e92a1;
}

/*=============== Global classes ===============*/

/* main container */
.container {
  text-align: center;
}

/* logo text */
.logo {
  font-size: 1.5rem;
  color: #2d3742;
  font-weight: 800;
}

/* burger menu img */
.menu {
  position: fixed;
  width: 40px;
  float: right;
  top: 0;
  right: 0;
  z-index: 11;
  margin: 0.8em 1.2em;
}
/* burger menu exit(li element)*/
.exit-btn {
  text-align: right;
  padding: 0.8em 1.2em;
}
/* burger menu exit img */
.exit-menu {
  width: 40px;
  height: 40px;
}
/* class of ul element of nav. To hide and show menu*/
.hide-mobile {
  display: none;
}

.welcome-container {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 92vh;
  z-index: 1;
}
/* added background image to welcome container */
.welcome-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
      #fff,
      #ffffff00,
      #ffffff00,
      #ffffff00,
      #ffffff00,
      #fff
    ),
    url(../images/welcome-mobile-bg.jpg);
  background-position: top;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
}

/* changing welcome container image for responsivity */
@media screen and (min-width: 600px) {
  .welcome-container::before {
    background-image: linear-gradient(
        #fff,
        #ffffff00,
        #ffffff00,
        #ffffff00,
        #ffffff00,
        #fff
      ),
      url(../images/welcome-pc-bg.jpg);
    background-size: cover;
    background-position: left;
  }
}

/* link to the shop in welcome container */
.shop-link {
  font-size: 1.5em;
  color: var(--secondaryColor);
  text-transform: uppercase;
  border: 1px solid var(--secondaryColor);
  border-radius: 10px;
  margin: 4em 0;
  padding: 0.5em 0.8em;
}
.shop-link:hover {
  background-color: var(--secondaryColor);
  color: #fff;
}

/* -- part of container about -- */
.about-container {
  margin: 4em 0 10em 0;
  width: 100%;
  padding: 1em 1.2em;
  background: #a2b2be;
  transform: skewY(-2deg);
  border-radius: 40px 0 40px 0;
}
.about-container div,
.about-container img {
  transform: skewY(2deg);
}
.about-container h1 {
  width: 80%;
  margin: 0 auto;
  font-size: 3em;
  padding: 0.5em 0;
  color: #fff;
  border-bottom: 2px solid #fff;
}
.about-container img {
  width: 400px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 20px;
  padding: 0.5em;
}
.about-container div {
  margin: 0 auto;
}
.about-container div p {
  text-align: left;
  color: #fff;
  font-size: 1.2rem;
  padding: 0.5em 1em;
}

/* -- part of footer -- */
.footer-container {
  width: 100%;
  background-color: var(--secondaryColor);
  text-align: center;
  padding: 1em;
  border-radius: 40px 40px 0 0;
}
.footer-logo {
  color: #f5f5f5;
  display: block;
}
.footer-links li {
  display: inline-block;
}
.footer-links li a {
  text-decoration: underline;
  color: #92a4ad;
  font-size: 0.8rem;
}

/*
=========
for better desktop experience 
========= 
*/

/* navigation bar. (hide burgerMenu) */
@media screen and (min-width: 1000px) {
  .menu {
    display: none;
  }
  .exit-btn {
    display: none;
  }
  header {
    position: fixed;
    width: 100%;
    justify-content: left;
    background: #fff;
  }
  .nav-links {
    display: flex;
    align-items: center;
    padding: 0 5em;
  }
  nav ul {
    position: relative;
    display: inline;
    width: 100%;
    background: unset;
  }
  nav ul li a {
    font-size: 0.85rem;
    color: #000;
    padding: 0 3em;
    font-weight: 600;
    transition: transform 0.3s;
  }
  nav ul li a:hover {
    background: unset;
    transform: scale(1.16);
  }
}

/* welcome container  */
@media screen and (min-width: 1200px) {
  .welcome-container {
    align-items: center;
    justify-content: flex-end;
  }
  .shop-link {
    font-size: 2rem;
    margin: 0 4em;
  }
}

/* about container */
@media screen and (min-width: 1010px) {
  .about-container {
    display: flex;
    justify-content: center;
    padding: 4em;
  }
  .about-container img {
    width: 400px;
    margin: 1em;
    /* border-radius: 0 20% 20% 0; */
  }

  .about-container div {
    width: 45%;
    margin: 0;
  }

  .about-container div p {
    margin: 1em;
    text-align: right;
  }
}
