* {
  font-family: Arial;
  margin: 0;
}

*, *::before, *::after {
  box-sizing: border-box;
}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
input, button, textarea, select {
  font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}
#root, #__next {
  isolation: isolate;
}


header {
  background: url(../imgx/flag.jpg) center top no-repeat #015;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  padding: 16px;
  position: relative;
}


h1 {
  color: #222;
  font-family: "Six Caps", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  margin: 0 12px 24px 0;
}

h2 {
  color: #222;
  font-family: "Six Caps", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  margin: 0 12px 24px 0;
}

h3, h4, h5 {
  font-family: "Josefin Sans", cursive;
  font-weight: 600;
  font-style: normal;
}

p, li, i, div, span, sub {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
}

b {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
}

/*h3 sub  {
  font-family: "Six Caps", sans-serif;
  font-weight: 400;
}*/

body {
  background: #2a54a8;
  margin: 0;
  padding: 0;
}

main {
  margin: 0 auto; 
  max-width: 1316px;
  padding: 20px 20px 60px; 
}

ul li a {
  font-size: 16px;
}


.bodytext {
  background: #fef9ec;
  border-radius: 12px;
  margin-top: 24px;
  padding: 16px;
}

article {
  background: #dec769;
  border: 1px solid #ccc;
  box-shadow: 0px 0px 10px 10px rgba(0,0,0,.4);
  border-radius: 16px;
  margin: 0 auto 36px;
  padding: 20px 20px 30px;
}

nav {
  background: #00000099;
  border-radius: 0 0 0 8px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9;
}

.swift-v-loser {
  margin: auto;
}

.swift-v-loser th,
.swift-v-loser td {
    border-top: 1px solid #ccc;
    padding: 8px 10px;
    text-align: center;
    vertical-align: baseline;
  }


.swift-v-loser  th.swift,
.swift-v-loser  td.swift,
.swift-v-loser  td.winner-swift,
.swift-v-loser  td.winner {
    color: #062;
  }
.swift-v-loser th.sos,
.swift-v-loser td.sos,
.swift-v-loser td.loser {
    color: #960;
  }
td.winner-swift,
td.winner-tie {
  font-weight: 700;
  padding: 2px 20px;
  text-align: center;
}
td.winner-swift:before {
  content: "< ";
  color: #062;
}



td.winner-tie {
  color: #036 !important;
}

th.winner {
  color: #036;
  padding: 2px 20px;
  text-align: center;
}


.share-on-social-block {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.share-social a {
  background: url(../imgx/share.png) left top no-repeat transparent;
  flex-basis: 36px;
  height: 36px;
  text-indent: -9999em;
}

.share-social a.email {
  background-position: -420px 0px;
}

.share-social a.facebook {
  background-position: 0px 0px;
}

.share-social a.twix {
  background-position: -60px 0px;
}

.share-social a.pinterest {
  background-position: -120px 0px;
}

.be {
  font-weight: 700;
  font-style: italic;
}



@media (max-width: 599.9px) {
  header {
    flex-wrap: wrap;
    padding: 16px;
    #taylor-photo {
      height: 180px;
      order: 2;
      width: 180px;
    }
    #empowering {
      flex-basis: 90px;
      font-size: 36px !important;
      order: 1;
    }
    #ts4vp-logo {
      flex-basis: 100%;
      order: 3;
    }
  }
  nav {
    background: #2a54a8;
    position: sticky;
    right: 0;
    top: 0;
  }
  .bodytext {
    padding: 16px;
  }
  .swift-v-loser td {
    font-size: 13px;
  }

}


nav ul {
  display: inline-block;
  list-style-type: none;
  li {
    display: inline-block;
  }
}

h1 {
  height: 144px; 
  margin: 0; 
  padding: 0; 
  width: 100%; 
}

.flexbox {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.item {
  background: #f4e9e2;
  border: 1px solid #000;
  border-radius: 4px;
  box-sizing: border-box;
  flex-basis: calc(25% - 24px);
  max-width: calc(25% - 24px);
  padding: 4px 20px 20px;
}

@media (min-width: 900px) and (max-width: 1279.9px) {
  .item {
    flex-basis: calc(33.3% - 18px);
    max-width: calc(33.3% - 18px);
  }
}

@media (min-width: 600px) and (max-width: 899.9px) {
  .item {
    flex-basis: calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
}

@media (max-width: 599.9px) {
  .item {
    flex-basis: calc(100% - 6px);
    max-width: calc(100% - 6px);
  }
}


h2 {
  font-size: 72px;
  position: relative;
}

h3 {
  border-bottom: 3px solid #8b0015;
  font-size: 30px;
  margin-bottom: 16px;
  margin-top: 60px;
  padding-top: 8px;
  position: relative;
}

h3 + img {
  margin: 12px auto !important;
}

h3 + p {
  margin-top: 6px !important;
}



h4 {
  border-bottom: 1px solid #8b0015;
  font-size: 24px;
  margin-bottom: 16px;
  margin-top: 30px;
  padding-top: 8px;
  position: relative;
}

.item.elemental h3 {
  min-height: 48px;
  padding-right: 48px;
}

.item h3{
  line-height: 1;
}

p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 18px;
}

.compound h3 {
  color: #066;
}

.gas h3 {
  color: #960;
}

.witchy h3 {
  color: #a03;
}

.note h3 {
  color: #9cf;
}

/*p b {
  display: inline-block;
  width: 120px;
}*/

i.abbrev {
  font-size: 12px;
  font-weight: 400;
}

a {
  font-size: 10px;
  white-space: wrap;
  word-break: break-all;
}

nav li a {
  color: #f4e9e2;
  font-family: 'Six Caps';
  font-size: 24px;
  letter-spacing: 2px;
  margin-right: 18px;
  text-decoration: none;
  white-space: wrap;
  word-break: break-all;
}
