*, *::after, *::before{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img{
    max-width: 100%;
}

body{
    font-family: 'Courier New', Courier, monospace;
}

button{
    font-family: inherit;
}

/* Container */
.container{
    margin: 10vh auto;
    max-width: 700px;
    border: 1px solid gray;

    padding: 2rem 3rem 4rem;

    display: flex;
    flex-direction: column;
    gap: 2rem;
}
label{
    display: block;
}

canvas{
    background-color: lightblue;
}
button{
    background-color: lightblue;
    outline: none;
    border: none;
    padding: 2px 10px;
}
button:hover{
    background-color: lightcoral;
}
button:active{
    background-color: lightgreen;
}

input{
    font-family: inherit;
    outline: none;
    border: 1px solid lightblue;
    padding: 3px;
}
input[type="text"]{
    width: 200px;
}

/* Segments */
.segment{
    position: relative;
    border: 1px solid gray;
    border-top: none;
    padding: 1rem;
    input{
        margin-bottom: 10px;
    }
}
.segment:first-of-type{
    border: 1px solid gray;
}

.delete{
    position: absolute;
    top: 0;
    right: 0;
}

