@import url('https://fonts.googleapis.com/css2?family=Gowun+Dodum&display=swap');

h1,
h2,
h3,
h4,
h5,
ul,
li{
    font-family: 'S-Core';
    font-weight: 700;
}

p,
a {
    font-family: 'S-Core';
    font-weight: 700;
}

span,
input,
button,
select {
    font-family: 'S-Core';
    font-weight: 700;
}

.square {
    position: relative;
    height: 0;
    padding-bottom: 100%;
    /* 1:1 Aspect Ratio */
    border: 1px solid;
    border-radius: 20px;
}

@media (min-width: 992px) {
    .logo {
        position: absolute;
        color: black;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); /* 수직 및 수평 정렬 */
        white-space: nowrap;
        font-size: 2em;
    }
}

@media all and (min-width: 768px) and (max-width: 1023px) {
    .logo {
        position: absolute;
        color: black;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); /* 수직 및 수평 정렬 */
        white-space: nowrap;
        font-size: 1.5em;
    }
}

@media all and (max-width: 767px) {
    .logo {
        position: absolute;
        color: black;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%); /* 수직 및 수평 정렬 */
        font-size: 1.5em;
        white-space: nowrap;
    }
}

.text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    padding-left: 5%;
    padding-right: 2%;
}

svg{
    color: black;

}

.square:hover h5{
    color: white;
}
.square:hover svg{
    color: white;
}

#money1:hover {
    background-color:#1B3D92;
}


#money2:hover {
    background-color: #58ACFA;
}

#money3:hover {
    background-color: #125d2e;
}

#money4:hover {
    background-color: #125d2e;
}