@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

/* VARS */
:root {
  --color-primary: #d48722;
  --color-primary-light: #e69e40;
  --color-primary-dark: #ab6b18;

  --color-header: #2e3842;
  --color-footer: #1d242a;

  --color-grey-light-1: #faf9f9;
  --color-grey-light-2: #f4f2f2;
  --color-grey-light-3: #f0eeee;
  --color-grey-light-4: #ccc;

  --color-grey-dark-1: #333;
  --color-grey-dark-2: #777;
  --color-grey-dark-3: #999;

  --shadow-dark: 0 2rem 6rem rgba(0, 0, 0, .3);
}

/* BASE */
* {
  margin: 0;
  padding: 0;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-grey-dark-2);

  max-width: 100vw;
  overflow-x: hidden;
}

a,
a:visited,
a:link {
  text-decoration: none;
  color: var(--color-grey-dark-2);
}

/*a:hover {
    color: var(--color-primary);  
}*/

ul {
  list-style-type: none;
}

.text {
  padding: .5rem 0;
}

p {
  font-size: 1.6rem;
}

/* UTILS */
.mb {
  margin-bottom: .5rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mb-4 {
  margin-bottom: 4rem;
}

.py {
  padding: .5rem 0;
}

.py-1 {
  padding: 1rem 0;
}

.py-2 {
  padding: 2rem 0;
}

.py-3 {
  padding: 3rem 0;
}

.py-4 {
  padding: 4rem 0;
}

.lead {
  font-size: 2rem;
}

.flex-center {
  display: flex;
  align-items: center;
}

/* LAYOUT */

.container {
  max-width: 100vw;
  margin: 0 auto;
  background-color: var(--color-grey-light-2);
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

.header {
  font-size: 1.2rem;
  height: 7rem;
  max-width: 120rem;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
}

.header__container {
  background-color: var(--color-header);
}

.content {
  flex: 1 0 auto;
  max-width: 120rem;
  margin: 0 auto;
  width: 100%;
}

.main-view {
  padding: 0 3rem;
  display: flex;
  flex-wrap: wrap;
  font-size: 1.4rem;
}

.main-view__left {
  width: 60%;
  padding: 2rem;
}

.main-view__right {
  padding: 2rem;
  width: 40%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-view__title {
  font-size: 2.6rem;
  color: var(--color-primary);
  margin: 2rem auto;
}

.main-view__row {
  display: flex;
  width: 100%;
}

.center {
  text-align: center;
}

.language-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 4rem 0;
}

.language-box {
  width: 20%;
  min-height: 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  display: none;
}

.language-box a {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background-color: var(--color-header);
  transition: all .3s ease-in-out;
  color: var(--color-grey-light-3);
  letter-spacing: 1px;
  border-radius: 500px;
}

.language-box a:hover {
  background-color: var(--color-primary);
  color: var(--color-grey-light-2);
}

/* Language filter */
.language-filter {
  margin-top: 2rem;
  display: flex;
  width: 100%;
  flex-wrap: wrap;

}

.show {
  display: block;
}

.btn {
  border: none;
  outline: none;
  background-color: #ddd;
  cursor: pointer;
  border-radius: 50%;
  width: 3.5rem;
  height: 3.5rem;
  margin-right: .59rem;
  margin-bottom: 1rem;
}

.btn:first-child {
  border-radius: 2rem;
  width: 7.5rem;
}

.btn:last-child {
  margin-right: 0;
}

.btn:hover {
  background-color: var(--color-grey-light-4);
}

.btn.active {
  background-color: var(--color-primary);
  color: #fff;
}

/* LANGUAGE VIEW */
.language-view {
  padding: 3rem;
  display: flex;
  flex-wrap: wrap;
  font-size: 1.4rem;
}

.language-view h1,
h2 {
  font-size: 2.4rem;
  color: var(--color-primary);
  margin: 1rem 0;
}

.language-view p {
  font-size: 1.6rem;
  color: var(--color-grey-dark-1);
  padding: .5rem 0;
}

/* FOOTER */
.footer__container {
  background-color: var(--color-footer);
}

.footer {
  font-size: 1.6rem;
  color: var(--color-grey-light-4);
  margin: 0 auto;
  max-width: 120rem;
  /* height: 20rem; */
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.footer a {
  color: var(--color-grey-light-4);
}

.footer a:hover {
  color: var(--color-primary-light);
}

.footer__content {
  display: flex;
  justify-content: space-between;
  padding: 3rem;
}

.footer__content__box {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, .2);
  padding: 0 3rem;
  flex: 1;
}

.footer__content__box:nth-child(2) {
  flex: 1;
}

.footer__content__box:last-child {
  border: none;
}

.footer__contact__item {
  display: flex;
  align-items: center;
  padding: 1rem 0;
}

.footer__contact__logo {
  width: 2rem;
  height: 2rem;
  fill: var(--color-primary-light);
  margin-right: 1rem;
}

.footer__social-icon {
  width: 3rem;
  height: 3rem;
  fill: var(--color-grey-light-4);
  display: flex;
  transition: all .3s ease-in-out;
  margin: 0 auto;
}

.footer__social-icon:hover {
  fill: var(--color-primary-light);
}

.footer__contact__flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.footer__map {
  object-fit: contain;
  min-height: auto;
}

.copyright {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 6rem;
  font-size: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, .2);
}

.copyright a {
  margin-left: .5rem;
}

/* LOGO */
.logo {
  height: 3.25rem;
  display: flex;
  align-items: center;
}

.logo__icon {
  width: 3rem;
  height: 3rem;
  fill: var(--color-primary-light);
  margin-right: 1rem;
}

.logo__text a {
  color: var(--color-grey-light-1);
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
}

.translate-logo {
  fill: var(--color-primary);
}

/* BANNER */
.banner {
  background-image: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url('../images/supermarket.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 30rem;
}

.banner__below {
  height: 1rem;
  background-color: var(--color-header);
}

.banner__short {
  background-image: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url('../images/supermarket.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 20rem;
}

/* SEARCH BOX */
.search {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 30%;
  margin-right: 1.25rem;

}

.search__input {
  font-family: inherit;
  font-size: inherit;
  background-color: var(--color-grey-light-2);
  border: none;
  padding: .7rem 2rem;
  border-radius: 100px;
  width: 90%;
  transition: all .2s ease-in-out;
  margin-right: -3.25rem;
}

.search__input::-webkit-input-placeholder {
  font-weight: 100;
  color: var(--color-grey-dark-3);
}

.search__input:focus {
  outline: none;
  width: 100%;
  background-color: var(--color-grey-light-3);
}

.search__input:focus+.search__button {
  background-color: var(--color-grey-light-3);
  fill: var(--color-primary-dark);
}

.search__icon {
  height: 2rem;
  width: 2rem;
  fill: var(--color-primary);
}

.search__button {
  border: none;
  background-color: var(--color-grey-light-2);
  cursor: pointer;
}

.search__button:focus {
  outline: none;
}

.search__button:active {
  transform: translateY(2px);
}

/* TABLE */
.table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 1.6rem;
}

th {
  text-align: left;
  background-color: var(--color-primary);
  color: var(--color-grey-light-2);
  text-transform: uppercase;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--color-grey-light-1);
  border-bottom: 1px solid var(--color-grey-light-1);
  letter-spacing: 1px;
}

td {
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--color-primary-dark);
  border-bottom: 1px solid var(--color-primary-dark);
}

