@import url("https://fonts.googleapis.com/css2?family=Space+Mono&display=swap");

:root{
  --color-primary: #C5E4E7;
  --color-primary-dark: #00474B;
  --color-primary-light: #fff;

  --primary-font-family: Space Mono, monospace;
  --primary-font-color: #36585A;

  --button-color: #1EAE98;
  --button-reset-color: #dadada;
  

  --box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  --inner-shadow: inset 0px 4px 4px rgba(0, 0, 0, 0.25);
  --inner-input-shadow: inset 0px 1px 8px rgba(0, 0, 0, 0.25);

  --border-radius: 15px;

}



* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: var(--primary-font-family);
}


header {
  background-color: var(--color-primary);

  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;

  flex-direction: column;
}

h1 {
    
  font-size: 4rem;
  letter-spacing: 0.5rem;
  text-shadow: var(--inner-shadow);
  
  color: var(--primary-font-color);

  margin-bottom: 1.5rem;
}



.header-container {
  background-color: var(--color-primary-light);

  display: flex;
  justify-content: space-between;
  align-items: center;

  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);

}


section {
  min-height: 45rem;
  min-width: 40rem;
  background-color: #fff;
  margin: 1rem;

  box-shadow: var(--inner-shadow);
  border-radius: var(--border-radius);
  
}

section div{
  padding: 2rem;
  
}


p{
  color: var(--primary-font-color);
  font-size: 1.8rem;

}

section p{  
  margin-bottom: .7rem;
  margin-left: .2rem;
  
}

section input {
  width: 100%;
  height: 4rem;
  padding: 1rem;
  border-radius: 10px;

  
  border: 1.5px solid var(--color-primary-dark);
  border-radius: 10px;
  box-shadow: var(--inner-input-shadow);
}

button:hover{
  transform: translateY(-1px);
}

button:active {
  transform: translateY(.5px);

}

section button {
  margin-top: 2.5rem;
  margin-right: 1.5rem;

  height: 3.5rem;
  width: 7rem;
  
  border-style: none;

  border-radius: var(--border-radius);
  background-color: var(--button-color);
  

  color: white;
  font-weight: 600;
}

.reset{
  background-color: white;
  border: 1px solid hsla(7, 90%, 62%, 0.644);
  color:hsla(7, 90%, 62%, 0.644);

}


.section-right {
  background-color: var(--color-primary-dark);
  padding: 2rem;
}

.section-right-valuebox {
 
  color: #fff;
  float: right;
  margin: 3rem 0;

}

.section-right-valuebox p {
  color: rgba(255, 255, 255, 0.685);
  font-size: 1.2rem;
}

.section-right-valuebox h2 {
  font-size: 2.5rem;
}

table , th , td {
  
  margin: 3rem 1.4rem 1.4rem 1.4rem;
  
  border: 1px solid rgba(255, 255, 255, 0.267);

  text-align: center;
}

th, td {
  
  font-size: 1.4rem;
  color: #fff;
  padding: .4rem;
  
}

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

@media screen and (max-width: 900px) {
  html{
    font-size: 52.5%;
  }
  
}

@media screen and (max-width: 740px) {
  
  .header-container {
    flex-direction: column;
    ;
  }

  .section-left{
    min-height: 3.5rem;
  }

  button {
     padding-left: 1rem;
     padding-right: 1.1rem;
  }  
}
















