@import "semantic.css";
/*  CHANGE BASIC  */
:root{
    --bg-hover: #1a212a;
    --bg-click: #272d35;
}
main{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
/*  CARD  */
.card{
    background-color: var(--bg);
    border-radius: 10px;
    display: flex;
    gap: 15px;
    padding: 2%;
    text-decoration: none;
    transition: .1s ease;
    align-items: center;
}
.card p{
    text-align: justify;
}
.card img{
    width: 150px;
}
.card:hover{
    background: var(--bg-hover);
}
.card:active{
    background: var(--bg-click);
}
/*  DESIGNS  */
figure{
    background-color: var(--bg);
    transition: .1s ease;
    border-radius: 10px;
    font-weight: bold;
    padding: 2%;
    margin: 0;
}
figure:hover{
    background: var(--bg-hover);
}
figure:active{
    background: var(--bg-click);
}
figure .img{
    width: 100%;
    height: 350px;
    background-repeat: no-repeat;
    background-size: cover;
}
/*  MEDIA  */
@media screen and (width < 600px) {
    /*  CONTAINERS  */
    main{
        grid-template-columns: 1fr;
    }
    figure .img{
        height: 250px;
    }
    .card img{
        height: 150px;
    }
}