@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,400;0,700;1,300&display=swap');
:root {
    --background: #232946;
    --secondary:#fffffe;
    --section:#b8c1ec;
    --card-background:#eebbc3;
    --card-stroke:#121629;
    --title:#fffffe;
    --paragraph:#b8c1ec;
    --button:#eebbc3;
    --button-text:#232946;
  }
*{
    box-sizing: border-box;
}
body{
    font-family: 'Josefin Sans', sans-serif;
    background: var(--background);
    overflow-x: hidden;
}
div#app{
    padding: 1rem 0rem;
}

h1{
    color: var(--title);
    font-size: 3rem;
    text-align: center;
    font-weight: 700;
    margin: 0;
    text-align: center;
}
input,select, button{
    display: block;
    margin-bottom: 1rem;
}
input,select,button{
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.5rem;
    outline: none;
    border: 1.5px solid black;
}
button{
    width: 70%;
    background: var(--button);
    color: var(--button-text);
    margin: auto;
}
button.add{
    width: 30%;
    margin: 1.5rem auto;
}
button:hover{
    filter: brightness(1.5);
}

div.selection{
    width: 50%;
    border: var(--card-stroke) 1px solid;
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: var(--secondary);
}
div.selection-overlay{
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    z-index: 10;
    align-items: center;
    background-color: rgba(42, 42, 43, 0.85);
    justify-content: center;
}
svg{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 300px;
}
div.shapes{
    display: flex;
    position: relative;
    align-items: center;
    overflow-x: hidden;
    border: var(--card-stroke) 1.7px solid;
    padding: 1rem 1.7rem;
}
span{
    color: red;
}
div.loader{
    position: absolute;
    width: 90%;
    left: 0;
    right: 0;
    margin: auto;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}
div.input-container{
    width: 95%;
    margin: auto;
    border: var(--card-stroke) 1.5px solid;
}
div.input{
   padding: 0rem 0.6rem;
   display: flex;
   height: 45px;
   align-items: center;
   border: var(--card-stroke) 1px solid;
}
div.input label{
    width: 35%;
    margin-right: 2%;
    color: var(--button-text);
}
div.input input{
    width: 63%;
    transform: translateY(6px);
}
div.shape{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius:1rem;
    width: 300px;
    height: 450px;
    position: relative;
    transition: all ease 1.2s;
    margin-right: 10px;
    border: 1.5px solid  var(--card-stroke);
    background:var(--card-background);   
}

div.chevron{
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    margin: auto;
    box-sizing: border-box;
    z-index: 5;
    display: flex;
    justify-content: space-between;
}
i.slide{
    font-size: 4rem;
    color: var(--secondary);
    cursor: pointer;
    transition: all ease 0.3s;
}
i.slide:hover{
    transform: scale(1.2);   
}
div.delete{
     display: flex;
     justify-content: flex-end;
     width: 100%;
     padding: 0.3rem 0.6rem;
     position: absolute;
}
i.delete{
    cursor: pointer;
}
i.delete:hover{
    transform: scale(1.2);
    color: red;
}

.draw{
   animation: draw 1.5s ease-in-out forwards;
}
@keyframes draw{
    to{
        stroke-dashoffset: 0;
    }
}

@media only screen and (max-width: 720px) {
    div.selection{
        width: 70%;
    }
  }
