@font-face{
    font-family: Daydream;
    src: url("../fonts/Daydream.ttf");
}

/*Start of code from https://www.youtube.com/watch?v=b8nQQ9yuvGM&list=PLFoezrhIhRD5-IaBmSjIWw24qQ0d2bi_M&index=2*/
body{
    background-color: #ffe1a8;
    text-align: center;
    margin-top: 50px;
    margin: 0;
    padding: 0; 
  /*End of code from https://www.youtube.com/watch?v=b8nQQ9yuvGM&list=PLFoezrhIhRD5-IaBmSjIWw24qQ0d2bi_M&index=2*/
    user-select: none;
}

.main{
  user-select: none;
}
h1{
    font-size: 4rem;
    color: #744116;
      font-family: 'Daydream';
}

p{
    font-size: 1.4rem;
     color: #744116;
  font-family: "Silkscreen", sans-serif;
}

.right{
    position: absolute;
    right: 90px; 
    top: 180px;
}

.left{
    position: absolute;
    left: 90px; 
    top: 380px;
}



#basic-cookie{
    width: 26vmax;
    height: 26vmax;
      background-color: #ffc797;
    border-radius: 50%;
    border-color: #744116;
    border-style: solid;
    border-width: 10px;
    display: inline-block;
    transition: transform 0.1s, box-shadow 0.1s;
    position: relative;
    box-shadow: 4px 10px rgba(0, 0, 0, 0.2);
}

#choco-cookie{
     width: 26vmax;
    height: 26vmax;
      background-color: #d46b28;
    border-radius: 50%;
    border-color: #4c2e1f;
    border-style: solid;
    border-width: 10px;
    display: inline-block;
    transition: transform 0.1s, box-shadow 0.1s;
    position: relative;
    box-shadow: 4px 10px rgba(0, 0, 0, 0.2);
}

#sugar-cookie{
    display: inline-block;
     width: 26vmax;
    height: 26vmax;
      background-color: #fcc082;
    border-radius: 50%;
    border-color: #c97b60;
    border-style: solid;
    border-width: 10px;
    transition: transform 0.1s, box-shadow 0.1s;
    position: relative;
    box-shadow: 4px 10px rgba(0, 0, 0, 0.2);
}

.frosting{
    position: relative;
     width: 22vmax;
    height: 22vmax;
    top: 25px;
    left: 25px;
     background-color: #f49ac1;
      border-radius: 50%;
     border: 8px solid #cc548d; 
  transition: opacity 0.3s ease-in-out;
    z-index: 10;
}

.chocolate-chip {
  width: 3vmax;
  height: 3vmax;
  background-color: #4b2e1f; 
  border-radius: 50%;
  position: absolute;
  opacity: 0; 
  transition: opacity 0.3s ease-in-out;
}

#choco-cookie .chocolate-chip {
  opacity: 1; 
}

#basic-cookie .chocolate-chip {
  opacity: 0; 
}

#sugar-cookie:active{
    transform: scale(0.8);
    cursor: pointer;
}


#basic-cookie:active{
    transform: scale(0.8);
    cursor: pointer;
}

#choco-cookie:active{
    transform: scale(0.8);
    cursor: pointer;
}

.background-lines{
 position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
  hr {
   position: absolute;
   width: 100%;
   border: none;
   height: 1.5vh;
   background: #f9d489;    
}

/*Start of code from https://www.youtube.com/watch?v=b8nQQ9yuvGM&list=PLFoezrhIhRD5-IaBmSjIWw24qQ0d2bi_M&index=2*/
.upgrade{   
  width: 9vw;
  min-height: 5vh;
    background-color: #fff9db;
   padding: 12px;
    border: 4px solid #744116;
    border-radius: 7px;
    margin-bottom: 30px;
}
/*End of code from https://www.youtube.com/watch?v=b8nQQ9yuvGM&list=PLFoezrhIhRD5-IaBmSjIWw24qQ0d2bi_M&index=2*/

.upgrade:active{
    transform: scale(0.8);
    cursor: pointer;
}

.chocochipimage{
    width: 5vmax;
}

.sugarimage{
     width: 7vmax;
}

.cardmiddle{
       font-size: 0.8rem;
     color: #4b2a0e;
   font-family: "Silkscreen", sans-serif;
}

.cardbottom{
    font-size: 0.8rem;
     color: #744116;
     font-family: "Silkscreen", sans-serif;
}

#timer{
     width: 13vw;
  min-height: 5vh;
    background-color: #fff9db;
   padding: 12px;
    border: 4px solid #744116;
    border-radius: 7px;
    margin-bottom: 30px;
    font-size: 1.9rem;
    font-family: "Silkscreen", sans-serif;
}

#bottomtext{
  width: 9vw;
  height: 9vh;
    background-color: #fff9db;
   padding: 12px;
    border: 4px solid #744116;
    border-radius: 7px;
    margin-bottom: 30px;
 font-size: 0.8rem;
}

