@font-face {
    font-family: Russo;
    src: url(RussoOne.ttf);
}

@font-face {
    font-family: Pics;
    src: url(modernpics.ttf);
}

p {
    color: lightblue;
    font-size: 6vh;
    /*font-family: "Arial", Arial, serif;*/
    font-family: Russo;
    font-weight: bold;
    padding: 0;
    margin: 0;
}

a:visited {
    color: gray;
}

a:link {
    color: gray;
}

a:hover {
    color: lightgray;
}



canvas {
    margin: 0;
    z-index: 5;
}

body {
    margin: 0;
    height: 100vh;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(45deg, #030303, #214474);
    
    
    /*display: flex;
    justify-content: center;
    align-items: center;*/
    
}

/*--------------------------------------------------------------*/
footer {
    position: fixed;
    bottom: 0%;
    width: 100%;
    height: 4vh;
    background-color: transparent;
    text-align: center;
}

footer a {
    display: inline-block;
    margin: 0.2vw;
    /* margin-right: 50px; */
    font-family: Russo;
    font-size: 1.5vh;
}

/*--------------------------------------------------------------*/
.calculator {
    margin: auto;
    height: 70vh;
    width: 90vw;
    max-width: 50vh;
    border: 0.5vh solid cornflowerblue;
    padding: 1vh;
    border-radius: 10%;
    background-color: transparent;
    box-shadow: 0vh 1vh 5vh rgba(100,100,100,0.9);
}

.horizontal-div {
    align-items: center; 
    justify-content: center; 
    display:flex;
}

.calculator button {
    border: none;
    border-radius: 50%;
    width: 7.5vh;
    height: 7.5vh;
    background-color: transparent;

    /*
    width: 8vh;
    height: 7vh;
    margin: 1.5vh 0.1vh;
    
    
    background-color: transparent;
    box-shadow: -0.5vh -0.5vh 1vh rgba(100,100,100,0.5);
    
    font-family: Russo;
    font-size: 3.5vh;
    color: lightgray;*/
}

.calculator button:hover {
    background-color: rgba(150, 150, 0, 0.6);
}


.operator {
    margin: 1vh 0.1vh;
    font-family: Pics; 
    font-size: 6vh; 
    color: lightblue;
    box-shadow: -0.5vh -0.5vh 1vh rgba(100,100,100,0.5);
}

.digit {
    
    margin: 1vh 0.1vh;
    font-family: Russo;
    font-size: 4vh;
    color: cornflowerblue;
    box-shadow: -0.5vh -0.5vh 1vh rgba(100,100,100,0.5);
}

.special {
    margin: 1vh 0.1vh;
    font-family: Russo;
    font-size: 4vh;
    color: lightblue;
    box-shadow: -0.5vh -0.5vh 1vh rgba(100,100,100,0.5);
}

.rotated-special {
    margin: 0.1vh 0.1vh;
    font-family: Russo;
    font-size: 4vh;
    color: lightblue;
    transform: rotate(90deg); 
    padding-left: 3vh; 
    box-shadow: -0.5vh 0.5vh 1vh rgba(100,100,100,0.5);
}

.confirm {
    margin: 1.5vh 0.1vh;
    font-family: Pics; 
    font-size: 6vh; 
    color: black; 
    /*background-color: rgba(0,200,0,0.5); */
    background: radial-gradient(circle, orange, orange, #030303);
    box-shadow: -0.5vh -0.5vh 0.5vh rgba(200,200,100,0.3);
}

.result-box {
    align-items: center; 
    justify-content: center; 
    display:flex; 
    height: 12vh; 
    border: 0.5vh solid lightblue; 
    border-radius: 20%;
    box-shadow: 0vh 1vh 1vh rgba(100,100,100,0.9);
}

.result-box p {
    color: lightblue;
}

.result-box .frac p {
    color: lightblue;
}

.result-box .frac > span {
    color: lightblue;
}

.result-box .frac span.bottom {
    border-top: 0.5vh solid lightblue;
}



/*--------------------------------------------------------------*/
/*--------------------------------------------------------------*/

.selector {
    position: relativ;
    display: flex;
    color: #214474;
    font-size: 2.5vh;
    font-weight: bold;
    /*font-family: "Arial", Arial, serif;*/
    font-family: Russo;
    background-color: gray;
    box-shadow: -0.5vh -0.5vh 1vh rgba(100,100,100,0.7);
    height: 4vh;
    
}
/*--------------------------------------------------------------*/

.frac {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    letter-spacing: 0.001em;
    text-align: center;
}

.frac > span {
    display: block;
    padding: 0.1em;
    /*
    color: lightgray;
    font-family: Russo;
    font-size: 4vh;*/
}
.frac span.bottom {
    border-top: 0.5vh solid lightblue;
}
.frac span.symbol {
    display: none;
} 

.frac p {
    color: lightblue;
    font-family: Russo;
    font-size: 4vh;
}

.frac div {
    align-items: center; 
    justify-content: center; 
    display:flex;
}

/*--------------------------------------------------------------*/

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Button */
.dropbtn {
    text-decoration: None;
    color: gray;
    /* padding: 0px 1vw; */
    /*font-family: "Arial", Arial, serif;*/
    font-family: Russo;
    font-weight: bold;
    font-size: 2.5vh;
    border: none;
    border-radius: 10%;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    /* background-color: #5dbae8; */
    background-color: transparent;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: orange;
  border-radius: 5%;
  min-width: 10vw;
  z-index: 10;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-family: Russo;
    font-weight: bold;
    font-size: 1.5vh;
    text-align: left;
    min-width: 25vw;
    border-radius: 10%;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: yellow}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block}

/* Change the background color of the dropdown button when the dropdown content is shown*/
.dropdown:hover .dropbtn {background-color: orange;}
.dropbtn:hover {background-color: orange;}

.dropbtn a.active{
   text-decoration: underline;
   color: blue;
}
/*--------------------------------------------------------------*/
.row-container {
  position: relative;
  display: flex;
  margin: auto;
  height: 5vh;
  width: 90vw;
  max-width: 50vh;  
  /* background-color:  #5dbae8; */

  align-items: center;
  
}

.column-container {
  flex: 25%;
  margin: auto;
  max-width: 20vw; 
  /* min-width: 15vh; */
}

/*--------------------------------------------------------------*/

