/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */
   
   @font-face {
    font-family: 'nasin-nanpa';
    src: url('https://suzypavlis.neocities.org/nasin%20nanpa.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* unvisited link */
a:link {
  color: #C930F2;
}

/* visited link */
a:visited {
  color: #C930F2;
}

/* mouse over link */
a:hover {
  color: #F44FDD;
}

/* selected link */
a:active {
  color: #C930F2;
}
   
   h1,
h2,
h3,
h4,
h5,
h6 {
     font-family: century;
         text-align: center;
   }
   
   h1 {
     color: #00CAFF;
       text-shadow:
     -1px -1px 0 #FFF,
    1px -1px 0 #FFF,
    -1px 1px 0 #FFF,
    1px 1px 0 #FFF;
        font-size: clamp(18px, 4vw, 36px);
    
border-radius: 0.5em;
  background-color: rgba(255, 255, 255, 0.7);
      padding-left: 0.5em;
      padding-right: 0.5em;
  padding-top: 0.05em;
    padding-bottom: 0.05em;
  width: max-content;
  text-align: center;
     display: flex;
place-self: center;
  
   }
   
    h2 {
     color: #317DD0;
            text-shadow:
     -1px -1px 0 #FFF,
    1px -1px 0 #FFF,
    -1px 1px 0 #FFF,
    1px 1px 0 #FFF;
    font-size: clamp(16px, 4vw, 32px);
   }
   
   p {
       padding-left: 2.5em;
       padding-right: 2.5em;
       font-size: clamp(12px, 3vw, 24px);
   }
   
      .shrinkage {
   font-size: clamp(12px, 2vw, 16px)
   }

body {
  background-color: white;
  color: black;
  font-family: century;
}

.framed {
  border-style: solid;
  border-width: 0.2em;
  border-color: #D7F7FF;
  background-color: #F6FEFF;
  margin-left: 0.5em;
  margin-right: 0.5em;
  border-radius: 0.5em;
  font-size: 1.5em;
  max-width: 50%;
  
   display: flex;
   flex-direction: column;
align-items: center;
place-self: center;

}

.framewords {
  align-items: center;
}

.tokipona {
  font-family: century;
}

.sitelen-suwi {
  font-family: nasin-nanpa;
}

.silent-to,
.silent-i,
.silent-etc {
  font-size: 60%
}


.flex-container {
  display: flex;
  flex-direction: row;
  text-align: center;
}

.flex-item-left {
  padding: 0.2em;
  flex: 50%;
}

.flex-item-right {
  padding: 0.2em;
  flex: 50%;
}

/* Responsive layout - makes a one column-layout instead of two-column layout */
@media (max-width: 800px) {
  .flex-container {
    flex-direction: column;
  }
}

.flex-container-2 {
  display: flex;
place-self: center;
flex-wrap: wrap;
}

.flex-item-2 {
  flex: 1 0 calc(100% / 4);
}

.footer {
  border-radius: 0.5em;
  background-color: rgba(255, 255, 255, 0.7);
  
  border-style: solid;
  border-width: 0.2em;
  border-color: #D7F7FF;
  
    margin-top: 4vw;
    margin-bottom: 4vw;
  width: 50%;
  text-align: center;
       display: flex;
           flex-direction: column;
place-self: center;
}

.iframe-container {
    position: relative;
    width: 32%;
    padding-bottom: 18%; /* 16:9 aspect ratio (height/width * 100) */
    height: 0;
    overflow: hidden;
    place-self: center;
  }

  /* Make iframe fill container */
  .iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }

.purple-button {
  font-size: clamp(12px, 2vw, 16px);
  background-color: #C930F2;
  border: none;
  border-radius: 0.75em;
  color: white;
  padding: 0.75vw 1.5vw;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.purple-button:hover {
background-color: #F44FDD;
}