@font-face {
  font-family: "SetoFont";
  src: url("Fonts/SetoFont.eot");
  src: url("Fonts/SetoFont.eot?#iefix") format("embedded-opentype"),
    url("Fonts/SetoFont.woff2") format("woff2"),
    url("Fonts/SetoFont.woff") format("woff"),
    url("Fonts/SetoFont.ttf") format("truetype"),
    url("Fonts/SetoFont.svg#setofont") format("svg");
  font-display: swap;
}

* {
  font-family: "setofont", "Brush Script MT", cursive;
  cursor: url(Cursors/nso_cursor.cur), default;
  box-sizing: border-box;
}

html,
body {
  background-image: url(../Images/ribbonnypolkadots.png);
  box-sizing: border-box;

  padding: 0px;
  margin: 0px;
  flex: 1;
  height: 100%;
  background-color: #f0d4f1;
  animation: fadeIn ease 0.8s;
}

 @keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
}
@keyframes fadeOut {
    0% {opacity:0;}
    100% {opacity:1;}
}

header {
  border-radius: 2mm;
  background-color: rgba(255, 205, 244, 0.877);
  border: solid rgba(244, 151, 253, 0.26);

  padding-top: 10px;
  padding-bottom: 0px;
  padding-left: 10px;
  padding-right: 10px;

  margin-top: 0px;
  margin-bottom: 5px;
  margin-left: 10px;
  margin-right: 10px;

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  position: sticky;
  top: 10px;
}

/*Navigation bar*/
nav {
  border-radius: 3mm;
  background-color: rgba(255, 255, 255, 0.781);
  border: #fdc0fa solid 5px;
  width: 100%;

  padding-left: 15px;
  padding-right: 15px;
  padding-top: 10px;
  padding-bottom: 10px;

  margin-top: 5px;
  margin-bottom: 10px;
  margin-left: 10px;
  margin-right: 10px;

  display: flex;
  align-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}

nav a {
  border-radius: 0.5mm;
  background-color: #cbe0ffd7;
  color: rgb(153, 19, 187);

  text-decoration: none;
  text-align: center;
  font-weight: bold;
  font-size: 15px;

  padding-left: 5px;
  padding-right: 5px;
  padding-top: 10px;
  padding-bottom: 10px;

  margin: 1px;

  flex: 1px;
}

nav a:hover {
  transition: ease 0.4s;
  background-color: rgb(213, 245, 255);
  text-decoration: none;
  cursor: url(Cursors/nso_point.cur), pointer;
}

nav a:active {
  transition: ease 0.2s;
  background-color: rgba(231, 173, 228, 0.959);
  color: darkorchid;
  text-decoration: none;
}

/*Title in header*/
h1 {
  color: hsl(295, 100%, 72%);
  font-size: 35px;
  font-weight: 900;
  text-transform: uppercase;
  text-overflow:clip;
  text-align: right;
  text-shadow: #6d1fad 1px 2px 2px;
  letter-spacing: 3px;
  align-self: flex-end;

  flex: 5px;

  margin-right: 10px;
  margin-left: 0px;
  margin-top: 5px;
  margin-bottom: 2px;

  padding-left: 0px;
  padding-right: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
}

h1:hover, h3:hover, nav a:hover{
  animation: shake 1s;
  animation-iteration-count: infinite;
}
@keyframes shake {
  0% { transform: translate(1px,0px) rotate(-0.1deg); }
  10% { transform: translate(1px, 0px) rotate(0.1deg); }
  20% { transform: translate(1px, 0px) rotate(-0.1deg); }
  30% { transform: translate(0px, 0px) rotate(0.1deg); }
  40% { transform: translate(0px, 0px) rotate(-0.1deg); }
  50% { transform: translate(0px, 0px) rotate(0.1deg); }
  60% { transform: translate(0px, 0px) rotate(-0.1deg); }
  70% { transform: translate(0px, 0px) rotate(0.1deg); }
  80% { transform: translate(0px, 0px) rotate(-0.1deg); }
  90% { transform: translate(0px, 0px) rotate(0.1deg); }
  100% { transform: translate(0px, 0px) rotate(-0.1deg); }
}
/*Language button dropdown*/
.dropdown {
  position: relative;
}

.dropdown-content {
  border-radius: 1mm;
  opacity: 0;
  display: none;
  position: absolute;
  top: 45px;
  right: 10px;
  background-color: #a277bde1;
  width: 90px;
  text-align: center;
}

