body {
    margin: 0;

    background-color: rgb(225, 232, 240);

    font-family: 'Roboto', sans-serif;
}

.container {
    display: grid;
    grid-template-columns: 1fr 6fr;
    grid-template-rows: 1fr 5fr;

    height: 100vh;
}


/* HEADER */
.header {
    grid-column: 2 / -1;
    grid-row: 1 / 2;

    background-color: white;

    padding: 20px 50px;

    display: grid;
    grid-template-rows: 1fr 2fr;
    gap: 25px;
}

.search-row>div>div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-row>div>div:first-child {
    width: 75%;
}

.search-row>div {
    display: flex;

    justify-content: space-between;
}

#search {
    background-color: rgb(225, 232, 240);
    border: none;
    width: 75%;
    height: 1.5rem;
    border-radius: 15px;
    padding-left: 15px;
}

#search:active {
    outline: 2px black solid;
}

.search-row>div>div>img {
    width: 25px;
    height: 25px;
}

#profile-pic {
    border-radius: 50%;
    width: 50px;
    height: auto;
}

#profile-pic-bottom {
    border-radius: 50%;
    width: 75px;
    height: auto;
}

#profile-stuff {
    gap: 25px;
}


.user-area,
.container-header {
    display: flex;

    gap: 15px;

    align-items: center;
}

.user-area {
    justify-content: space-between;
}

.greet {
    font-size: small;
    font-weight: 600;
}

.profile-name {
    font-size: large;
    font-weight: 700;
    margin-top: 0;
}

.header-button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 25px;
    border: 2px solid #4CAF50;
}

.header-button:hover {
    background-color: #275b2a;
    border-color: #275b2a;
}

.header-button:active {
    background-color: #122b14;
    border-color: #122b14;
}

.container-header:last-child {
    gap: 25px;
}


/* SIDEBAR */
.sidebar {
    grid-column: 1 / 2;
    grid-row: 1 / -1;

    background-color: rgb(24, 146, 211);

    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 15px;
}

.side-options {
    padding-left: 25px;
    font-size: larger;
}


.side-options>div>a>img {
    width: 25px;
    height: 25px;

    filter: brightness(0) invert(1);
}

.side-options>a>img {
    width: 40px;
    height: 40px;

    filter: brightness(0) invert(1);

    margin-right: 5px;
}

.side-options>div>a>img {
    margin-right: 5px;
}

.side-options:first-child {
    padding-left: 10px;
}

.side-options>a,
.side-options>div>a {
    display: flex;
    align-items: center;
    gap: 5px;
}


/* CARDS AREA */
.main-content {
    grid-column: 2 / -1;
    grid-row: 2 / -1;

    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-template-rows: 1fr 15fr;
    gap: 25px;
}


a {
    display: block;
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 0;
    margin-right: 0;
    color: white;

    text-decoration: none;
}

a:hover {
    text-shadow: 1px 1px 2px white;
}

a:active {
    text-shadow: -1px 1px 2px black;
}

a {
    transition: all .2s ease-in-out;
}

a:active {
    transform: scale(0.98);
}

.cards {
    grid-row: 2 / -1;
    grid-column: 1 / -2;

    padding: 25px;
    padding-top: 5px;

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-template-rows: repeat(auto-fit, minmax(50px, 1fr));
    gap: 25px;

    min-width: 0;
    overflow: hidden;
}

.main-text {
    margin-left: 20px;
}

.main-text>p {
    margin-top: 25px;
    margin-bottom: 0;
}

.card {
    background-color: white;

    min-width: 0;
    overflow: hidden;

    position: relative;

    border-radius: 5px;

    box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.10);
}

.right-side {
    grid-column: -2 / -1;
    margin-right: 15px;
    margin-bottom: 25px;
    margin-top: 5px;

    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-template-rows: repeat(auto-fit, minmax(50px, 1fr));
}

.card>a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;

    margin: 0;
}

.card>p {
    position: absolute;
    bottom: 10px;
    left: 10px;

    color: white;
    font-size: larger;
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.card>img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.right-side>div {
    padding: 25px;
}

.card-side {
    background-color: white;

    overflow: hidden;

    border-radius: 5px;

    box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.10);

    position: relative;
}

.card-side>p {
    font-size: large;
    color: rgb(80, 80, 80);
}

.top-card-text {
    display: block;
    font-size: x-large;
    font-weight: bolder;
    color: black;
}

.card:hover,
.card-side:hover {
    outline: solid;
}

.card:hover {
    font-size: larger;
}

.card {
    transition: all .2s ease-in-out;
}

.card:active {
    transform: scale(0.9);
}

.card-side>a {
    position: absolute;

    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;

    margin: 0;
}