:root {
    --primary-color: #D91A22;
    --white-color: #fff;
    --text-color: #333;
    --teaser-content-height: 370px;
    --background-item-color: #FFE9AD;
    --header-height: 200px;
    --header__label-height:  155px;
    --header__navbar-height: calc(var(--header-height) - var(--header__label-height));
    
}

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

html {
    font-size: 62.5%;
    font-family: 'Open Sans', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #F8F8F6;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
}

.pt-10 {
    padding-top: 10px ;
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    display: none;
    overflow-y: auto;
}

.modal__overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn linear 0.1s;
}

.modal__main {
    --growth-from: 0.5;
    --growth-to: 1;
    z-index: 1;
    width: 100%;
    margin: auto;
    animation: growth ease-out 0.1s;
}

.modal__container {
    position: relative;
    width: 100%;
    height: 600px;
    background-color: #F8F8F6;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: 0px 0px 20px 10px rgb(0 0 0 / 40%);
}

.modal__close {
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px;
    color: var(--text-color);
    font-size: 2rem;
    cursor: pointer;
}

.open-modal {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }    
}

@keyframes growth {
    from {
        transform: scale(var(--growth-from));
        opacity: 0;
    }
    to {
        transform: scale(var(--growth-to));
        opacity: 1;
    }
}