/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap");
/*===== VARIABLES CSS =====*/
:root {
  --header-height: 3.5rem;
  --font-semi: 600;
  --font-bold: 700;
  /*===== Colores =====*/
  --second-color: #5C6BC0;
  --second-color-alt: #26A69A;
  --white-color: #FAFAFF;
  --dark-color: #101010;
  --dark-color-light: #37474F;
  --gray-color: #ECEFF1;
  --color-one: #FF7043;
 
  /*===== Fuente y tipografia =====*/
  --body-font: 'Open Sans', sans-serif;
  --big-font-size: 3rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --normal-font-size: .938rem;
  --small-font-size: .75rem;
  /*===== Margenes =====*/
  --mb-1: 0.5rem;
  --mb-2: 1rem;
  --mb-3: 1.5rem;
  --mb-4: 2rem;
  /*===== z index =====*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 1024px) {
  :root {
    --big-font-size: 6rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --normal-font-size: 1rem;
    --small-font-size: .813rem;
  }
}

/*===== BASE =====*/
*, ::before, ::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  color: var(--dark-color);
  line-height: 1.6;
}

h1, h2, p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--dark-color);
}

img {
  max-width: 100%;
  height: auto;
}

/*===== CLASS CSS ===== */
.section {
  padding: 3rem 0;
}

.section-title {
  font-size: var(--h2-font-size);
  color: var(--dark-color);
  margin: var(--mb-4) 0 var(--mb-1);
  text-align: center;
}

.section-all {
  display: block;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi);
  color: var(--dark-color-light);
  text-align: center;
  margin-bottom: var(--mb-2);
}

.section-all:hover {
  text-decoration: underline;
}

/*===== LAYOUT =====*/
.grid-sub {
  max-width: 1024px;
  display: grid;
  grid-template-columns: 100%;
  grid-column-gap: 2rem;
  width: calc(100% - 3rem);
  margin-left: var(--mb-3);
  margin-right: var(--mb-3);
}

.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--gray-color);
}

/*===== NAV =====*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 80%;
    height: 100%;
    padding: 2rem;
    background-color: var(--white-color);
    transition: .5s;
  }
}

.nav__item {
  margin-bottom: var(--mb-4);
}

.nav__link {
  color: var(--dark-color);
  font-weight: var(--font-semi);
}

.nav__link:hover {
  color: var(--second-color);
}

.nav__logo {
  font-weight: var(--font-bold);
}

.nav__cart {
  font-size: 1.5rem;
  margin-right: var(--mb-2) !important;
  cursor: pointer;
}

.nav__toggle {
  font-size: 1.5rem;
  cursor: pointer;
}

/*=== Show menu ===*/
.show {
  right: 0;
}

.active-link {
  color: var(--second-color);
}

/*===== HOME =====*/
.home {
  position: relative;
  background-color: #0E100D;
}

.home__container {
  height: calc(100vh - var(--header-height));
}

.home__data {
  padding-top: 6rem;
}

.home__title {
  align-self: center;
  font-size: var(--big-font-size);
  line-height: 1;
  letter-spacing: .5rem;
  margin-bottom: 4rem;
}

.home__title span {
  font-size: var(--h1-font-size);
}

.home__img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 260px;
}

/*BUTTONS*/
.button {
  display: inline-block;
  background-color: var(--second-color);
  color: var(--white-color);
  padding: 1rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi);
  transition: .3s;
}

.button:hover {
  background-color: var(--second-color-alt);
}

/*===== COLLECTION =====*/
.collection__container {
  grid-template-rows: repeat(2, 174px);
  row-gap: 2rem;
}

.collection__box {
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  background-color: var(--gray-color);
  transition: .3s;
}

.collection__box:hover {
  transform: translateY(-0.5rem);
}

.collection__img {
  width: 90px;
  align-self: flex-end;
}

.collection__title {
  font-size: var(--h1-font-size);
  line-height: 1.2;
  margin-bottom: var(--mb-2);
  text-transform: uppercase;
  font-weight: var(--font-semi);
}

.collection__subtitle {
  font-size: var(--h2-font-size);
  color: var(--dark-color-light);
}

.collection__view {
  font-size: var(--small-font-size);
  color: var(--dark-color-light);
}

.collection__view:hover {
  text-decoration: underline;
}

/*===== FEATURED PRODUCTS =====*/
.featured__container {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  row-gap: 2rem;
}

.featured__product {
  transition: .3s;
}

.featured__product:hover {
  transform: translateY(-0.5rem);
}

.featured__box {
  border-radius: 10px;
  height: 305px;
  position: relative;
  display: flex;
  justify-content: center;
  background-color: var(--gray-color);
}

