.modalHeader { background-color: var(--orange); display: flex; align-items: center; justify-content: center; padding-bottom: 4.5rem; padding-top: 0.5rem; h4 { flex-grow: 1; padding-left: 4rem; color: white; font-size: 1.5rem; text-align: center; font-weight: 500; } button { margin-left: auto; margin-right: 1rem; width: 4rem; height: 4rem; display: flex; align-items: center; justify-content: center; background-color: transparent; border: none; svg { width: 1.5rem; fill: white; } } } .form { border-radius: 3rem; background-color: var(--creamy-white); overflow: hidden; margin-top: -4rem; padding: 2rem; input { border: none; height: 4rem; width: 100%; display: block; border-radius: 3rem; box-shadow: 0px 2px 10px -5px inset var(--light-grey); padding: 0 1.5rem; font-size: 1.2rem; margin-bottom: 1.5rem; background-color: var(--form-input-bg); } textarea { background-color: var(--form-input-bg); font-size: 1.2rem; padding: 1rem 1.5rem; box-shadow: 0px 2px 10px -5px inset var(--light-grey); border: none; resize: none; display: block; width: 100%; height: 10rem; border-radius: 1.5rem; margin-bottom: 1.5rem; } } .blockHeader { display: flex; align-items: center; justify-content: flex-start; h5 { font-size: 1.2rem; font-weight: 600; color: var(--black); flex-grow: 1; svg { width: 2rem; height: 2rem; fill: var(--black); vertical-align: middle; margin-right: 1rem; } } button, a { background-color: var(--teal); width: 3rem; height: 3rem; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-left: 1rem; &.expandButton { background-color: var(--red); } svg { fill: white; width: 1.2rem; } } } .Grid { padding: 0 0.5rem; ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; } li { display: flex; justify-content: space-between; align-items: center; margin: 1rem 0; position: relative; transition: opacity 0.3s; &.inactive { opacity: 0.5; } .checkmark { position: absolute; left: 3.5rem; top: -0.3rem; width: 1.5rem; height: 1.5rem; background-color: var(--teal); border-radius: 50%; display: flex; align-items: center; justify-content: center; svg { width: 0.8rem; fill: white; } } &:nth-child(5n - 4) .icon { background-color: var(--orange); } &:nth-child(5n - 3) .icon { background-color: var(--blue); } &:nth-child(5n - 2) .icon { background-color: var(--red); } &:nth-child(5n - 1) .icon { background-color: var(--teal); } } .icon { width: 4.5rem; height: 4.5rem; background-color: var(--grey); display: flex; align-items: center; justify-content: center; border-radius: 1rem; svg { fill: white; width: 2rem; } } .info { width: calc(100% - 5.5rem); label, span { display: block; } label { font-size: 1.2rem; color: var(--black); font-weight: 700; } span { font-size: 1rem; color: var(--grey); } } } .toggleHolder { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 2rem 0.5rem; label { font-size: 1.2rem; color: var(--black); font-weight: 600; } .toggle { background-color: var(--form-input-bg); width: 4rem; height: 2rem; border-radius: 3rem; box-shadow: 0px 0px 10px -5px inset var(--light-grey); display: flex; align-items: center; justify-content: flex-start; &.on span { transform: translateX(2.2rem); background-color: var(--teal); } &.off span { transform: translateX(0.2rem); } span { cursor: pointer; width: 1.6rem; height: 1.6rem; background-color: var(--red); border-radius: 50%; display: block; transition: transform 0.3s, background-color 0.3s; } } } .publishButton { width: 9rem; height: 3.5rem; background-color: var(--teal); font-size: 1.2rem; font-weight: 500; color: white; display: block; margin: 2rem auto; border: none; border-radius: 3rem; position: fixed; left: calc(50% - 4.5rem); bottom: 1rem; z-index: 1; }