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

* 
{
    margin: 0; 
    padding: 0;
}
html {cursor: crosshair;}
body
{
	display: flex;
	justify-content: center;
    align-items: center;
    background-color: rgb(207, 207, 216);
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}
#content-wrapper 
{
    display: flex;
    gap: 40px;
}
canvas
{
    background: white;
    border-radius: 24px;

    -webkit-box-shadow: 0px 0px 32px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 32px 0px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 32px 0px rgba(0,0,0,0.2);
}

#ui
{
    position: absolute;
}

#logo
{
    position: absolute;
    max-width: 240px;
    top: 12%;
    left: 12%;
}

p 
{
    color: white;
    font-family: 'Inter', sans-serif;
}

#paragraph 
{
    position: absolute;
    top: calc(12% + 45px);
    left: 12%;
    font-size: 40px;
    font-weight: 200;
}

#newYear
{
    font-size: 23vw;
    position: absolute;
    max-width: 32vw;
    height: 80vh;
    right: calc(10% + 42px);
    bottom: calc(10% + 2px);
    font-weight: 500;
    word-break: break-all;
    align-items: flex-end;
    display: flex;
    text-align: end;
    line-height: 72%;
    letter-spacing: -1.5vw;
    user-select: none;
    overflow: hidden;
}

#buttons-container :hover
{
    background: aquamarine;  
}
#buttons-container :active
{
    background: rgb(213, 255, 241);
    box-shadow :none;
}

.button-icon {
  background: #ffffff;
  border-radius: 160px;
  padding: 8px;
  display: flex;
  flex-direction: row;
  gap: 0px;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  margin-bottom: 12px;
  border: none;
  cursor: pointer;
}

.download, .ink-eraser{
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  position: relative;
  overflow: visible;
}

@media screen and (max-width: 1024px)
{
    html {overflow: hidden;}
    #canvas-container {height: 100vh;}
    canvas{border-radius: 0;}
    #buttons-container
    {
        position: absolute;
        right: 24px;
        top: 24px;
    }

    #logo
    {
        max-width: 180px;
        top: 24px;
        left: 24px;
    }

    #paragraph 
    {
        top: 56px;
        left: 24px;
        font-size: 32px;
        max-width: calc(100% - 100px);
        font-weight: 200;
    }
    
    #customCursor {display: none;}

    #newYear
    {
        font-size: 48vw;
        max-width: 60vw;
        height: 100vh;
        right: 0;
        bottom: 0;
        letter-spacing: -3.4vw;
    }
}