* {
    box-sizing: border-box;
    overflow: auto;
}

@font-face {
    font-family: "Rubik_light";
    src: url("../fonts/Rubik-Light.ttf");
    font-weight: 300;
}

@font-face {
    font-family: "Rubik_SB";
    src: url("../fonts/Rubik-SemiBold.ttf");
    font-weight: 600;
}


html, body {
    font-size: 12px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.container {
    width: clamp(576px, 70vw, 1200px);
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}

header, main, footer {
    margin: 1rem;
    padding: 1rem;
}

header {
    display: flex;
    align-items: center;
    font-weight: bold;
}

header > a:first-child {
    font-size: 2rem;
    margin-right: auto;
}

header > a:not(:first-child) {
    margin: 0 0.6rem;
}


.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.cell {
    width: calc(100% / 4);
    height: 300px;
    padding: 1.5rem;
}

.component {
    border-radius: 1rem;
    box-shadow: 0 0 1rem grey;
}

.cap {
    background-image: linear-gradient(to right, #002d71, #283697, #5639bb, #8933da, #c110f2);
    height: 50px;
    border-radius: 10px 10px 0px 0px;
}

img{
    display: block;
    width: 50px;
    height: 50px;
    object-position: top;
    object-fit: cover;
    margin: -25px auto 0px;
    border: 2px solid white;
    border-radius: 1000px; 
    box-shadow: 1px 1px 10px grey;   
}

h1{
    font-family: "Rubik_SB";
    text-align: left;
    margin-bottom: 0px;
}

h2 {
    font-family: "Rubik_SB";
    text-align: center;
    font-size: 12pt;
    line-height: 2em;
    margin: .5em auto;
}

article{
    font-family: "Rubik_light";
    text-align: justify;
    line-height: 1.5em;
    padding: 1em;
    font-size: 7pt;
}


.btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.star, .thmb {
    border: none;
    background: none;
    font-size: 1.5rem;
}


.msg {
    width: 90%;
    height: 25px;
    background-color: limegreen;
    color: white;
    font-family: "Rubik_SB";
    font-size: 8pt;
    border: none;
    border-radius: 0.5em;
    box-shadow: 0 0 1em grey;
    padding: 0px 3em;
    margin: 1rem auto;
}

footer {
    text-align: center;
    font-size: 1.5rem;
}

