@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&display=swap');

* {
    font-family: 'Oswald', sans-serif;;
}
:root {

    --background: rgb(65, 65, 65) ;
    --bg-nav-wallet: hsla(0, 0%, 100%, 0.3);
    --btn-hover: rgba(10, 129, 255, 0.621);
    --btn-clr1: rgba(30, 127, 183, 0.85);
    --txt-color: #fff ;
    --btn-txtclr1: #fff;
    --border-clr: #fff;
    --link-hover: rgb(245, 242, 41) ;
    --bg-btn1: rgba(192, 187, 34, 0.704);
    --nav-color: rgba(38, 34, 6, 0.5); 
    --bg-hero: rgba(138, 138, 138, 0.4);
    --btn-glow-top:hsl(290, 84%, 55%); /* Color for button top shadow/glow */
    --btn-glow-btm: hsl(182, 65%, 55%); /* Color for button bottom shadow/glow */
    --btn-brdr: hsl(0, 0%, 100%) ;
    --btn-wc-clr: rgba(31, 56, 100, 0.80);
    --transparent-clr: rgba(0, 0, 0, 0);
    --brdr-color: hsl(0, 0%, 100%);
    --bf-box-bgcolor: rgba(36, 53, 71, 0.68);
    --div-mainbg-clr: hsl(224, 35%, 12%);
    --clr-focus: rgb(46, 139, 239) ;
    --purple-accnt: hsl(290, 68%, 37%);
    --teal-accnt: hsl(182, 81%, 29%);
    --clr-main-link: hsl(0, 0%, 100%);
    --clr-header: #fff;
    --nav-txt-clr: #fff; 
    --std-box-shdw: 0px 5px 6px 0px rgba(0,0,0,0.75);
    --footer-in-padding: 1rem .5rem; /* Controls footer inner padding */
    --bg-footer: rgba(65, 65, 65,0.9);
}

::placeholder {
    color: #fff;
    opacity: 1; /* Firefox */
  }
:focus {
  outline: .2rem solid var(--clr-focus);
}

