File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
@charset "utf-8";
/* box */
.content {
width: 100%;
height: 100%;
min-height: 100%;
}
.content-box {
height: calc(100% - 48px);
}
.box {
background-color: var(--white);
border-radius: 1rem;
box-shadow: 0 0 5px var(--light);
}
.box-content {
font-size: 4rem;
color: var(--blue);
font-family: "GmarketSans-B";
}
.banner-title {
font-size: 4rem;
font-weight: 700;
}
.main-title {
font-size: 3.6rem;
font-weight: 700;
}
.page-title {
font-size: 3.2rem;
font-weight: 700;
}
.admin-page-title {
font-size: 3.2rem;
font-weight: 700;
color: var(--content-blue);
}
.middle-title {
font-size: 2.1rem;
font-weight: 700;
}
.page-sub-title {
font-size: 2.5rem;
font-weight: 700;
}
.content-border-title {
font-size: 2rem;
font-weight: 700;
padding-bottom: 1rem;
}
.admin-sec-title {
font-size: 2rem;
font-weight: 700;
color: var(--blue);
}
.box-bold-title {
font-size: 2rem;
font-weight: 700;
}
.box-title {
font-size: 2rem;
}
.content-title2 {
font-size: 1.8rem;
font-weight: 700;
}
.content-sub-title {
font-size: 1.8rem;
font-weight: 400;
}
.default-text {
font-size: 1.7rem;
font-weight: 400;
}
.detail-bold {
font-size: 1.6rem;
font-weight: 700;
}
.detail-text {
font-size: 1.6rem;
font-weight: 400;
}
.small-text {
font-size: 1.5rem;
}
/* btn */
.small-btn {
min-width: 120px;
max-width: 150px;
padding: 0.7rem 1rem;
border-radius: 0.5rem;
font-size: 1.5rem;
}
.large-btn {
width: 100%;
padding: 0.9rem 0;
border-radius: 0.5rem;
font-size: 1.4rem;
min-height: 4rem;
}
.icon-btn {
/* padding: 0.5rem; */
border-radius: 50%;
margin-left: 0.5rem;
}
.close-btn {
font-size: 1.6rem;
font-weight: 900;
}
.logout-btn {
padding: 0.5rem 1rem;
color: var(--dark);
position: relative;
font-size: 1.6rem;
}
.logout-btn::before {
content: "";
width: 1px;
height: 10px;
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
background-color: #aaa;
}
.comment-btn {
width: 100%;
height: 6.5rem;
max-height: 6.5rem
}
.upload-btn {
border: 1px solid var(--blue);
color: var(--blue);
background-color: var(--skyblue);
border-radius: .5rem;
font-size: 1.5rem;
}
.sky-blue-btn {
background-color: var(--skyblue);
color: var(--blue);
border: 1px solid var(--blue);
}
.blue-btn,
.blue-border-btn:hover {
background-color: var(--content-blue);
color: var(--white);
transition: all 0.3s ease-in-out;
}
.red-btn,
.red-border-btn:hover {
background-color: var(--red);
color: var(--white);
transition: all 0.3s ease-in-out;
}
.green-btn,
.green-border-btn:hover {
background-color: var(--green);
color: var(--white);
transition: all 0.3s ease-in-out;
}
.black-btn,
.black-border-btn:hover {
background-color: var(--black);
color: var(--white);
transition: all 0.3s ease-in-out;
}
.orange-btn,
.orange-border-btn:hover {
background-color: var(--orange);
color: var(--white);
transition: all 0.3s ease-in-out;
}
.darkg-btn,
.darkg-border-btn:hover {
background-color: var(--gray-dark);
color: var(--white);
transition: all 0.3s ease-in-out;
}
.gray-btn,
.gray-border-btn:hover {
background-color: #eee;
color: #333;
transition: all 0.3s ease-in-out;
}
.blue-border-btn {
border: 1px solid var(--content-blue);
color: var(--blue);
background-color: var(--white);
}
.red-border-btn {
border: 1px solid var(--red);
color: var(--red);
background-color: var(--white);
}
.green-border-btn {
border: 1px solid var(--green);
color: var(--green);
background-color: var(--white);
}
.orange-border-btn {
border: 1px solid var(--orange);
color: var(--orange);
background-color: var(--white);
}
.darkg-border-btn {
border: 1px solid var(--gray-dark);
color: var(--gray-dark);
background-color: var(--white);
}
.gray-border-btn {
border: 1px solid #aaa;
color: #aaa;
background-color: var(--white);
}
.white-border-btn {
border: 1px solid var(--white);
color: var(--white);
background-color: transparent;
}
.tp-btn {
background-color: transparent;
width: 15px;
height: 15px;
margin-left: 10px;
}
button:disabled {
background-color: #eee;
color: #333;
}
.del-icon-btn {
width: 25px;
height: 25px;
padding: 5px;
background-color: var(--red);
color: var(--white);
border-radius: 50%;
}
.set-icon-btn {
width: 25px;
height: 25px;
padding: 5px;
background-color: var(--darkG);
color: var(--white);
border-radius: 50%;
}
.top-scroll {
width: 50px;
height: 50px;
line-height: 50px;
text-align: center;
position: fixed;
right: 2%;
bottom: 5%;
z-index: 2;
color: var(--white);
background-color: rgba(0, 0, 0, 0.5);
box-shadow: 0 0 5px #eee;
}
/* 모달 */
.modal-wrapper {
background-color: rgba(0, 0, 0, 0.5);
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
display: flex;
justify-content: center;
align-items: center;
z-index: 11000;
}
.modal-container {
background: #fff;
min-width: 500px;
max-width: 750px;
width: 50%;
min-height: 500px;
max-height: 95%;
/* height: 55%; */
border-radius: 5px;
display: grid;
grid-template-rows: auto 1fr auto;
padding: 20px;
box-sizing: border-box;
}
.modal-title {
width: 100%;
border-bottom: 1px solid var(--dark);
padding: 10px 0;
}
.modal-subtitle {
font-size: 1.3rem;
font-weight: 600;
}
.modal-content-monthly {
width: 100%;
padding: 20px 0;
overflow-y: auto;
}
.large-modal {
width: 90%;
max-width: 90%;
height: 90%;
}
.small-modal {
min-width: 200px;
min-height: 200px;
max-width: 450px;
height: auto;
max-height: 50%;
}
.medium-modal {
min-width: 450px;
min-height: 450px;
max-width: 700px;
height: 70%;
max-height: 70%;
}
.list-modal {
width: 80%;
height: 80%;
}
.alert-write {
font-size: 1.6rem;
line-height: 180%;
}
.modal-content-monthly::-webkit-scrollbar {
width: 10px;
}
.modal-content-monthly::-webkit-scrollbar-thumb {
background-color: #6b6b6b;
border-radius: 10px;
background-clip: padding-box;
border: 2px solid transparent;
}
.modal-content-monthly::-webkit-scrollbar-track {
background-color: #eee;
border-radius: 10px;
box-shadow: inset 0px 0px 5px white;
}
.modal-end {
width: 100%;
}
.alert-modal .modal-end button,
.small-modal .modal-end button {
margin-left: 0;
}
.full-input,
.full-select {
width: 100%;
}
.half-input,
.half-select {
width: 50%;
}
/* table */
.list-table {
border-top: 1px solid var(--black);
border-bottom: 1px solid var(--black);
}
.table-zone::-webkit-scrollbar {
display: block;
}
.fixed-table {
width: 150%;
/* border-collapse: separate; */
}
.fixed-table .sticky {
position: sticky;
z-index: 1;
background-color: var(--white);
}
.fixed-table th.sticky {
top: 0;
left: 0;
}
/*
.fixed-table .sticky.first-th{
z-index: 2;
} */
.fixed-table td.sticky {
left: 0;
}
/*
.fixed-table .sticky.second-th{
z-index: 1;
} */
.list-table .admin-list.list-table {
border-top: 1px solid var(--light);
border-bottom: 1px solid var(--light);
}
.list-table thead th {
background-color: var(--white);
padding: 10px 0;
font-size: 1.6rem;
}
.list-table tbody tr,
.admin-list.list-table tbody tr,
.form-table2 tr {
border-top: 1px solid var(--light);
}
.list-table tbody td,
.admin-list.list-table tbody td {
font-size: 1.6rem;
padding: 10px 0;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}
.list-table tr:hover {
background-color: var(--sky-red);
}
/* .list-table tbody tr:nth-child(even) {
background-color: var(--sky-green);
} */
.admin-list.list-table thead th {
background-color: var(--light);
padding: 10px 0;
font-family: "Pretendard-B";
font-size: 1.6rem;
}
.admin-list.list-table tbody tr:nth-child(even) {
background-color: var(--background-white);
}
.admin-style .form-table,
.content-navigate {
border-top: 1px solid var(--gray-dark);
border-bottom: 1px solid var(--gray-dark);
}
.form-table {
border-top: 1px solid var(--dark);
border-bottom: 1px solid var(--dark);
}
.form-table th,
.form-table td,
.form-table2 th,
.form-table2 td {
padding: 1rem;
font-size: 1.6rem;
position: relative;
}
.form-table-adm th {
background-color: var(--light);
border-right: 1px solid var(--white);
}
.admin-style .form-table2 th {
background-color: var(--light);
border-right: 1px solid var(--light);
}
.form-table-style .form-table {
border-top: none;
border-bottom: none;
}
.detail-table {
/* border-top: 1px solid var(--black); */
border-bottom: 1px solid var(--black);
}
.detail-title {
background-color: var(--white);
border-bottom: 1px solid var(--black);
}
/* .admin-detail {
border-top: 1px solid var(--black);
border-bottom: 1px solid var(--black);
} */
/* .admin-detail .detail-title {
background-color: var(--white);
border-bottom: 1px solid var(--black);
} */
.detail-title td {
padding: 2rem 1.5rem;
}
.detail-table-title {
font-size: 2.5rem;
font-weight: bold;
}
.complex-table th {
border: 1px solid var(--dark);
}
.content-navigate tr {
border-top: 1px solid var(--gray-dark);
}
.content-navigate tr td:nth-of-type(1) {
border-right: 1px solid var(--light);
}
.cmmn-table tr td:nth-of-type(2) {
text-align: left;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
word-break: break-all;
}
.cmmn-table2 tr td:nth-of-type(2),
.cmmn-table2 tr td:nth-of-type(3),
.user-list tr td:nth-of-type(2),
.user-list tr td:nth-of-type(3),
.user-list tr td:nth-of-type(5) {
text-align: left;
}
/* 이용약관 */
.terms-table,
.terms-table th,
.terms-table td,
.privacy-table,
.privacy-table th,
.privacy-table td {
border: 1px solid var(--dark);
padding: 1rem;
}
.terms-table th,
.privacy-table th {
background-color: var(--skyblue);
color: #0166F3;
text-align: center;
}
/* 파일찾기 및 필수 */
.form-table label {
display: inline-block;
line-height: 2rem
}
.essential {
font-size: 1.3rem;
}
.essential span {
color: var(--red);
}
.form-table th span,
.form-table-style .form-table label.form-title,
.form-table label.form-title,
.form-table p.form-title,
.form-table span.form-title {
position: relative;
font-weight: 700;
}
.form-table th span::after,
.form-table-style .form-table label.form-title::after,
.form-table label.form-title::after,
.form-table span.form-title::after {
content: "*";
color: var(--red);
position: absolute;
top: 0;
right: 0;
transform: translate(100%, -50%);
}
.form-table input[type="file"] {
position: absolute;
width: 0;
height: 0;
padding: 0;
overflow: hidden;
border: 0;
}
.filebox {
height: 4rem;
}
.filebox .upload-name {
display: inline-block;
padding: 0.7rem 1rem;
vertical-align: middle;
border: 1px solid #dddddd;
color: #999999;
}
/*파일컴포넌트 */
.drag-drop {
border: 1px dashed var(--gray);
background-color: var(--background-white);
border-radius: 0.5rem;
transition: border-color 0.3s;
padding: 30px;
}
.drag-drop.dragging {
border-color: var(--primary);
background-color: var(--sky-ble);
}
.file {
border: 1px solid var(--gray);
border-radius: 0.3rem;
}
.filename {
font-weight: bold;
margin-right: 10px;
}
.sample-proof,
.sample-registration {
position: relative;
}
.sample-proof::after {
content: '';
position: absolute;
width: 3.5rem;
height: 3.5rem;
border: .5rem solid var(--blue);
border-radius: 50%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.sample-registration::after {
content: "\00d7";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: var(--red);
font-size: 7rem;
height: 3.5rem;
line-height: 2.5rem;
}
.inset-0 {
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.opacity-0 {
opacity: 0;
}
.cursor-pointer {
cursor: pointer;
}
/* 트리 */
.p-tree {
padding: 0.5rem 1rem;
}
.node-name {
width: 100%;
font-size: 1.6rem;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
word-break: break-all;
}
.selected {
border: 1px solid var(--blue);
border-radius: 0.3rem;
}
.ghost {
height: 15px;
color: transparent;
border: 1px dashed var(--blue);
}
.ghost * {
display: none;
}
/* 서치 */
.search-bar {
position: relative;
}
.search-input::placeholder {
font-family: "yungju";
}
.search-bar input,
.search-bar select,
.search-bar button {
border-radius: 3rem;
}
.search-button {
position: absolute;
top: 50%;
right: 1rem;
transform: translateY(-50%);
}
.search-icon {
color: var(--light);
}
/* 모듈별 서브타이을 */
.modal-sub-title::before {
content: "";
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
width: 0.5rem;
height: 80%;
background-color: var(--blue);
}
/*PAGINATION*/
.pagination-button-type {
display: flex;
align-items: center;
justify-content: center;
font-size: 1.3rem;
}
.pagination-button-type a {
display: block;
width: 3.5rem;
height: 3.5rem;
text-align: center;
cursor: pointer;
padding: 0.7rem;
border-radius: 0.5rem;
margin-right: 0.5rem;
}
/* admin pagination */
.admin-pagination .pagination-button-type a.active {
background-color: var(--skyblue);
color: var(--blue);
cursor: default !important;
}
/* user pagination */
.pagination-button-type a.prev:after {
content: "\003C";
font-weight: 900;
}
.pagination-button-type a.next:after {
content: "\003E";
font-weight: 900;
}
.pagination-button-type a.first-page:after {
content: "\003C\003C";
font-weight: 900;
}
.pagination-button-type a.end-page:after {
content: "\003E\003E";
font-weight: 900;
}
.pagination-button-type a.active {
background-color: var(--green);
color: white;
cursor: default !important;
}
/* 페이지 템플릿 */
.pin-gall-item {
background-color: #f6f6f6;
}
.gall-item {
border: 1px solid #eee;
border-radius: 2rem 0 0 0;
height: 440px;
}
.edu-item {
height: 402px;
}
.gall-item:hover {
background-color: var(--sky-red);
border: 1px solid var(--pink);
}
.gall-img {
width: 100%;
height: 220px
}
.gall-img>img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 1rem;
}
.pin-gall-item .gall-img {
height: 300px;
}
.subvod {
position: relative;
}
.master{
background-color: var(--black);
color: var(--white);
position: absolute;
right: 0;
bottom: 0;
padding: .5rem 1.5rem;
border-radius: 3rem;
transform: translateY(50%);
border: 2px solid var(--white);
}
.subvod::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
border-left: 20px solid var(--red);
border-top: 12px solid transparent;
border-bottom: 12px solid transparent;
transform: translate(-50%, -50%);
}
/* .pin-gall-item .gall-img::before{
position: absolute;
top: 0;
left: 0;
content: " ";
width: 0;
height: 0;
border-bottom: 5rem solid transparent;
border-top: 5rem solid var(--background-white);
border-left: 5rem solid var(--background-white);
border-right: 5rem solid transparent;
}
.pin-gall-item .gall-img::after{
position: absolute;
bottom: 0;
right: 0;
content: " ";
width: 0;
height: 0;
border-bottom: 5rem solid var(--background-white);
border-top: 5rem solid transparent;
border-left: 5rem solid transparent;
border-right: 5rem solid var(--background-white);
} */
.gall-detail {
height: 67.5px;
}
.video-zone,
.gall-zone {
width: 830px;
margin: 0 auto;
margin-bottom: 3rem;
}
.gall-slide {
width: 100%;
height: 65rem;
margin: 0 auto;
}
.gall-slide>img {
width: 100%;
height: 100%;
object-fit: cover;
}
.download-item {
background-color: var(--white);
}
/*
.gall-zone .swiper {
width: 100%;
height: 100%;
}
.gall-zone .swiper-slide img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.gall-zone .swiper {
width: 100%;
height: 300px;
margin-left: auto;
margin-right: auto;
}
.gall-zone .swiper-slide {
background-size: cover;
background-position: center;
}
.gallerySwiper {
width: 100%;
height: 80%;
}
.gallerySwiper2 {
height: 20%;
box-sizing: border-box;
padding: 10px 0;
}
.gallerySwiper2 .swiper-slide {
width: 25%;
height: 100%;
opacity: 0.4;
}
.gallerySwiper2 .swiper-slide-thumb-active {
opacity: 1;
}
.swiper-slide img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
} */
.faq-item {
border-top: 1px solid var(--dark);
}
.faq-item .faq-question::before {
content: 'Q';
display: inline-block;
width: 3.5rem;
height: 3.5rem;
border-radius: 50%;
text-align: center;
line-height: 35px;
font-size: 2rem;
background-color: var(--black);
color: var(--white);
margin-right: 1rem;
}
.edu-list-item .edu-user-list::after,
.faq-item .faq-question::after {
content: '+';
width: 3.5rem;
height: 3.5rem;
position: absolute;
right: 1rem;
top: 50%;
transform: translateY(-50%);
display: inline-block;
text-align: center;
line-height: 30px;
font-size: 3rem;
color: var(--black);
}
.edu-list-item[open] .edu-user-list::after,
.faq-item[open] .faq-question::after {
content: '-';
width: 3.5rem;
height: 3.5rem;
position: absolute;
right: 1rem;
top: 50%;
transform: translateY(-50%);
display: inline-block;
text-align: center;
line-height: 30px;
font-size: 3rem;
color: var(--black);
}
.faq-content {
background-color: var(--background-white);
}
.faq-content::before {
content: 'A';
display: inline-block;
width: 3.5rem;
height: 3.5rem;
border-radius: 50%;
text-align: center;
line-height: 35px;
font-size: 2rem;
background-color: var(--white);
color: var(--black);
border: 1px solid var(--black);
margin-right: 1rem;
}
.gall-slide .swiper {
width: 100%;
height: 100%;
}
.gall-slide .swiper-slide {
text-align: center;
font-size: 18px;
background: #fff;
display: flex;
justify-content: center;
align-items: center;
}
.gall-slide .swiper {
width: 100%;
height: 300px;
margin-left: auto;
margin-right: auto;
}
.gall-slide .swiper-slide {
background-size: cover;
background-position: center;
}
.gall-slide .gallerySwiper {
height: 80%;
width: 100%;
}
.gall-slide .gallerySwiper2 {
height: 20%;
box-sizing: border-box;
padding: 10px 0;
}
.gall-slide .gallerySwiper2 .swiper-slide {
width: 25%;
height: 100%;
opacity: 0.4;
}
.gall-slide .gallerySwiper2 .swiper-slide-thumb-active {
opacity: 1;
}
.gall-slide .swiper-slide img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.pin-notice {
background-color: var(--skyblue);
height: 85px;
}
/* 댓글 */
.comment-zone {
background-color: var(--skyblue)
}
.comment-item {
padding: 8px;
padding-left: 8px;
background-color: var(--white);
border-top: 1px solid #ddd;
}
.parents-nodes {
padding-left: 8px;
}
.children-nodes {
padding-left: 8px;
}
.comment-user,
.comment-text {
font-size: 1.3rem;
}
.comment-date {
color: var(--gray);
font-size: 1.2;
}
.reply-zone {
position: relative;
margin-bottom: 10px;
}
.reply-input {
border-radius: 50px;
}
.reply-btn {
position: absolute;
border-radius: 50px;
top: 50%;
right: 6px;
transform: translateY(-50%);
}
.quick-btn {
border: 1px solid var(--white);
border-radius: 3rem;
}
/* 팝업 */
.popup-wrap {
height: 100vh;
}
.popup-container {
width: 100%;
height: calc(100vh - 44px);
}
.popup-container {
background: #fff;
border-radius: 5px;
}
.popup-container .img-link {
display: block;
width: 100%;
height: 100%;
}
.iframe-container {
position: relative;
width: 100%;
padding-bottom: 56.25%;
/* 16:9 */
}
.content-area>iframe {
width: 100%;
height: 100%;
}
.iframe-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.popup-img{
width: 100%;
height: 100%;
object-fit: contain;
}
/* navigation-bar */
.navigation-wrap {
box-shadow: 0 0 0.5rem var(--light);
}
.admin-navigation {
border-bottom: 1px solid var(--dark);
}
.admin-navigation .w1280 {
width: 100%;
}
.navigation-bar {
font-size: 1.5rem;
}
/* progress */
.progress-bar {
width: 100%;
position: relative;
height: 10rem;
}
.progress-line::before {
position: absolute;
content: '';
width: 85%;
height: 3px;
background-color: #eee;
top: 23%;
left: 50%;
transform: translateX(-50%);
}
.status-info {
width: 15%;
}
.circle {
position: absolute;
content: '';
width: 100%;
top: 50%;
left: 0;
transform: translateY(-50%);
z-index: 2;
}
.status-type {
width: 3.5rem;
height: 3.5rem;
border-radius: 3.5rem;
background-color: #c6c6c6;
margin: 0 auto;
margin-bottom: 1rem;
}
.status-type.active {
width: 4.8rem;
height: 4.8rem;
border-radius: 2.7rem;
background-color: #fff;
border: 1.2rem solid #246beb;
}
.info-text p {
font-size: 1.5rem;
text-align: center;
}
.info-text p:nth-of-type(2) {
font-size: 1.7rem;
}
.info-text.active p:nth-of-type(2) {
color: #246beb;
font-weight: 700;
}
/* 알람 */
.user-alarm,
.mobile-alarm,
.admin-alarm {
position: relative;
font-size: 2rem;
}
.user-alarm>span.alarm-number,
.mobile-alarm>span.alarm-number,
.admin-alarm>span.alarm-number {
font-size: 1.2rem;
}
.user-alarm span.alarm-number,
.mobile-alarm span.alarm-number,
.admin-alarm span.alarm-number {
position: absolute;
color: var(--sky-red);
background-color: var(--red);
top: 0;
right: 0;
transform: translate(-20%, 15%);
border-radius: 50%;
display: inline-block;
width: 2rem;
height: 2rem;
line-height: 2rem;
text-align: center;
}
.admin-alarm span.alarm-number {
color: var(--sky-red);
background-color: var(--red);
}
.alarm-modal {
background: var(--white);
position: fixed;
width: 25%;
height: 100vh;
right: 0;
top: 0;
z-index: 3;
}
.alarm-modal2 {
background: var(--white);
position: absolute;
width: 30%;
height: 500px;
right: 0;
bottom: 0;
transform: translateY(100%);
z-index: 3;
}
.alarm-item {
background-color: var(--sky-green);
border: 1px solid var(--deep-green);
border-radius: .5rem;
}
.alarm-itmcon {
background-color: var(--deep-green);
color: var(--white);
border-radius: 3rem;
}
.admin-alarm-modal .alarm-item {
background-color: var(--skyblue);
border: 1px solid var(--navy);
border-radius: .5rem;
}
.admin-alarm-modal .alarm-itmcon {
background-color: var(--navy);
color: var(--white);
border-radius: 3rem;
}
.company-search {
position: relative;
}
.company-search>button {
position: absolute;
top: 50%;
right: 1rem;
transform: translateY(-50%);
}