.dropdown-content a {
  color: rgb(241, 253, 255);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  transition: ease 0.2s;
  font-weight: 600;
  background-color: #d0e3f5e1;
  color: #ec86ec;
  cursor: url(Cursors/nso_point.cur), pointer;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  transition: all 0.5s ease;
  max-height: 100px;
  display: block;
  float: left;
  cursor: url(Cursors/nso_point.cur), pointer;
}

.dropdown:hover .dropbtn {
  background-color: #ff91ed;
  transition: all ease 0.2s;
  font-weight: 600;
  cursor: url(Cursors/nso_point.cur), pointer;
}

.dropbtn {
  width: 90px;
  align-self: flex-start;
  background-color: #a478ecb2;
  border: 1px solid #a478ecce;
  border-radius: 1mm;
  color: white;
  cursor: pointer;

  margin-top: 5px;
  margin-bottom: 5px;
  margin-right: 10px;
  margin-left: 15px;

  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  padding-right: 10px;
}
/*End of language dropdown*/

main {
  padding: 10px;
  flex-grow: 1;
  flex: 1;
}

/*Paragraphs*/
p {
  font-family: "setofont", "Times New Roman", Times, Georgia, Garamond, serif;
  text-overflow: ellipsis;
  text-align: justify;
}

h2 {
  color: white;
  text-transform: capitalize;
}

/*Specific to blogs*/

section {
  color: white;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 10px;
  justify-items: stretch;
  flex-grow: 5;
  justify-content: stretch;
}

h2.title {
  background-image: url(../Images/sky.gif);
  border-radius: 1mm;
  font-weight: bolder;
  font-size: 20px;
  background-color: #9261ca;
  text-decoration: dotted underline 5px;
  text-underline-offset: 4px;
  color: white;

  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  text-align: right;
  text-transform: capitalize;
  flex: 150px;

  margin-right: 10px;
  margin-left: 10px;
  margin-top: 5px;
  margin-bottom: 0px;

  padding-top: 8px;
  padding-bottom: 15px;
  padding-left: 10px;
  padding-right: 11px;
  cursor: url(Cursors/nso_helpselect.cur), help;
}

article {
  border-radius: 2mm;
  background-color: #629dd4c7;
  flex: 20px;
  border: solid rgba(226, 143, 247, 0.938) 4px;
  padding: 10px;
  margin: 2px;
}

article h3 {
  font-size: 25px;
  text-transform: capitalize;

  margin-right: 10px;
  margin-left: 0px;
  margin-top: 10px;
  margin-bottom: 0px;

  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px;

  cursor: url(Cursors/nso_point.cur), pointer;
}

/* Footer */
.wrapper {
  box-sizing: border-box;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

footer {
  box-sizing: border-box;
  background-image: url(../Images/sky.gif);
  color: white;
  text-transform: capitalize;
  text-align: right;

  height: 100%;
  width: 100%;

  padding: 25px;
  margin: 0px;

  flex-grow: 0;
  flex-shrink: 0;
  
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

address{
  text-align: right;
  flex:1;
  align-self: flex-end;
}
address:hover{
  cursor: url(Cursors/nso_locationselect.cur), help;
}
.extra-links{
  align-self: flex-start;
  display: flex;
  flex:1;
  flex-direction: column;
  margin:5px;
  padding: 5px;
}
.banners{
  flex-direction: row;
  flex: 1;
  margin:10px;
  padding: 5px;
  display: flex;
}

.banners img {
  flex:1;
  width:100%;
  height:100%;
  margin:10px;
}

.banners > a:hover img{
  cursor: url(../CSS/Cursors/nso_point.cur), pointer;
}
.othershit, .othershit a{
  flex-direction: row;
  display: flex;
  margin:1px;
  padding: 1px;
}

/*Animas exclusive*/
#animasp {
  flex-direction: column;
}

#error-to-home button {
  border: solid rgb(253, 174, 247) 5px;
  background-color: #aedaff;
  margin: 10px;
  color: hsl(261, 97%, 65%);
  text-align: center;
  font-weight: 900;
  justify-self: stretch;
  flex-direction: row;
  flex-wrap: wrap;
  flex: 5px;
  display: flex;
  padding: 10px;

  cursor: url(Cursors/nso_point.cur), pointer;
}

#error-to-home button:hover {
  border: solid rgb(253, 174, 247) 5px;
  transition: ease 0.2s;
  background-color: #8cbfe9;
  margin: 10px;
  color: hsl(261, 93%, 63%);
  text-align: center;
  font-weight: 900;
  justify-self: stretch;
  flex-direction: row;
  flex-wrap: wrap;
  flex: 5px;
  display: flex;
  padding: 10px;
}

#error-to-home a {
  text-decoration: none;
  text-align: center;
}

audio{
  display: none;
}