:root {
    --rice: #faf5ef;
    
    --primary-color: var(--rice);
    --secondary-color: #ccc;
    --font-family: sans-serif;
}

body {
    background: #EEF2FF url("../badges/fade-blue.png") top repeat-x;
}

.wrapper {
    display: flex;
    align-items: margin-left;
    justify-content: margin-left;
}

.element {
    padding: 20px;
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    background-color: #fff;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.element.id-card {
    display: grid;
    grid-template-columns: 1fr 1fr; 
}

.element.addresses {
    align-self: flex-end;
}

.id-card .title {
    grid-column: span 2;
    grid-row-end: 2;
    display: flex; 
    margin-bottom: 10px;
}

.id-card .title .flag {
    font-size: 2rem;
    margin: 0;
}

.title-text {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 0 0 10px;
    align-self: center; 
}

.id-card .info {
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    width: 300px;
    margin-left: -20px;
}

.info p {
  margin: 0;
  margin-bottom: 0px;
  margin-bottom: 15px;
}

.id-card .photo {
    width: 230px;
    height:100%;
    object-fit: cover;
}

.addresses .title-text {
    text-align: center;
}

.button {
    image-rendering: pixelated;
}