/*
Theme Name: memoralis-Light
Author: Tiago Sá
Author URI: https://memoralis.pt
Description: Theme developed exclusively for memoralis.pt website.
Requires PHP: 7.0
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: memoralis
*/

:root {
    --secondary-dark: #333D4C;
    --red: #d85151;
    --white: #fff;
    --grey: rgba(202, 208, 217, .25);
    --main-grey: #F5F7FA;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}


/* CONTAINERS */

.container {
    max-width: 1296px;
    margin: 0 auto;
}

/* HEADER */

header {
    padding: 15px 5%;
    background-color: var(--white);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-header li a {
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    color: var(--secondary-dark);
    padding: 8px 18px;
    border-radius: 5px;
    transition: all .2s;
}

.menu-header li a:hover {
    background-color: var(--grey);
}

.menu-header {
    display: flex;
    gap: 18px;
}

.login-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.login-buttons a {
    padding: 10px 20px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
    border-radius: 5px;
    display: flex;
    gap: 6px;
    align-items: center;
    position: relative;
}

.login-button {
    background-color: #EEF1F6;
    color: var(--secondary-dark);
}

.login-button::before {
    content: " ";
    background-image: url(assets/icons/entrar.svg);
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    left: 0;
    width: 13px;
    height: 13px;
}

.register-button {
    color: var(--red);
    border: 1px solid var(--red);
}

.register-button::before {
    content: " ";
    background-image: url(assets/icons/pessoa.svg);
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    left: 0;
    width: 16px;
    height: 16px;
}

/* Breadcrumbs */

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 12px;
}

.breadcrumbs a,
.breadcrumbs span {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
}

.breadcrumbs span {
    color: #9CA3AF;
}

.breadcrumbs a {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--secondary-dark);
}

.breadcrumbs a::after {
    content: " ";
    background-image: url(assets/icons/right-arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    width: 5px;
    height: 8px;
    position: relative;
}


.person-details {
    background-color: var(--main-grey);
    padding: 24px 5% 112px 5%;
}

.person-details-grid {
    display: grid;
    grid-template-columns: 66.5% 1fr;
    gap: 24px;
    margin-top: 24px;
}

.person-details-content,
.mortuary-info {
    padding: 32px;
    background-color: var(--white);
    border-radius: 5px;
}

.person-details-content--header {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

.person-details-content--header figure {
    max-width: 172px;
}

.person-details-content--header figure img {
    width: 100%;
    border-radius: 5px;
}

.person-details-content h1 {
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0%;
}

.person-details-content--header-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.user-input-action {
    display: flex;
    gap: 20px;
    height: fit-content;
}

.user-input-action>span {
    position: relative;
    display: flex;
    gap: 4px;
    align-items: center;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0%;
}

.user-input-action .condolences::before {
    content: " ";
    background-image: url(assets/icons/icon-candle.svg);
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    width: 22px;
    height: 22px;
}

.user-input-action .messages::before {
    content: " ";
    background-image: url(assets/icons/icon-message.svg);
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    width: 19px;
    height: 18px;
}

.person-details-content--header-info-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.person-age {
    display: flex;
    gap: 8px;
    align-items: center;
}

.person-age span {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0%;
    color: #4E5562;
}

.person-age .age {
    position: relative;
    display: flex;
    gap: 8px;
}

.person-age .age::before {
    content: "•";
    position: relative;
    left: 0px;
    top: 0;
}

.person-location::before {
    content: " ";
    position: relative;
    display: inline-block;
    width: 11px;
    height: 13px;
    background-image: url(assets/icons/icon-location.svg);
    background-repeat: no-repeat;
    background-size: contain;
}