@font-face {
    font-family: 'josef';
    src: url(JosefinSans-VariableFont_wght.ttf);
}

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

body {
    background-color: #f1f1f1;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 20px;
    height: 100vh;
    font-family: 'josef';
}

.container {
    width: 60%;
}

path {
    position: relative;
    transition: 250ms;
}

.detail {
    background-color: #fff;
    width: 30%;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 30px 40px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    gap: 25px;
    transition: 1000ms ease-out;
    height: 0%;
    overflow: hidden;
}

.detail * {
    width: 100%;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}