/* FONTS

font-family: "oswald", sans-serif;
font-weight: 400;
font-style: normal;

font-family: "amplitude", sans-serif;
font-weight: 200;
font-style: normal;

*/


.square {
    width: 100px;
    height: 100px;
    margin: 10px;
    background-color: #fff;
    /* border: 1px black solid; */
    border-radius: 5px;
    padding: 0.5em;
}

body {
background-color: #EEEECF;
margin: 0 10%;
font-family: "oswald", sans-serif;
font-weight: 400;
font-style: normal;
}

h1 {
color: #72583D;
text-align:center;
font-family:sans-serif;
text-transform:uppercase;
/* border-bottom:1px solid ; */
/* margin-top: 10px; */
font-family: "amplitude", sans-serif;
font-weight: 200;
font-style: normal;
margin: 1%;
}


h2 {
color: #838E73;
font-size: 8em;
}

h3 {
color: #72583D;
font-size: 3em;
margin: 1%;
text-align: left;
}

.main2 {
 padding-top: 7em
}

.main3 {
  padding-top: 7em;
}

p {
font-family:'Trebuchet MS', serif;
}

hr{
height: 1px;
background-color: #72583D;
border: none; 
}

/* LINKS */

#link a {
  box-shadow: inset 0 0 0 0 #72583D;
  color: #838E73;
  padding: 0 .25rem;
  margin: 0 -.25rem;
  transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
}
 #link a:hover {
  color: #fff;
  box-shadow: inset 200px 0 0 0 #4a5140;;
}


/* NAV BAR */
nav{
width: 100%;
position: relative;
top:50px;
text-align:center;
height: 3px;
width: 100%;
background-color: #838E73;
}

nav a{
font-family: 'Oswald', sans-serif;
font-weight:500;
text-transform:uppercase;
text-decoration:none;
color:#72583D;
margin: 15px;
font-size:20px;
letter-spacing:1px;
position:relative;
display:inline-block;
float: left;
padding: 14px 16px;
}

nav a:before{
content:'';
position: absolute;
width: 100%;
height: 4px;
background:#424B54;
top:47%;
animation:out 0.2s cubic-bezier(1, 0, 0.58, 0.97) 1 both;
}

nav a:hover:before{
animation:in 0.2s cubic-bezier(1, 0, 0.58, 0.97) 1 both;
}

/* NAV BAR ANIMATION */
@keyframes in{
  0%{
    width: 0;
    left:0;
    right:auto;
  }
  100%{
    left:0;
    right:auto;
    width: 100%;
  }
}
@keyframes out{
  0%{
    width:100%;
    left: auto;
    right: 0;
  }
  100%{
    width: 0;
    left: auto;
    right: 0;
  }
}
@keyframes show{
  0%{
    opacity:0;
    transform:translateY(-10px);
  }
  100%{
    opacity:1;
    transform:translateY(0);
  }
}

@for $i from 1 through 5 {
  nav a:nth-child(#{$i}){
    animation:show .2s #{$i*0.1+1}s ease 1 both;
  }
}


/* Type Writer */

h2 {
  font-size: 70px;
}

.text_1 {
  animation: text1;
}

.text_2 {
  animation: text2;
}

.text_1, .text_2 {
  overflow: hidden;
  white-space: nowrap;
  display: inline-block;
  position: relative;
  animation-duration: 13s;
  animation-timing-function: steps(25, end);
  animation-iteration-count: infinite;
}

.text_1::after, .text_2::after {
  content: "|";
  /* position: absolute; */
  right: 0;
  animation: caret infinite;
  animation-duration: 1s;
  animation-timing-function: steps(1, end);
}

@keyframes text2 {
  0%, 50%, 100% {
    width: 0;
  }
  
  60%, 90% {
    width: 21.2em;
  }
}

@keyframes text1 {
  0%, 50%, 100% {
    width: 0;
  }
  10%, 40% {
    width: 17em;
  }
}

@keyframes caret {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
  