

/* fonting */

@font-face{
  font-family: 'Paytone';
  src: url('PaytoneOne-Regular.ttf');
}

@font-face{
  font-family: 'Sen';
  src: url('Sen-Regular.ttf');
}
/* Nav Bar */

.navcon {
  max-width: 1050px;
  width: 90%;
  margin: auto;
  display:flex;
  justify-content: center;
  flex-wrap:wrap;
  align-items:center;
  height:auto;
  font-family:Paytone;
}

.navcon .item {
  margin:.5em;
  font-size: 1.1rem;
  font-weight: 500;
  width:auto;
  border: 4px solid;
  padding: 6px;
  color:black;
  background-color: var(--box-color);
  border-radius: 5px;
  border-color: var(--bord-color);
}

.navcon .item:hover{
  transform: scale(1.05);
}
img {
  border-radius:8px;
  
}
.navcon img {
  width:24px;
  height:24px;
  vertical-align:middle;
}

@media (max-width:800px){
    .navcon {
    max-width: 1050px;
    width: 90%;
    margin: auto;
    display:flex;
    justify-content: center;
    flex-wrap:wrap;
    align-items:center;
    height:auto;
    font-family:Paytone;
  }
  
  .navcon .item {
    margin:.5em;
    font-size: .7rem;
    font-weight: 500;
    width:auto;
    border: 4px solid;
    color:black;
    background-color: var(--back-color);
    border-radius: 5px;
    border-color: var(--bord-color);
  }
  
  .navcon img {
    width:16px;
    height:16px;
    vertical-align:middle;
  }
    
    
}

:root {
  --back-color: #FBEBDA;
  --box-color: #FEF1EB;
  --bord-color: #45B69C;
  --high-color: #21D19F;
  --accent-pink: #FF6392;
  --accent-blue: #372772;
}

/* upper page */

.wrapper {
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
  justify-content:center;
  width:100%;
  max-width:1080px;
  margin:auto;
  margin-bottom:5px;
}

@media (max-width:800px){
  .wrapper {
    display:flex;
    flex-direction:column;
    justify-content:center;
    width:100%;
    margin-bottom:5px;
}

}
.divbox{
  background-color: var(--box-color);
  font-size:15px;
  border: 2px solid;
  border-radius: 5px;
  border-color: var(--bord-color);
  padding: 5px 10px 5px 10px;
  margin:auto;
  margin-top: 5px;
  margin-bottom: 5px;
  height:auto; 
  text-align:justify;
}



@media (max-width:800px){
  .divbox{
  background-color: var(--box-color);
  font-size:15px;
  min-width:80%;
  border: 2px solid;
  border-radius: 5px;
  border-color: var(--bord-color);
  padding: 5px 10px 5px 10px;
  margin:auto;
  margin-top: 5px;
  margin-bottom: 5px;
  height:auto; 
  text-align:justify;
  overflow:auto;
  }
}

.divitem{
  font-size:15px;
  padding: 15px;
  margin:auto;
  margin-top: 5px;
  margin-bottom: 5px;
  height:auto; 
  text-align:justify;
}



@media (max-width:800px){
  .divitem{
  font-size:15px;
  min-width:80%;
  padding: 15px;
  margin:auto;
  margin-top: 5px;
  margin-bottom: 5px;
  height:auto; 
  text-align:justify;
  overflow:auto;
  }
}

.topnav { 
  margin-top:15px;
  margin-bottom:15px;
  margin:auto;
  overflow: hidden;
  padding: 20px 20px;
  background-color: #64945c;
  border-width: 2px;
  border-style: solid;
  border-radius: 5px;
  opacity:.7;
  width: 75%;
}
.topnav a {
  float: none;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  
}

.topnav :hover {
  color: white;
  animation: linkhighlight;
  animation-duration:.2s;
}



/* main page */

h1, h2, h3, h4, h5, h6 {
  color: black;
  font-family: Paytone;
  
}
body {
  background: var(--back-color);
  background-image:url('assets/tile.png');
  color: black;
  font-family: Sen;
}



.footer {
  font-size:14px;
  opacity:0.7;
  padding: 20px;
  text-align: center;
  margin-top: 20px;
}

/* formatting */

.row {
  display:flex;
  flex:1;
  flex-wrap: nowrap;
  flex-direction:row;
  justify-content:center;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column {
  margin:auto;
  display:flex;
  flex-direction:column;
}

hr {
  border-top: 5px solid var(--bord-color);
  border-bottom: none;
  border-right:none;
  border-left:none;
  width:80%;

}
/* resources */

.link {
  text-decoration:none;
  color:black;
}

.link:hover {
  color:var(--bord-color); 
  animation: linkhighlight;
  animation-duration:.2s;
}

.link:hover:after {
  animation-direction: reverse; 
  animation: linkhighlight;
  animation-duration:.2s;
}

/* animations */

@keyframes linkhighlight {
  from {color:black;}
  to {color:var(--bord-color);}
}