body {
    margin: 0 0 ;
    background: var(--background);
    color: var(--txt-color);
    font-size: 1.1rem;
}
main {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
a {
    color: var(--clr-main-link);
    text-decoration: none;
    font-size: 1.1rem;
    font-family: Thicccboi, sans-serif;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
a:hover,a:focus {
    color: var(--link-hover);
    text-decoration: none;
    outline: 0 none;
}


h1,
h2,
h3,
h4,
h5,
h6 {
color: var(--clr-header);
font-family: "Open Sans", sans-serif;
margin: 0;
line-height: 1.3;
}

p {
margin-bottom: 1.2rem;
}
p:last-child {
margin-bottom: 0;
}
/* Background Video */
.EthosVid {
    margin: 0 0; 
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    border: 0;
    z-index: -1;
    filter: brightness(0.75);

}
@media (min-aspect-ratio: 16/9) {
    .EthosVid {
        width: 100%;
        height: auto;

    }
}

@media (max-aspect-ratio: 16/9) {
    .EthosVid {
        width: auto;
        height: 100%;

    }
}

/* End of video controls */


/* NAVIGATION CONTROLS */
nav {
    width: 100%;
    height: 3.4rem;
    background-color: var(--nav-color);
    box-shadow: var(--std-box-shdw);
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-inner {
    width: 80%;
    height: auto;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    height: auto;
    min-height: 100%;
    display: flex;
    align-items: center;
}
.nav-logo img {
    width: 12rem;
    height: auto;
}

.nav-links {
    height: auto;
    min-height: 100%;
    display: flex;
    align-items: center;
}
/* End of Navigation Properties */

/* Wallet Nav Section */
.em-wallet {
    padding: .1rem .2rem;
    height: auto;
    min-height: 98%;
    width: auto;
    min-width: 10rem;
    background: var(--bg-nav-wallet);
    border-radius: 2rem;
    display: flex;
    align-items: center;
}
.em-wallet img {
    width: 1.5rem;
}
.em-wallet input {
    margin: 0 .5rem;
    padding: 0 .5rem;
    color: #fff;
    background: var(--transparent-clr);
    border: none;
    overflow: hidden;
}


/* Login Page styles */

.Ethos-login {
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.em-loginbox {
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 2rem 1rem;
    height: auto;
    min-height: 10rem;
    width: 80%;
    max-width: 30rem;
    min-width: 18rem;
    background: var(--bg-hero);
    backdrop-filter: blur(0.3rem);
    border-radius: 1rem;
    box-shadow: var(--std-box-shdw);

}
.em-loginlogo {
    margin: .5rem 0;
    width: 5rem;
    height: auto;
}
.em-btnsect {
    margin: 1rem 0 ;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

.btn-wc {
    color: #fff;
    padding: .5rem 1rem;
    font-size: 1.1rem;
    border: .2rem solid var(--brdr-color);
    border-radius: .5rem;
    background: var(--bg-btn1);
    box-shadow: var(--std-box-shdw);
}

.btn-wc:hover {
    background: var(--btn-hover);
}


/* General Use Classes */

.ethos-main {
    margin: 0 0;
    padding: 2rem 1rem;
    display: flex;
    width: 80%;
    height: auto;
    min-height: 100vh;
}
.em-warn1 {
    font-size: .9rem;
    font-weight: 600;
    text-align: center;
}

/* Hero Box Controls */
.ethosHeroText {
    position: absolute;
    top: 15rem;
    left: 10rem;
    padding: 2rem 1rem;
    width: auto;
    max-width: 28rem;
    height: auto;
    max-height: 15rem;
    background: var(--bg-hero);
    backdrop-filter: blur(0.2rem);
    border-radius: 1rem;
    box-shadow: var(--std-box-shdw);
}
.ethosHeroExp {
    margin: 0 0;
    padding: 0 1rem;
}
.heroBtnSect {
    margin: 1rem 1rem;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
}
.heroBtn {
    padding: .5rem 1.5rem;
    max-width: 8rem;
    font-size: 1.2rem;
    font-weight: 600;
    background: var(--bg-btn1);
    color: #fff;
    border-radius: .5rem;
    border: .2rem solid var(--btn-brdr);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--std-box-shdw);
}

.heroBtn:hover {
    background: rgba(10, 129, 255, 0.621);
}
/* Hero Box End */


/* CHARACTER SELECT PROPERTIES */
.Ethos-RacingSect1 {
    padding: 2rem 1rem;
    width: 80%;
    height: auto;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}




.blurred-bg-wrapper {
  padding: 2rem;
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-hero);
  backdrop-filter: blur(.4rem);
}

.blurred-bg-wrapper, .Ethos-login {
  min-height: calc(100vh - 300px);
}
/* Race Selection Screen Properties */
.em-race-ctrl {
    display: flex;
    position: relative;
    left: 0;
    width: 100%;
}
.em-race-select {
    padding: 2rem 0 0 0;
    width: 100%;
    min-height: 125vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-hero);
    backdrop-filter: blur(.4rem);
}
.em-racesel-hdr {
    width: 100%;
    display: flex;
    justify-content: center;
}
.em-racesel-hdr h1 {
    text-align: center;
}
.em-racesel-sect{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.em-racesel-main {
    width: 80%;
    min-width: 25rem;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

}

.em-dr-raceinfo {
    flex-basis: 15rem;
    margin: .5rem .5rem;
    position: relative;
    padding: 1rem 1rem;
    width: 12rem;
    min-width: 14rem;
    height: auto;
    min-height: 9rem;
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1)), url(../images/doge_racebg2.png);
    background-position: center;
    background-size: cover;
    border-radius: 1rem;
    box-shadow: var(--std-box-shdw);
}

.em-dr-raceinfo.user-joined {
    border: 1px solid #56ff00;
}

.em-dr-enterRace {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
}


/* Enter-Race Button Controls */ 
.dr-btn1 {
    padding: .25rem .5rem;
    font-size: .9rem;
    color: var(--btn-txtclr1);
    background-color: var(--btn-clr1);
    border: .15rem solid #fff;
    border-radius: .25rem;
}
.dr-btn1:hover:not([disabled]) {
    background-color: rgb(28, 169, 215);
    box-shadow: 0px 4px 5px rgb(21, 158, 170);
    transform: scale(1.1);
}
.dr-btn1:disabled {
  background-color: #565656;
}

.dr-btn2 {
    margin-top: 2rem;
    padding: .5rem 1.2rem;
    font-size: 1.2rem;
    background-color: var(--btn-clr1);
    color: var(--btn-txtclr1);
    border: .15rem solid var(--brdr-color);
    border-radius: .25rem;
    box-shadow: var(--std-box-shdw);
}
.dr-btn2:hover {
    transform: scale(1.1);
}


/* Character Selection Controls */
.em-dr-charcont {
    display: none;
    width: 100%;
    height: auto;
    min-height: 100vh;
    background: var(--bg-hero);
    backdrop-filter: blur(.2rem);
}
.em-dr-char-main {
    padding: 2rem 1rem;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dr-charselhdr {
    margin: 0 0 4rem 0;
    font-weight: 700;
    font-size: 3rem;
    text-shadow: 2px 1px 8px #000000;
}
.dr-charsel {
    width: auto;
    max-width: 20rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* This below controls the size of your NFT Character */
.dr-charselect {
    width:20rem; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    flex-direction: column;
}
.dr-charselect img {
    width: auto;
    max-width: 300px;
}

.em-dr-racedetails {
    display: none;
    width: 100%;
    height: auto;
    min-height: 100vh;
    background: var(--bg-hero);
    backdrop-filter: blur(.2rem);
}

.dr-racedetailshdr {
    margin: 0 0 4rem 0;
    font-weight: 700;
    font-size: 3rem;
    text-shadow: 2px 1px 8px #000000;
}

.em-dr-carbtn {
    position: absolute;
    top: 50%;
    z-index: 2;
    margin: 0 0;
    padding: 0 0;
    background-color: transparent;
    border: none;
    transform: translateY(-50%);
    cursor: pointer;
}

.em-dr-carbtn:hover, .em-dr-carbtn:focus {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
}

@media screen and (max-width:825px) {
    .ethosHeroText {
        position: unset;
        height: auto;
        min-height: 10rem;

    }
}
@media screen and (max-width: 650px) {

    .em-wallet {
        display: none;
    }

}
@media screen and (max-width: 500px) {
    .ethosHeroText {
        max-height: 22rem;
    }
}

@media screen and (max-width: 330px) {
    .ethosHeroText {
        max-height: 30rem;
    }
}
/*Footer Properties */

footer {
    width: 100%;
    height: auto;
    min-height: 25vh;
    background: var(--bg-footer);
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.footer-inner {
    width: 80%;
    height: auto;
    min-height: 15rem;
    display: flex;
    flex-wrap: wrap;
}
.footer-logosect {
    padding: var(--footer-in-padding);
    width: 33%;
    min-width: 12rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.footer-logo-cont {
    display: flex;
    justify-content: center;
    width: 100%;
    height: auto;
}
.footer-logosect img {
    width: 8rem;
    height: auto;
}
.footer-sect1 {
    padding: var(--footer-in-padding);
    width: 33%;
    height: 100%;
}
.footer-sect2 {
    padding: var(--footer-in-padding);
    width: 33%;
    min-width: 15rem;
    height: 100%;
}

.ftr-navlink {
    padding: .25rem 0;
    width: 100%;
    font-weight: 600;
    font-size: 1rem;
}

.ftr-navlink a {
    font-size: .8rem;
    font-weight: 600;
}
.ftr-navlink a:hover {
    font-size: .8rem;
    font-weight: 600;
    color: rgb(255, 234, 42);
    text-decoration: underline;
}
.footer-copy,.footer-copy a {
    padding: 1rem 0;
    font-size: .8rem;
}

.footer-copy a:hover {
    text-decoration: underline;
}

.connectedWallet {
  padding: 0 10px;
}

.doge-wrapper {
  max-height: 100vh;
  overflow-y: auto;
}

.doge-card {
  text-align: center;
  margin: 15px 5px;
  background: rgba(62,62,62,0.38);
  padding: 15px 12px;
}

.doge-card img {
  width: 100%;
  margin: 10px 0;
}

.trait {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: auto;
  width: 150px;
  max-width: 100%;
}

.trait span {
  display: flex;
}

.color-green {
  color: #3cff3c;
}

.color-red {
  color: #ff9595;
}

.color-yellow {
  color: #f2f256;
}

#infoModal .modal-content {
  background-color: rgba(72,72,72,0.85);
}

#infoModal .close {
  color: white;
  font-size: 30px;
  line-height: 0;
}

.user-doge {
  border: 1px solid #36cf36;
}