/* colors
dark brown #6f5b3e
beige #c4ae78
cream #f9f6f0
black #292012

fonts 
*/

*{
  box-sizing: border-box;

}

:root{
--fs-h1:3rem;
--fs-h2:2.25rem;
--fs-h3: 1.25rem;
--fs-body: 1rem;

--ff-primary: Ink Free, MV Boli ;
--ff-secondary: Palatino Linotype;

--clr-white: #f9f6f0;
--clr-beige: #c4ae78;
--clr-brown:#6f5b3e;
--clr-dark:#292012;

}

h3{
  line-height: 1;
  margin:0;
}


body{
  font-size: var(--fs-body);
  background: #f9f6f0;
  margin: 0;
  line-height: 1.6;
  color: #292012;
  font-family: var(--ff-primary);
}

img{
  display: block;
  max-width: 100%;
}

h1{
font-size: var(--fs-h1);

}
h2{
font-size: var(--fs-h2);

}
h3{
  line-height: 1;
  margin: 0;
font-size: var(--fs-h3) ;
}

header{
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  padding: 1em;
}

.nav-toggle {
  padding: .5em;
  background: transparent;
  border: 0;
  cursor: pointer;
  position: absolute;
  right: 1em;
  top: 1em;
  z-index: 1000;
}

.hamburger {
  display: block;
  position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  background: var(--clr-dark);
  width: 3em;
  height: 5px;
  border-radius: 1em;
  transition: transform 250ms ease-in-out;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
}

.hamburger::before { top: 6px; }
.hamburger::after { bottom: 6px; }

.nav-open .nav {
  transform: translateX(0);
}

.nav-open .nav-toggle {
  position: fixed;
}

.nav-open .hamburger {
  transform: rotate(.625turn);
}

.nav-open .hamburger::before {
  transform: rotate(90deg) translateX(-6px);
}

.nav-open .hamburger::after {
  opacity: 0;
}


nav{
  background-color: var(--clr-brown);
  color: var(--clr-white);
  border: #292012 2px solid;
  width: 100%;  
  position: fixed;
  z-index: 100;
  transform: translateX(100%);
  transition: transform 250ms cubic-bezier(.5, 0, .5, 1);

}
nav ul{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;

}
nav li{
  list-style-type: none;
}
.nav__link:link{
text-decoration: none;
color: var(--clr-white);
}
.nav__link:visited{
color: var(--clr-white)
}
.nav__link:hover{
  border: #c4ae78 2px solid;
  color: var(--clr-beige);
}

.intro{
position: relative;
margin-bottom: .25em;
}
.intro-subtitle{
  color: var(--clr-white);
  margin: 20px;
  font-size: var(--fs-h3);
  background-color: #c4ae78;
  text-align: center;
  box-shadow:0.25em 0.25em 0.75em var(--clr-dark);
  border-radius: 5px;
  height: 50px;

}
.title-intro{
margin-bottom: -10px;
text-shadow:0.25em 0.25em 0.75em var(--clr-brown);

}
.intro-img{
  box-shadow:0.25em 0.25em 0.75em var(--clr-dark);
  border-radius: 10px;
}

section{
padding: 5em 2em;
}

.title-experience{
font-family: var(--ff-primary);
}

.title{
  text-align: center;
text-shadow: 3px 1px 3px #6f5b3e;
}
.subtitle{
  margin: 0;
  font-size: var(--fs-h3);
}
#experience-section{
  display: flex;
  flex-direction: column;
  ;

  
}
.sections{
border: 2px solid var(--clr-dark);
box-shadow:0.25em 0.25em 0.75em var(--clr-dark);

padding: 2px;
margin-bottom: 30px;
margin-right: 5px;
}
.my-experience{
  background-image: url("background.png");
  background-color: var(--clr-brown);
  color: var(--clr-white);
  background-blend-mode:multiply;
  font-family: var(--ff-secondary);
  text-align: center;
} 
.button{
display: inline-block;
padding: .5em 1.5em;
background-color: var(--clr-dark);
color: var(--clr-white);
cursor: pointer;
font-weight: bold;
font-family: var(--ff-secondary);
text-decoration: none;
border-radius: 5px;
margin-bottom: 3px;
}

.button:hover{
  background-color: var(--clr-beige);
  border: #292012 2px solid;
}
#about-me{
  border: #292012 2px solid;
  margin-bottom: 10px;
  text-align: center;
}
.about-body{
font-family: var(--ff-secondary);
}
.intro-subtitle{
background-color: var(--clr-brown);
font-family: var(--ff-secondary);
margin-bottom: 1em;
padding: .25em 1em;
}
.title-about{
  margin-bottom: -10px;
  text-shadow: 5px 2px 5px var(--clr-brown);

}
.subtitle-about{
  box-shadow:0.25em 0.25em 0.75em var(--clr-brown);
  border-radius: 5px;
  width: 300px;
  display: flex;
justify-content: flex-end;
}
#work{
  background-image: url("background.png");
  background-color: var(--clr-brown);
  background-blend-mode:color-dodge;
  text-align: center;
  box-shadow: 5px 3px 5px #6f5b3e ;

}

#portfolio{
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
 margin-bottom: 10px;
}
.portfolio{
  box-shadow: 5px 3px 5px #6f5b3e ;
margin-right: 5px;
}
.portfolio h3{
  text-align:start;
  background-color: var(--clr-white);
  border-radius: 5px;
  height: 50px;
  width: 70%;
  padding: 5px;
  margin-right: 5px;
  display: flex;
  align-items: center;
  
}
.portfolio-img{
height: 100px;
width: 150px;
border: #6f5b3e 2px solid;

}

.portfolio-img:hover{
  height: 20%;
  width: 150% ;
  border: #c4ae78 5px solid;
  }


footer{
  background-color: var(--clr-dark);
  color: var(--clr-white);
  padding: 10px;
  text-align: center;
  font-size: .75em;
  font-family: var(--ff-secondary);
  display: flex;
  justify-content: space-evenly;
}
footer a:visited{
  color: var(--clr-white);
}
footer a:link{
  color: var(--clr-white);
}
footer:hover{
background-color: #c4ae78;
}
.footer-link{
text-decoration: none;
}
.footer-link:hover{
  color: #292012;
}



@media(min-width:700px){
  :root{
    --fs-h1: 4.5rem;
    --fs-h2:3.75rem;
    --fs-h3: 1.5rem;
    --fs-body: 1.25rem;

  }
.intro {
  display: grid;
  width: min-content;
  margin:  0  auto;
  grid-column-gap: 1em;
  grid-template-areas:
  "img title"
  "img subtitle";
grid-template-columns: min-content max-content;
}
#about-me{
  margin:200px;
 
}
.intro-img{
  grid-area:img;
  min-width: 250px;
  position: relative;
}
.intro-subtitle{
display: flex;  
align-items: flex-start;
position: relative;
}

}
@media
(max-width:1000px){
#about-me{
  margin:100px
}
}
@media(max-width:700px){
  .intro{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    line-height: 2rem;
  }

  #about-me{
    margin: 50px;
  }
}