.featured__new {
  border-top-left-radius: 10px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--second-color);
  color: var(--white-color);
  padding: .3rem .75rem;
  font-size: var(--small-font-size);
}

.featured__data {
  text-align: center;
}

.featured__name {
  margin-bottom: var(--mb-1);
  text-transform: uppercase;
  font-size: var(--normal-font-size);
}

.featured__preci {
  color: var(--dark-color-light);
  font-weight: var(--font-semi);
}
.featured__preci a{
  color: var(--color-one);
}
.featured__preci a:hover{
  text-decoration: underline;
}


/*===== OFFER =====*/
.offer__bg {
  background: url("https://res.cloudinary.com/dhl5kxxah/image/upload/v1751064423/nmlss/anas-alshanti-feXpdV001o4-unsplash_zkuj2k.jpg") no-repeat center/cover;
  text-align: center;
}

.offer__data {
  padding: 3.5rem .25rem;
  background: rgba(0, 0, 0, 0.5);
  color: var(--white-color);
}

.offer__title {
  font-size: var(--h1-font-size);
  letter-spacing: .2rem;
  text-transform: uppercase;
  font-weight: var(--font-semi);
}

.offer__description {
  margin-bottom: var(--mb-2);
  letter-spacing: .2rem;
}

/*===== NEW ARRIVALS =====*/
.new__container {
  row-gap: 2rem;
}

.new__box {
  height: 250px;
  position: relative;
  display: flex;
  justify-content: center;
  background-color: var(--gray-color);
  overflow: hidden;
}

.new__box:hover .new__link {
  bottom: 0;
}

.new__link {
  position: absolute;
  bottom: -100%;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 112, 67, 0.5);
  transition: .3s;
}

/*===== NEWSLETTER =====*/
.newsletter {
  text-align: center;
}

.newsletter__description {
  margin-bottom: var(--mb-2);
  font-size: var(--small-font-size);
  color: var(--dark-color-light);
}

.newsletter__form {
  display: grid;
  grid-template-columns: 1fr .5fr;
}

.newsletter__input {
  outline: none;
  border: none;
  background-color: var(--gray-color);
  padding: 0 1rem;
}

/*===== SPONSORS =====*/
.sponsors__container {
  grid-template-columns: repeat(2, 1fr);
  row-gap: 2rem;
  padding: 1.5rem 0;
}

.sponsors__logo {
  display: flex;
  justify-content: center;
}

.sponsors__logo img {
  width: 80px;
  opacity: .7;
  transition: opacity .3s;
}

.sponsors__logo img:hover {
  opacity: 1;
}

/*===== FOOTER =====*/
.footer {
  background-color: var(--dark-color);
  color: var(--white-color);
}

.footer__container {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  row-gap: 1.5rem;
  margin-bottom: var(--mb-4);
}

.footer__title {
  margin-bottom: var(--mb-1);
}

.footer__deal {
  margin-bottom: var(--mb-2);
}

.footer__store {
  width: 100px;
}

.footer__link, .footer__social {
  color: var(--dark-color-light);
}

.footer__link:hover, .footer__social:hover {
  text-decoration: underline;
}

.footer__social {
  font-size: 1.3rem;
  margin-right: var(--mb-1);
}

.footer__copy {
  border-top: 1px solid var(--dark-color-light);
  padding-top: 3rem;
  text-align: center;
  color: var(--dark-color-light);
  font-size: var(--small-font-size);
}

/* ===== MEDIA QUERIES=====*/
@media screen and (min-width: 568px) {
  .home__data {
    padding: 0;
    align-self: center;
  }
  .home__title {
    line-height: .8;
    letter-spacing: 1.2rem;
  }
  .home__img {
    width: 300px;
  }
  .collection__container {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 174px;
  }
  .new__container {
    grid-template-columns: repeat(2, 1fr);
  }
  .newsletter__form {
    width: 400px;
    margin: 0 auto;
  }
}