th:last-child,
td:last-child {
  border-right: none;
}

tr:nth-child(even) {
  background-color: var(--color-grey-light-3);
}

/* TABLE */
/*.table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 1.6rem;
}
th {
    text-align: left;
    background-color: var(--color-primary); 
    color: var(--color-grey-light-2);
    text-transform: uppercase;
    padding: 1.5rem 1rem;
    border-right: 1px solid var(--color-grey-light-1);
    border-bottom: 1px solid var(--color-grey-light-1);
    letter-spacing: 1px;
}
td {
    padding: 1.5rem 1rem;
    border-right: 1px solid var(--color-primary-dark);
    border-bottom: 1px solid var(--color-primary-dark);
}*/
/* SERVICES */
.options {
  margin-bottom: 1rem;
}

.options li {
  padding: .5rem 0;
  list-style-type: disc;
  margin-left: 2rem;
}

a.services__button {
  margin-top: 1rem;
  display: block;
  padding: 1.5rem 2rem;
  background-color: var(--color-primary);
  width: 30rem;
  text-align: center;
  color: #fff;
  border-radius: 50rem;
  text-transform: uppercase;
  transition: all .3s ease-in-out;
}

a.services__button:hover {
  color: var(--color-grey-light-2);
  background-color: var(--color-primary-light);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, .2);
}

