/* Last modified:Tue, 19 Apr 2022 11:25:48 GMT */

/*

BUTTONS

*/


button {
	z-index: 1000;
  align-items: center;
  appearance: none;
  background-image: radial-gradient(100% 100% at 100% 0, var(--buttonstart) 0, var(--buttonend) 100%);
  border: solid black 0.15rem;
  border-radius: .5rem;
  box-shadow: var(--shadow4) 0 2px 4px,var(--shadow3) 0 7px 13px -3px, var(--boxshadow) 0 -3px 0 inset;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: "JetBrains Mono",monospace;
  height: auto;
  justify-content: center;
  overflow: hidden;
  padding: 1.5rem;
  position: relative;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
  transition: box-shadow .15s,transform .15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow,transform;
  font-size: 3rem;
}



button:active, button:hover {
  box-shadow:var(--shadow) 0 3px 7px inset;
  transform: translateY(2px);
}

/*
  COMMON CLASSES
*/

.nobr {
  white-space: nowrap;
}

.noselect {
  -webkit-user-select: none;    /* Safari */
  -webkit-touch-callout: none;  /* iOS Safari */
  -khtml-user-select: none;     /* Konqueror HTML */
  -ms-user-select: none;        /* Internet Explorer/Edge */
  -moz-user-select: none;       /* Old versions of Firefox */
   user-select: none;           /* Non-prefixed version*/
}

.link:hover {
    cursor: pointer;
}

/* colors and gradients */

.red {
    background-image: linear-gradient(white, hsl(0,60%,43%));
}


.gray, .grey {
    background-image: linear-gradient(white, hsl(0,0%,50%));
}

.green {
    background-image: linear-gradient(white, hsl(143,42%,30%));
}
/*
  FOOTER
*/

footer {
  border:  solid 1px black;
  margin:  2rem 1rem .25rem 1rem;
  padding:  1rem 0;
  background: #FFFFFF50;
  font-weight: normal;
  text-align: center;
  font-size: 1.5rem;
  display: flex;
  vertical-align: middle;
}

footer>div:nth-child(2) {
  width: 20%;
}

footer>div:nth-child(2n+1) {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 40%;
}

footer img {
  height: 7.5rem;
}

footer .social img {
    height: 4rem;
  margin: 0;
  padding:  0;

}

footer .social p a {
  font-weight: bold!important;
  font-size: 2rem;
  margin: 0!important;
  padding:  0!important;
  height:  15px;
}
/*
old  FORM

button {
  grid-column: span 2;
	z-index: 1000;
  align-items: center;
  appearance: none;
  background-image: radial-gradient(100% 100% at 100% 0, var(--buttonstart) 0, var(--buttonend) 100%);
  border: solid black 0.15rem;
  border-radius: .5rem;
  box-shadow: var(--shadow4) 0 2px 4px,var(--shadow3) 0 7px 13px -3px, var(--boxshadow) 0 -3px 0 inset;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: monospace;
  height: auto;
  justify-content: center;
  overflow: hidden;
  padding: 1.5rem;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow .15s,transform .15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow,transform;
  font-size: 3rem;
}

button:active, button:hover {
  box-shadow:var(--shadow) 0 3px 7px inset;
  transform: translateY(2px);
}

form {
  border-radius: 0.75rem;
  border: solid 1px black;
  padding: 1rem 0.5rem;
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.25rem 1rem;
}

label {
  white-space: nowrap;
 justify-self: end;
  align-self: center;
}

input+label {
  justify-self: start;
}

input[type="checkbox"], input[type="radio"] {
  justify-self: end;
}

textarea, input, select {
  border-bottom: solid 1px black;
  border-right: solid 1px black;
}
input, select {
  align-self: center;
}

textarea, fieldset {
  grid-column: span 2;
}

fieldset {
  border: none;
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.25rem 1rem;
}

label.error {
  color: red;
  font-weight: bold;
}

label.required {
  font-weight: bold;
}

.error+textarea, .error+input, .error+select
{
  border: solid 2px red;
}

*/



/* FORMS STYLING */

label {
  text-transform: capitalize;
}