@media screen and (min-width: 768px) {
  body {
    margin: 0;
  }
  .section-all {
    margin-bottom: var(--mb-4);
  }
  .nav {
    height: calc(var(--header-height) + 1rem);
    justify-content: initial;
  }
  .nav__menu {
    margin-left: auto;
  }
  .nav__list {
    display: flex;
  }
  .nav__item {
    margin-left: var(--mb-4);
    margin-bottom: 0;
  }
  .nav__toggle {
    display: none;
  }
  .home__container {
    height: 100vh;
    grid-template-columns: repeat(2, 1fr);
  }
  .home__data {
    justify-self: flex-end;
  }
  .home__img {
    position: initial;
    width: 370px;
    align-self: flex-end;
  }
  .collection {
    grid-template-rows: 204px;
  }
  .collection__box {
    padding: .5rem  3rem 0;
  }
  .sponsors__container {
    grid-template-columns: repeat(4, 1fr);
  }
  .offer__data {
    padding: 7rem 0;
  }
  .new__container {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__container {
    padding: 2rem 0;
  }
}

@media screen and (min-width: 1024px) {
  .grid-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .home {
    padding-top: 2rem;
  }
  .home__container {
    column-gap: 10rem;
  }
  .collection__container {
    grid-template-rows: 238px;
  }
  .collection__img {
    width: 130px;
  }
}

/* Measurements for small devices */
@media screen and (max-width: 321px) {
  .home__img {
    width: 198px;
  }
  .collection__img {
    width: 80px;
  }
  .newsletter__form {
    grid-template-columns: 60% 40%;
  }
}

/* For large screens */
@media screen and (min-height: 720px) {
  .home__container {
    height: 640px;
  }
}











/*CONTACT FORM*/
@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);



button {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, input, select, textarea {
  color: var(--second-color);
  font: inherit;
  margin: 0;
}

input {
  line-height: normal;
}

textarea {
  overflow: auto;
}

#container {
  border: solid 3px var(--second-color);
  max-width: 768px;
  margin: 100px auto;
  position: relative;
}

form {
  padding: 37.5px;
  margin: 50px 0;
}

h1 {
  margin-top: 1rem;
  color: var(--second-color);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 7px;
  text-align: center;
  text-transform: uppercase;
}

.underline {
  border-bottom: solid 2px var(--second-color);
  margin: -0.512em auto;
  width: 80px;
}

.icon_wrapper {
  margin: 50px auto 0;
  width: 100%;
}

.icon {
  display: block;
  fill: #474544;
  height: 50px;
  margin: 0 auto;
  width: 50px;
}

.email {
	float: right;
	width: 45%;
}

#contact_form input[type='text'], [type='email'], select, textarea {
	background: none;
  border: none;
	border-bottom: solid 2px var(--second-color);
	color: var(--dark-color-light);
	font-size: 1.000em;
  font-weight: 400;
  letter-spacing: 1px;
	margin: 0em 0 1.875em 0;
	padding: 0 0 0.875em 0;
  text-transform: uppercase;
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

input[type='text']:focus, [type='email']:focus, textarea:focus {
	outline: none;
	padding: 0 0 0.875em 0;
}

.message {
	float: none;
}

.name {
	float: left;
	width: 45%;
}

select {
  background: url('https://cdn4.iconfinder.com/data/icons/ionicons/512/icon-ios7-arrow-down-32.png') no-repeat right;
  outline: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

select::-ms-expand {
  display: none;
}

.subject {
  width: 100%;
}

.telephone {
  width: 100%;
}

textarea {
	line-height: 150%;
	height: 150px;
	resize: none;
  width: 100%;
}

::-webkit-input-placeholder {
	color: var(--dark-color-light);
}

:-moz-placeholder { 
	color: var(--dark-color-light);
	opacity: 1;
}

::-moz-placeholder {
	color: var(--dark-color-light);
	opacity: 1;
}

:-ms-input-placeholder {
	color: var(--dark-color-light);
}

#form_button {
  background: none;
  border: solid 2px var(--second-color);
  color: var(--second-color);
  cursor: pointer;
  display: inline-block;
  font-family: 'Helvetica', Arial, sans-serif;
  font-size: 0.875em;
  font-weight: bold;
  outline: none;
  padding: 20px 35px;
  text-transform: uppercase;
  -webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

#form_button:hover {
  border: solid 2px var(--second-color-alt);
  background: var(--second-color-alt);
  color: #F2F3EB;
}

@media screen and (max-width: 768px) {
  #container {
    margin: 100px auto;
    width: 95%;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 26px;
  }
  
  .underline {
    width: 68px;
  }
  
  #form_button {
    padding: 15px 25px;
  }
}

@media screen and (max-width: 420px) {
  h1 {
    font-size: 18px;
  }
  
  .icon {
    height: 35px;
    width: 35px;
  }
  
  .underline {
    width: 53px;
  }
  
  input[type='text'], [type='email'], select, textarea {
    font-size: 0.875em;
  }
}

.container{
  max-width: 768px;
  margin: 100px auto;
  position: relative;
}

.container-suscriber {
  margin-top:10rem;
  margin-bottom:10rem;
  max-width:60%;
}