/* ORDER VIEW */
.order-view {
  padding-bottom: 3rem;
  width: 100%;
}

.order-view h1,
h2,
h3 {
  font-size: 2.4rem;
  color: var(--color-primary);
  margin: 1rem 0;
}

.order-view hr {
  margin: 2rem 0;
}

.order-view p {
  font-size: 1.6rem;
  color: var(--color-grey-dark-1);
  padding: .5rem 0;
}

.form {
  display: flex;
  flex-wrap: wrap;
}

.form-group {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  width: 50%;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid transparent;
  padding: 1rem 1.5rem;
  outline: none;
  border-radius: 1rem;
}

textarea {
  overflow: auto;
  resize: none;
}

label {
  color: var(--color-primary);
  padding: .5rem 0;
}

label.error {
  color: red;
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border: 1px solid red;
}

.form-group input[type='submit'] {
  padding: 1rem 2rem;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 5rem;
  max-width: 30rem;
  cursor: pointer;
  margin-top: auto;
  transition: all .3s ease-in-out;
}

.form-group input[type='submit']:hover {
  color: var(--color-grey-light-2);
  background-color: var(--color-primary-light);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, .2);
}

/* Terms view */
.terms-view {
  padding-bottom: 3rem;
}

.terms-view h1,
h2,
h3 {
  font-size: 2.4rem;
  color: var(--color-primary);
  margin: 1rem 0;
}

.terms-view hr {
  margin: 2rem 0;
}

.terms-view p {
  font-size: 1.6rem;
  color: var(--color-grey-dark-1);
  padding: .5rem 0;
}

/* CONTACT */
.contact-item {
  padding: 1rem 0;
}

/* RESPONSE */
.response {
  font-size: 1.6rem;
}

.response__success {
  /* display: flex; */
  flex-direction: column;
  align-items: center;
  display: none;
}

.response__error {
  /* display: flex; */
  flex-direction: column;
  align-items: center;
  display: none;
}

.response__logo--success {
  fill: rgb(52, 173, 92);
  width: 50%;
  height: 50%;
}

.response__logo--error {
  fill: rgb(207, 74, 74);
}

/* MEDIA QUERIES */
@media only screen and (max-width: 768px) {
  .header {
    flex-direction: column;
    height: 14rem;
    justify-content: center;
    align-items: center;
  }

  .logo {
    width: 100%;
    justify-content: center;
  }

  .logo__text {
    padding-top: 3%;
    font-size: 1.8rem;
  }

  a.services__button {
  margin-top: 0.5rem;
  display: block;
  padding: 0.3rem 0.7rem;
  background-color: var(--color-primary);
  width: 30rem;
  text-align: center;
  color: #fff;
  border-radius: 50rem;
  text-transform: uppercase;
  transition: all .3s ease-in-out;
}

  .search {
    margin-top: 1rem;
    justify-content: center;
    width: 60%;
  }

  .footer__content {
    flex-direction: column;
  }

  .footer__content__box {
    border: none;
    padding: 1rem 0;
    font-size: 1.4rem;
  }

  .footer__map {
    max-width: 90%;
    min-height: auto;
  }

  .copyright {
    font-size: 1rem;
  }

  .language-box {
    width: 33.333%;
    font-size: 1.2rem;
  }

  .main-view__left,
  .main-view__right {
    width: 100%;
    padding: 3rem 0;
  }

  .main-view__left {
    text-align: center;
  }

  .contact-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 1.4rem 0;
  }

  h3 {
    font-size: 2rem;
  }

  p {
    font-size: 1.4rem;
  }

  .order__title {
    text-align: center;
  }

  .form {
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
  }

  .form-group {
    width: 100%;
  }

  .form-group input[type='submit'] {
    margin-top: 2rem;
    font-size: 1.6rem;
    padding: 2rem;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 5rem;
    max-width: 100%;
  }

  /* TABLE */
  .table {
    font-size: 1.2rem;
  }

  td {
    padding: none;
  }
}

@media screen and (max-width: 450px) {
  .search {
    margin-top: 1rem;
    justify-content: center;
    width: 100%;
  }
}

@media screen and (max-width: 380px) {
  .logo__icon {
    width: 2rem;
    height: 2rem;
  }

  .logo__text {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 322px) {
  .logo__text {
    font-size: 1.2rem;
  }
}