label:first-letter {
  text-transform: uppercase;
}



form {
    border-radius: 0.75rem;
    border: solid 1px black;
    padding: 1rem 0.5rem;
}

fieldset {
    display: grid;
  grid-template-columns: 50%  50%;
  grid-template-rows: auto;

}

label, select {
    white-space: nowrap;
  
}


input[type="checkbox"], input[type="radio"] {
}

textarea, button {
    width: 100%;
    grid-column: span 2;
}

textarea, input, select {
    border-bottom: solid 1px black;
    border-right: solid 1px black;
}


/*
button {
    grid-column: span 2;

    cursor: pointer;
    height: 3rem;
    text-transform: uppercase;
    border-radius: 0.25rem;
    font-size: 1.5rem;
    font-weight: bold;
}

*/

label.error {
    color:red;
    font-weight: bold;
}

label.required {
    font-weight: bold;
}
/*
  HEADER
*/
/*

header {
  height: 10rem;
  text-transform: uppercase;
  text-align: center;
}

header div {
  border: solid 1px blue;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-image:  url('/assets/png/plank_big.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
}


header div h1 {
  font-size:  5rem;
}


header div img {
  max-height: 10rem;
}

header nav ul {
}

header nav ul li {
  padding: 1rem 2rem;
  background-image:  url('/assets/png/plank1.png');
  background-repeat: no repeat;
  width: auto;
  display: inline-block;
}
*/



/*
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-=-=-=-=-=-=-=-=- HEADER =-=-=-=-=-=-=-=-=-
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
*/


header
header {
  margin: 0;
  padding: 0;
  width: 100%;
}

header div {
  margin: 0;
  padding: 0;
  background-image: url('/assets/png/navbar.png');
  background-size: 100% 100%;
  height: 11vh;
  display:flex;
  flex-direction: row;
  justify-content: space-around;

}

header div img {
  height: 10vh;
  padding: 0.5vh;
}

header div p {
  margin: 0;
  padding: 0.5vh 0;
  xposition: absolute;
  xleft: 50%;

  xtransform: translateX(-50%);
  text-align: center;
  text-transform: capitalize;
  font-family: "calvous spurs";
  font-size: 2.5vh;
  -webkit-text-stroke: 2pt rgba(75,25,25)!important;
}

.chain {
  width: 2vw;
  position: absolute;
  bottom: 90%;
  clip-path: inset(65% 0 0 0);
}

.top {
  position: absolute;
  top: 0;
}

.left {
  position: absolute;
  left: 5%;
}

.right {
  position: absolute;
  right: 5%;
}

nav ul {
  list-style-type: none;
  display: flex;
  align-items: stretch;
  flex-direction: row;
  justify-content: space-around;
}

nav a {
  -webkit-text-stroke: 1pt rgba(75,25,25)!important;
  display:block;
  transform: scaleY(2.5)!important;
}

nav ul li {
  white-space: nowrap;
  background-image: url('/assets/png/navbar_little.png');
  background-size: 100%  100%;

  text-transform: capitalize;
  font-family: "calvous spurs";
  font-size: 2vw;
  -webkit-text-stroke: 1pt white!important;
  font-weight: normal!important;
  padding: 2rem;
}

nav ul li:nth-of-type(1) {
  transform: rotate(2deg);
}

nav ul li:nth-of-type(2) {
  transform: rotate(-3deg);
  background-image: url('/assets/png/navbar_logo.png');
}

nav ul li:nth-of-type(3) {
  transform: rotate(4deg);
}

nav ul li:nth-of-type(4) {
  transform: rotate(6deg);
  background-image: url('/assets/png/navbar_logo.png');
}

nav ul li:nth-of-type(5) {
  transform: rotate(-4deg);
  background-image: url('/assets/png/navbar_logo.png');
}

/*
  MAIN
*/

main h1 {
  color: red;
  orphans: unset;
  text-transform: capitalize;
}

main h2 {
  color: black;
  orphans: unset;
  text-transform: capitalize;
}


main h1:first-letter {
  text-transform: uppercase;
}


