body {
    background-color: #112b3c;
    font-family: "Lato", sans-serif;
    color: white;
}

h1 {
    color: #ed8b00;
    text-align: center;
    font-weight: 700;
    font-size: 50px;
}

p {
    color: #ed8b00;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
}

button {
    height: 50px;
    width: 150px;
    padding: 8px 16px;
    font-size: 30px;
    border-radius: 10px;
    border: none;
    background-color: #205375;
    transition-duration: 0.3s;
    font-family: "Lato", sans-serif;
    color: white;
    display: inline-flex;
    align-items: center;
}

button:hover {
    background-color: #2f80b7;
}

.actions {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-grid {
    display: grid;
    justify-content: center;
    grid-gap: 16px;
    grid-template-columns: repeat(4, 210px);
    grid-template-rows: repeat(4, 140px);
}

.card {
    height: 140px;
    width: 210px;
    border-radius: 10px;
    background-color: white;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.5s ease-in-out;
}

.front-image {
    height: 100px;
    width: 179px;
}

.card.flipped {
    transform: rotateY(180deg);
}

.front, .back {
    backface-visibility: hidden;
    position: absolute;
    border-radius: 10px;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.card .front {
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotateY(180deg);
}

.card .back {
    background-image: url("assets/opensoft.png");
    background-position: center center;
    background-size: 65%;
    background-repeat: no-repeat;
    background-color: #ed8b00;
    backface-visibility: hidden;
}

.modal {
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: all 0.3s ease-in-out;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal.open {
    opacity: 1;
    z-index: 1;
}

.inner-modal {
    background-color: #112b3c;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    padding: 35px 25px;
    text-align: center;
    width: 380px;
}

.inner-modal h1 {
    color: white;
    margin: 0;
}

.inner-modal p {
    color: white;
    font-size: 24px;
    line-height: 24px;
    margin: 10px 0;
}