*, *::before, *::after{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

:root{
  --header-footer-Back: #5a738c;
  --Type1: "Montserrat", sans-serif;
  --Type1-weight: 500;
  --Type2: "Cinzel Decorative", serif;
  --Type2-weight: 700; /*bold, 400 is reg*/
  --headingcolor: #353852; /* also for hr*/
  --footerHeading-color: #ffffff;
  --navsize: 20px; /*Monst. Medium(500), also para size*/
  --navbtn: 14px; /*Same as navsize*/
  --navbtnColor: #425e4c; /*also for paragraphs*/
  --Type1-2-size: 55px;
  --lineWidth: 1.7; /*for paragraghs*/
  --heading2andUpSize: 40px; /*CD bold*/
  --footerHeadingSize: 30px; /*CD bold*/
  --footerContact-links: 15px; /*CD reg, 1.2 line-height*/
  --copyright: 11px; /*1.4 line-height which is also for the headings and footer headings;*/
  --footerSocial: #a6a6a6; /*color and background*/
  --spacing: 4rem;
  --spacing-2: 2rem;
}

header{
  background-color: var(--header-footer-Back);
  padding: 1rem;
  z-index: 1;
}

.skip-link{
  position:absolute;
  left:-999px;
}

.skip-link:focus{
  left:0;
}

h1{
  font-size: var(--navsize);
  color: var(--footerHeading-color);
  letter-spacing: 5px;
  line-height: var(--lineWidth);
  font-weight: var(--Type1-weight);
  font-family: var(--Type1);
}

nav ul{
  display: flex;
  justify-content: space-between;
  list-style: none;
}

li{
  margin-top: -15rem;
  margin: 1rem;
  font-size: var(--navsize);
}

nav a, .shop-btn{
  color: var(--footerHeading-color);
  font-family: var(--Type1);
  font-weight: var(--Type1-weight);
}

.shop-btn{
  width: 100px;
  padding: 14px;
  background-color: var(--navbtnColor);
  font-family: var(--Type1);
  font-weight: var(--Type1-weight);
  font-size: var(--navbtn);
  border: 2px solid rgb(80, 80, 80);
  border-radius: 10px;
}

.shop-btn:hover, #send-btn:hover{
  background-color:#425e4cde;
  cursor: pointer;
}

nav a{
    text-decoration: none;
    margin-top: -15rem;
}

.hero-gal, .gallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.hero-gal img{
  width: 100%;
  height: 500px;
  filter: opacity(0.28);
  min-width: 0;
  object-fit: cover;
  display: block;
}

.hero{
background-color: #0d141e;
max-width: 100%;
height: auto;
position: relative;
overflow: hidden;
}

