* {
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

:root {
    --color-primary: #242424;
    --color-secondary:#ef5435;
    --color-tertiary: #3f2d14;
}

body {
  font-family: 'Dosis', sans-serif;
  letter-spacing: normal;
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--color-primary);
  background-color: #fff;
}

hr {
  border-width: .5px;
border-style: solid;
  border-color: var(--color-secondary);
}

hr:first-of-type {
  margin: 0 auto 1rem;
  max-width: 230px;
}
hr:nth-of-type(2) {
  margin: 1rem auto 2rem;
  max-width: 450px;
}
hr:nth-of-type(3) {
  margin: 2rem auto 2rem;
  max-width: 650px;
}

ul {
    padding: 0;
    list-style: none;
}

/* container */

header, footer, main {
        padding: 2rem;
}

header {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

header > img {
    position: absolute;
    top: 2rem;
    left:2rem;
}

main > div {
    max-width: 700px;
    margin: auto;
}

footer {
    text-align: center;
}

footer img[src$="webp"] {
width: auto;
    max-height: 100px;
    max-width: 100%;
    height: auto;
}

footer > div, footer > div > div  {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .25rem;
}

footer > div {
    gap: 2rem;
}

footer > p {
    font-size: 1rem;
}

/* typo */
h1, h2, h3 {
  font-weight: 300;
  letter-spacing: normal;
  color: inherit;
  text-align: center;
}
h1 {
  font-size: 3rem;
  margin-bottom: 1.25rem;
}

h2 {
  font-size: 2.25rem;
   margin-bottom: 2.15rem;
}

h3 {
    font-weight: 400;
  font-size: 1.75rem;
}

main h2:nth-child(n + 2) {
    margin-top: 7rem;
}
p{
  padding: 10px;
  line-height: 1.8;
}

/* links & buttons */
a {
  /*letter-spacing: 0.2em;*/
  text-decoration: none;
  color: var(--color-primary);
  display: inline-block;
  line-height: inherit;
}
a:hover {
  text-decoration: none;
  letter-spacing: .5px;
}

h3 a:hover {
    letter-spacing: 1.5px;
}

li a, h3 a {  border-bottom: 1.5px solid rgba(239, 83, 52,.4);}
li a:hover, h3 a:hover {  border-bottom: 2px solid rgba(239, 83, 52,.7);}
li a {
      margin-bottom: 1.25rem;
}
.btn {
	transition: all 0.3s;
  position: relative;
  line-height: 50px;
	height: 50px;
	text-align: center;
	width: 180px;
  cursor: pointer;
}
.btn::before {
  content: '';
  color: white;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	opacity: 0;
	transition: all 0.3s;
	border-top-width: 2px;
	border-bottom-width: 2px;
	border-top-style: solid;
	border-bottom-style: solid;
 /* border-top-color: #FFC107;
  border-bottom-color: #FFC107;*/
  border-top-color: var(--color-secondary);
	border-bottom-color: var(--color-secondary);
	transform: scale(0.1, 1);
}	

.btn:hover {
	letter-spacing: 2px;
}
.btn:hover::before {
	opacity: 1;	
	transform: scale(1, 1);
}
.btn::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	transition: all 0.3s;
  background-color: rgba(255, 193, 7, 0.05);
  background-color:hsla(35, 53%, 20%, 0.05);
}
.btn:hover::after {
	opacity: 0;	
	transform: scale(0.1, 1);
}

footer > a img:hover {
  transform: scale(1.2);
}

a, img {
    transition: all 0.3s ease-in-out;
}

/* responsive */
@media (max-width:750px) {
      footer > div {
        display: block;
        font-size: 1rem;
      }
        h2 {
        font-size: 1.75rem;
    }
}

@media (max-width:570px) {
    h1 {
        font-weight: 300;
        font-size: 2.5rem;
    }

}

@media (max-width:385px) {
    h1, h3 {
        font-weight: 300;
        font-size: 2rem;
    }
    h2 {
        font-size: 1.25rem;
    }
    footer > div > div {
        display: block;
    }
}

@media (max-width:320px) {
    h3 {
        font-weight: 300;
        font-size: 1.5rem;
    }
    header, footer, main {
        padding: 1rem;
    }
    header > img {
    top: 1rem;
    left:1rem;
    }
    hr:first-of-type {
    display: none;
    }
}