main {
  widows: 2;
  orphans:  2;
  columns:  1;
  column-width: 500px;
  padding: 3rem 1.5rem;

  border-radius: 3rem;
  background: #FFFFFFDD;
  background-image: url('/assets/svg/flyingcards.svg');
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  background-position: center 50%;

  margin: 0rem 1rem 2rem 1rem;
  border: solid 1px black;
}



:root {
  --buttonstart: #5BB011;
  --buttonend: #427813;
  --shadow4: rgba(53, 91, 19, .4);
  --shadow3: rgba(53, 91, 19, .3);
  --boxshadow: rgba(58, 65, 111, .5);
  --shadow: #355B13;
}

a {
  color: black;
  text-decoration: none;
  font-weight:normal;
  outline:none;
}

a, a:hover, a:visited, a:active {
  color: inherit;
  text-decoration: none;
 }

body {
  margin : 0;
  font-size:  200%;
  font-family: "San Francisco", Arial, Helvetica, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background-image: linear-gradient(to bottom, rgba(255,255,255,1)  0, 40%, rgba(3,94,67,0) 100%), url('/assets/svg/flyingcards_horizontal.svg'), linear-gradient(to bottom, rgba(255,255,255,1)  0, 36%, rgba(3,94,67,0) 100%), url('/assets/svg/background.svg');
  background-color: #035E43;
  background-size: auto,  100% auto, auto, 300px auto;
  background-repeat: no-repeat, no-repeat, repeat-x, repeat;  
}

:root {
  --buttonstart: #5BB011;
  --buttonend: #427813;
  --shadow4: rgba(53, 91, 19, .4);
  --shadow3: rgba(53, 91, 19, .3);
  --boxshadow: rgba(58, 65, 111, .5);
  --shadow: #355B13;
}.row_score .circle {
    display: flex;
    justify-content: center;
    align-items: center;



    height: 120px;
    width:  120px;

    background-color: gold;
    border: solid 5px black;
    border-radius: 50%;
    font-family: "calvous spurs";
    font-size: 2.5rem;

    transform: translateX(-50%);
}

.row_score .player {
    display: flex;
    justify-content: flex-start;
    align-items: center;

    flex-basis:  50%;

    border-bottom: solid 5px black;
    border-top: solid 5px black;

    text-transform: capitalize;
    font-family: "calvous spurs";
    font-size: 2rem;

    padding-left: 100px;
    min-height: 120px;
}

.row_score img {
    transform: translateX(50%);
}

.row_score {
    margin-top: 60px;
    border:  solid 1px red;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0px;

    width: 100%;
    height: 120px;
}

/*
  TABS
*/

ul.tabs {
    margin: 0;
    list-style-type: none;
}

ul.tabs li:first-letter {
    text-transform: uppercase;
}

ul.tabs li {
    padding: .75rem 1.5rem;
    display: inline-block;

    user-select: none;

    border-radius: 0.75rem 0.75rem 0 0;
    border-top: 1px solid black;
    border-left: 1px solid black;
    border-right: 1px solid black;

    font-size: 3rem;
    text-transform: lowercase;

    background-image: linear-gradient(white, hsl(0,0%,55%));
}

ul.tabs li.selected {
    background: white;
    border-bottom: none;
    position: relative;
    top: 0.25rem;
}
/*
    FONTS
*/

@font-face {
  font-family: 'Adventure';
  src: url('/_layout/fonts/Adventure.woff2') format('woff2'), url('/_layout/fonts/Adventure.woff') format('woff');
}

      
@font-face {
  font-family: 'calvous spurs';
  src: url('/_layout/fonts/calvous spurs.woff2') format('woff2'), url('/_layout/fonts/calvous spurs.woff') format('woff');
}

      
@font-face {
  font-family: 'woodcut';
  src: url('/_layout/fonts/woodcut.woff2') format('woff2'), url('/_layout/fonts/woodcut.woff') format('woff');
}

      
@font-face {
  font-family: "San Francisco";
  font-weight: 400;
  src: url("https://applesocial.s3.amazonaws.com/assets/styles/fonts/sanfrancisco/sanfranciscodisplay-regular-webfont.woff");
}


