@charset "utf-8";

:root {
  --background-grey: #f3f4f5; 
  --primary-colour: #d40b2e;
  --border-radius: 4px;
  --border-color: #c6c6c6;
}

* {
  margin: 0;
  border: 0;
  padding: 0;
  outline: 0;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
}

.container {
    width: min(100% - 30px, 1080px);
    margin-inline: auto;
}

.wrap {
  flex-wrap: wrap;
}

.flex {
  display: flex;
}

.align {
  align-items: center;
}

.space-between {
  justify-content: space-between;
}

.space-evenly {
  justify-content: space-evenly;
}

.space-around {
  justify-content: space-around;
}

.gap-8 {
  gap: 8px;
}

.gap-20 {
  gap: 20px;
}

.gap-40 {
  gap: 40px;
}

.center {
  justify-content: center;
  align-items: center;
}

body {
    background-color: var(--background-grey);
}

.row {
  flex-direction: row;
}

/*---------------------------------------------------------------------------*/
/*-------------------------------Fonts---------------------------------------*/
/*---------------------------------------------------------------------------*/

.merriweather-regular {
    font-family: "Merriweather", serif;
    font-weight: 400;
    font-style: normal;
}
  
.merriweather-bold {
    font-family: "Merriweather", serif;
    font-weight: 700;
    font-style: normal;
}

.inter {
    font-family: "Inter", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/*---------------------------------------------------------------------------*/
/*------------------------------Header---------------------------------------*/
/*---------------------------------------------------------------------------*/

header {
  background: #fff;
}

.title {
  height: 56px;

  h1 {
      position: relative;
      right: 2px;
      line-height: 20px;
      font-size: 1.8rem;
      color: var(--primary-colour);
      font-weight: 500;
      text-transform: uppercase;
      place-content: center;
  }

  .logo {
      height: 90px;
      width: 90px;
  }
  
}

nav {
  width: 100%;
  height: 56px;
}

nav .nav-list {
  list-style: none;
}

nav .nav-list li {
  display: inline;
  line-height: 56px;

  a {
      text-decoration: none;
      color: #525252;
      font-size: 1.6rem;
      font-weight: 500;
  
      &:hover {
          color: var(--primary-colour);
          transition: color 0.25s ease-in-out;
      }
  }
}

.nav-list li + li {
  margin-left: 16px;
}

input[type=text] {
  width: 100%;
  height: 38px;
  padding: 0 15px 0 32px;
  /* border: 1px solid rgb(0 0 0 / 5%); */
  border-radius: 50px;
  transition: all 0.25s ease-in-out;
  background: #f6f6f6 url(../img/image4.png) no-repeat 10px 11px;
  background-size: 16px;

  &:focus {
      border: 1px solid var(--primary-colour);
  }
}

.hamburger {
  font-size: 24px;
  color: #000;
  display: none;
  background: none;
  border: none;
  padding: 10px;
}

/*---------------------------------------------------------------------------*/
/*------------------------------Footer---------------------------------------*/
/*---------------------------------------------------------------------------*/

footer {
  height: 60px;
  background-color: #000;
  color: #fff;

  .left-footer ul li{
      display: inline;

      a {
          text-decoration: none;
          height: 40px;
          width: 40px;
          padding: 5px;
          border-radius: 50%;
          font-size: 1.6rem;
          background-color: rgb(255 255 255 / 10%);
          backdrop-filter: blur(100px) saturate(140%);
          height: 30px;
          width: 30px;
          border: 1px solid #dcdcdc;
          position: relative;
          right: 2px;

          i {
              color: #fff;
          }

          &:hover {
              background-color: #672C36;
              transition: color 0.25s ease-in-out;
          }
      }
  }
}
/*---------------------------------------------------------------------------*/
/*------------------------------Media Queries--------------------------------*/
/*---------------------------------------------------------------------------*/

/*992px and down*/
@media (max-width: 992px) {
  nav {
      display: none;
  }

  .hamburger {
      display: block;
  }

  .title .logo {
    height: 50px;
    width: 50px;
  }

  .about-container .container {
    flex-direction: column;

    .content {
        text-align: center;
    }
  }
}

/*768px and down*/
@media (max-width: 768px) {

  .search-bar {
      display: none;
  }
}
