﻿

.content{
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}


/*버튼*/
.selfopen{
    width: 100%;
    height: 280px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 25px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.selfopen p{
    color: var(--btn-color);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 2rem;
}
.selfopen:first-child img{
    width: 55px;
}
.selfopen img{
    width: 90px;
}
/*hover*/
.selfopen:hover{
    background-color: #2479E4;
    transition: all 0.3s ease-in-out;
    border: 1px solid #2479E4;
}
.selfopen:hover p{
    color: #fff;
}



/*반응형*/
@media (max-width:768px) {
    .content{
        display: grid;
        justify-content: unset;
    }
    .selfopen{
        width: 60%;
        margin: 0 auto;
        height: 220px;
    }
    .selfopen:hover{
    border: 1px solid #b4b4b4;
    background-color: #fff;
    }
    .selfopen:hover p{
        color: var(--btn-color);
    }
    .selfopen:first-child img{
        width: 50px;
    }
}

@media (max-width:580px) {
    .content{
        column-gap: 1rem;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        row-gap: 1rem;
    }
    .selfopen{
        width: 100%;
        height: 180px;
    }
    .selfopen p{
        font-size: 1.06rem;
    }
    .selfopen:first-child img{
        width: 50px;
    }
    .selfopen img{
        width: 70px;
    }
}

@media (max-width:480px) {
    .selfopen:first-child img{
        width: 40px;
    }
    .selfopen:last-child img{
        width: 70px;
    }
}