@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

main {
    display: grid;
    grid-template-columns: 15% 80%;
}

nav{
    background-color: antiquewhite;
    width: 100%;
    height: auto;
    padding: 50px 0;
    position: relative;
}

nav details {
    margin-bottom: 50px;
    user-select: none;
    cursor: pointer;
}

#show-region {
    padding-bottom: 2vw;
}

.card-focus {
    background-color: #303030;
    width: 90%;
    margin: 0 auto;
    margin-top: 30px;
    height: 400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.card-focus-image {
    background-color: lightgray;
    width: 100%;
    height: 400px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.card-content-focus {
    text-align: center;
    color: white;
    padding: 50px 10px;
    overflow-y: auto;
}

@media screen and (max-width: 750px) {

    main {
        display: grid;
        grid-template-columns: 23% 77%;
    }

    #media-wrapper{
        box-shadow: 10px 0 10px rgba(0,0,0,0.5);
    }

}

@media screen and (max-width: 500px) {

    nav {
        display: none;
    }

    main {
        display: grid;
        grid-template-columns: 100%;
    }

}