@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

html, body{
    scroll-behavior: smooth;
    scroll-padding-top: 150px;
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
:root{
    --primary-color: #e41f8c;
    --secondary-color: #ff42aa;
    --tertiary-color: #f4cee3;
    --quaternary-color: #FCFCFC;
    --background-color: #F9EDF4;
    --text-color-primary: #161616;
    --text-color-secondary: #FCFCFC;
    --text-color-tertiary: #464646;
    --font-family: "DM Sans", sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semi-bold: 600;
    --font-weight-bold: 700;
    --calc-height: 130px;
}
body{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: var(--background-color);
    font-family: "DM Sans", sans-serif;
}
#banner, header, main{
    width: 100%;
    max-width: 1250px;
}
/* banner */
#banner{
    width: 100%;
    display: flex;
    justify-content: space-between;
    background-color: transparent;
    padding: 2.25rem 1.75rem;
}
#status{
    display: flex;
    align-items: center;
    gap: .5rem;
}
.status_logo{
    color: var(--primary-color);
    font-size: 1.5rem;
    animation: blink 3s infinite;
}
@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 1;
    }
}
.status_text{
    color: var(--text-color-primary);
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
}
/* banner - language */
#language{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    text-decoration: none;
}
.language_icon{
    height: 1.5rem;
    width: auto;
}
.language_text{
    color: var(--text-color-primary);
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
}
main{
    display: flex;
    flex-direction: column;
}
/* nav bar */
header{
    position: sticky;
    top: .5rem;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1250px;
    width: 100%;
    background-color: var(--quaternary-color);
    padding: 1.5rem 1.75rem;
    border-radius: 15px;
    box-sizing: border-box;
    box-shadow: 0px 1px 2px 0px rgba(22, 22, 22, 0.10);
    transition: all .2s cubic-bezier(0.4,0,0.2,1);
    height: var(--header-height);
}
#logo_horizontal img{
    height: 3rem;
}
#logo, #logo img{
    display: none;
}
.ham_menu{
    max-height: 0;
    overflow: hidden;
    transition: all .3s cubic-bezier(0.4,0,0.2,1);
    position: fixed;
    z-index: 100;
    display: flex;
    flex-direction: column;
}
.links{
    display: flex;
    gap: 2rem;
    height: auto;
}
.links li{
    list-style: none;
}
.links a{
    color: var(--text-color-primary);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: var(--font-weight-regular);
}
.links a:hover{
    color: var(--primary-color);
}
#contact-btn{
    text-decoration: none;
    color: var(--text-color-secondary);
    background-color: var(--primary-color);
    padding: .75rem 1.5rem;
    border-radius: 5px;
    font-weight: var(--font-weight-medium);
    border: none;
    font-size: 1.25rem;
    font-family: "DM Sans", sans-serif;
}
#contact-btn:hover{
    background-color: var(--secondary-color);
}
/* main */
/* gallery */
#gallery {
    text-align: center;
    margin-top: 75px;
    width: 100%;
    max-width: 1250px;
}
.gallery_subtitle {
    font-size: 1.25rem;
    color: var(--text-color-tertiary);
    font-weight: var(--font-weight-medium);
}
.gallery_title {
    font-size: 3rem;
    font-weight: var(--font-weight-semi-bold);
    color: var(--text-color-primary);
    margin-bottom: 2.5rem;
}
.gallery_list{
    display: flex;
    flex-direction: row;
    gap: 2rem;
}
.list_column{
    display: flex;
    flex-direction: column;
    width: 50%;
    gap: 2rem;
}
.column1 img:first-child,
.column2 img:last-child{
    aspect-ratio: 4/3;
    object-fit: cover;
}
.column1 img:last-child,
.column2 img:first-child{
    aspect-ratio: 3/4;
    object-fit: cover;
}
.column2{
    margin-top: 100px;
}
.list_column img{
    width: 100%;
    border-radius: 20px;
}
#modal_overlay{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    
    display: flex;
    justify-content: center;
    align-items: center;
}
#modal_overlay.open{
    visibility: visible;
    opacity: 1;
    z-index: 999;
}
#modal{
    display: flex;
    justify-content: center; 
    flex-direction: column;
    
    background-color: var(--quaternary-color);
    box-shadow: 1px 1px 2px 1px rgba(22, 22, 22, 0.10);
    padding: 1.5rem 2.25rem;
    border-radius: 20px;
    max-width: 350px;
    max-height: 350px;
}
#modal .modal_title{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#contact-btn-close{
    font-size: 2rem;
    cursor: pointer;
}
#modal .modal_title h4{
    font-size: 1.5rem;
}
#modal .modal_description{
    font-size: 1.25rem;
    color: var(--text-color-tertiary);
    line-height: 1.5;
}
.modal_subtitle{
    font-size: 1.125rem;
    color: var(--text-color-tertiary);
    margin-bottom: .5rem;
    font-weight: var(--font-weight-medium);
}
/* footer */
footer{
    width: 100%;
    background-color: var(--quaternary-color);
    padding: 2.25rem 0;
    margin-top: 150px;
    display: flex;
    justify-content: center;
}
.footer_content{
    max-width: 1250px;
    width: 100%;
}
.footer_top_container{
    display: flex;
    justify-content: space-between;
}
.footer_logo{
    height: 125px;
    width: auto;
}
.footer_nav_title{
    font-size: 1.25rem;
    font-weight: var(--font-weight-semi-bold);
    color: var(--text-color-primary);
    margin-bottom: 1rem;
}
.footer_nav_list{
    list-style-type: none;
}
.footer_nav_list li:not(:last-child){
    margin-bottom: .5rem;
}
.footer_nav_list a{
    text-decoration: none;
    color: var(--text-color-tertiary);
    font-size: 1rem;
}
.footer_nav_list li{
    color: var(--text-color-tertiary);
}
.footer_nav_list a:hover{
    color: var(--primary-color);
}
.footer_nav_map{
    border-radius: 5px;
}
.footer_content hr{
    margin: 2.25rem 0;
    border: 1px solid rgba(70, 70, 70, .15); 
    border-radius: 100%;
}
.footer_bottom_container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
}  
.footer_credit a{
    text-decoration: none;
    color: var(--primary-color);
    font-weight: var(--font-weight-semi-bold);
}