.hero h1{
  position: absolute;
    inset:0;
    /* display:grid;
    place-items:center; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  transform:none;
  font-size: var(--Type1-2-size);
  color: var(--footerHeading-color);
  letter-spacing: 12px;
  line-height: 1.2;
  padding-bottom: 4px;
  text-align: center;
}

.hero h1:not(span){
  font-family: var(--Type1);
  font-weight: var(--Type1-weight);
}

.hero span{
  font-family: var(--Type2);
  font-weight: var(--Type2-weight);
}

p{
  padding: var(--spacing);
  line-height: var(--lineWidth);
  color: var(--navbtnColor);
  font-family: var(--Type1);
  font-weight: var(--Type1-weight);
  font-size: var(--navsize);
}

.shoes{
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  padding-top: var(--spacing);
}

h2{
  font-size: var(--heading2andUpSize);
  text-align: center;
  font-family: var(--Type2);
  font-weight: var(--Type2-weight);
  color: var(--headingcolor);
  line-height: 1.4;
  padding-top: var(--spacing);
}

.gallery img{
  max-width: 100%;
  width: 400px;
  height: 500px;
}

.gallery{
  gap: var(--spacing);
  justify-content: center;
  padding-top: var(--spacing);
}

.contact-content{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding-top: var(--spacing);
}

form{
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 500px;
}

label{
  color: #000;
  font-weight: var(--Type2-weight);
  font-size: var(--footerHeadingSize);
  padding: 1rem;
}

input{
  max-width: 100%;
  width: 300px;
}

textarea{
  width: 100%;
}

input, textarea{
    border: 1px solid var(--headingcolor);
  border-radius: 5px;
  font-size: var(--navsize);
  padding-left: .50rem;
  margin-left: 2rem;
}

label:hover{
  cursor: pointer;
}

#send-btn{
  margin-top: var(--spacing-2);
  color: var(--footerHeading-color);
  background-color: var(--navbtnColor);
  width: 100px;
  padding: 14px;
  font-size: var(--navsize);
  font-family: var(--Type1);
  font-weight: var(--Type1-weight);
  margin-left: var(--spacing);
}

.contact{
  padding: var(--spacing);
}

hr{
  border: 4px solid var(--headingcolor);
}

footer{
  padding-top: var(--spacing);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-left: 8rem;
  background-color: var(--header-footer-Back);
}

h3{
  font-size: var(--footerHeadingSize);
  font-family: var(--Type2);
  font-weight: var(--Type2-weight);
  color: var(--footerHeading-color);
  line-height: 1.4;
}

.contact-footer{
  padding-bottom: var(--spacing-2);
}

.contact-footer #support, .contact-footer #phone, 
.contact-footer address, .contact-footer .copy, .links nav{
  font-family: var(--Type2);
  font-size: var(--footerContact-links);
  line-height: 1.2;
  color: var(--footerHeading-color);
  text-transform: capitalize;
  text-decoration: none;
  font-style: normal;
}

.contact-footer .copy{
  font-size: 11px;
  line-height: 1.4;
}

.contact-footer #support{
  padding-top: var(--spacing);
}

.links .shop-btn{
  all: unset;
}

.links nav{
  display: flex;
}

.links .shop-btn:hover{
  cursor: pointer;
  text-decoration: underline;
  transition: 0.3s ease;
}

.social i{
  padding: 0.50rem;
  font-size: var(--footerHeadingSize);
  color: var(--footerSocial);
}

.links nav, .social i{
  padding-top: var(--spacing-2);
}

.contact-footer h3{
  padding-bottom: var(--spacing-2);
}

.gallery{
  padding: var(--spacing);
}

/* Tablets */
@media (max-width: 768px) {
  header,
.hero,
footer{
    width:100%;
    max-width:100%;
}

.hero h1{
  font-size: 20px;
  letter-spacing: 5px;
  margin-top: 0;
  margin-right: 0;
  line-height: 1.2;
}

.hero-gal img{
    height:180px;
}

.intro p{
  margin-left: var(--spacing);
}

p{
  font-size: 15px;
  width: 70%;
}

h2{
  font-size: 30px;
}

.purpose p{
  margin: auto;
}

.gallery img{
  max-width: 100%;
  width: 400px;
  height: 360px;
  margin: auto;
}

.gallery{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-content{
  display: flex;
  flex-direction: column;
}

.contact-content p{
  max-width: 100%;
  width: 100%;
  margin: 0;
}

form{
  margin-left: var(--spacing-2);
  max-width: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
}

#msg{
  width: 300px;
}

footer{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  padding-bottom: var(--spacing-2);
}

.links, .social{
  margin-right: 8rem;
}

  .links{
    margin-right: 4rem;
  }
}

/* Phones */
@media (max-width: 480px) {
  header h1{
    font-size: 14px;
    letter-spacing: 2px;
  }

  .hero-gal img{
    width:100%;
    height:auto;
    display:block;
    min-width: 0;
  }

  .hero h1{
    font-size: 15px;
    line-height: 1.4;
    letter-spacing: 2px;
   
  }

  .shop-btn{
    margin-right: 1rem;
    font-size: 16px;
  }

  .intro p{
    margin: 0 auto;
  }

  p{
    font-size: 16px;
    width: 100%;
  }

  .shoes{
    width: 50%;
    height: auto;
  }

  .purpose h2{
    font-size: 20px;
    margin-left: center;
  }

  .gallery img:first-child, .gallery img:nth-child(2), .gallery img:last-child{
    max-width: 200%;
    width: 80%;
    height: 140%;
  }

  .gallery{
    display: flex;
    flex-direction: column;
    margin-left: auto;
  }

.purpose p{
  margin-left: auto;
}

  .contact{
    margin-left: calc(var(--spacing) * -1);
  }

  form{
    width: 50%;
  }

  #msg{
    width: fit-content;
  }

  footer{
    padding-left: 3rem;
  }

  .links{
    margin-right: 4rem;
  }
}