@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-color: #DFC37D;
    --secondary-color: #FFFFFF;
    --green: #00473B;

    --primary-font: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--primary-font);
}

body {
    background-image: url('../img/bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: var(--green);
    position: relative;
    min-height: 100vh;
}

.logo {
    width: auto;
}

.mask {
    background-color: rgba(0, 0, 0, 0.1);
    min-height: 100vh;
    position: absolute;
    width: 100%;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

main {
    padding: 50px;
}

h2 {
    color: var(--primary-color);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2.4px;
    font-weight: 550;
    line-height: 19px;
    text-align: end;
}

h3 {
    color: var(--primary-color);
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 2.4px;
    font-weight: 550;
    line-height: 24px;
    text-align: end;
}

.contatti {
    background-image: url('../img/boruka_3.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 100%;
    width: 100%;
    max-width: 140px;
    max-height: 140px;
}

.contatti p {
    font-family: var(--primary-font);
    color: var(--secondary-color);
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
}


.image-container {
    position: relative;
    display: inline-block;
    max-width: 140px;
    max-height: 145px;
    min-width: 140px;
    min-height: 145px;
    cursor: pointer;
}

.image-background {
    background-image: url('../img/contatti.png');
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    mask-image: url('../img/contatti.png');
    mask-size: cover;
    mask-repeat: no-repeat;
    transition: background-image 2s ease;
}

.image-container:hover .image-background {
    cursor: pointer;
    background-image: url('../img/contatti_hover.png');
    mask-image: url('../img/contatti_hover.png');
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    transition: background-image 2s ease;
}

.contatti-img {
    max-width: 120px;
    max-height: 125px;
    width: 100%;
    height: 100%;
}

.modal-full-contact {
    background: #000000b2;
}

#close-modal {
    opacity: 1;
    width: 2rem;
    height: 2rem;
    font-size: 30px;
    padding: 1rem 1rem;
}

p,
a {
    font-family: var(--primary-font);
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 18px;
}