body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.template {
    display: none;
}
.logo {
    text-align: center;
    padding: 20px;
}
.logo img {
    width: 220px;
    height: auto;
}
.header {
    text-align: center;
    padding: 40px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}
.header a {
    color: white;
    font-size: 40px;
    text-decoration: none;
    margin-right: 10px;
    margin-left: 10px;    
}
.header a:hover {
    color: #FDB92F
}
.cover {
    position: relative;
    width: 100%;
    height: 100vh;    
    background-color: black !important;
}
.cover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-image: url('./../imgs/cover.jpg');
    background-size: cover;
    opacity: 0.6;
}

.cover-text {
    z-index: 999;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;    
}
.cover-text > * {
    z-index: 999;
}
.section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: white;
}
.section .title {
    font-size: 60px;
    line-height: 1.5;
    color: #333;
    font-style: thin;
}
.section .text {
    font-size: 18px; 
    padding-left: 100px; 
    padding-right: 100px;
}
.grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
    gap: 30px;
    padding-left: 100px;
    padding-right: 100px;
    box-sizing: border-box;
}
.grid > div {
    aspect-ratio: 3/2;
    cursor: pointer;
    background-size: cover;
    background-position: center center;
}
.section-separator {
    width: 100%;
    height: 450px;
    background-color: white;
    position: relative;
    background-repeat: no-repeat;
    background-attachment: fixed;    
    background-size: cover;
    background-position: center center;
}
.section-separator.bg-2 {
    background-image: url('./../imgs/bg-2.avif');
}
.section-separator.bg-3 {
    background-image: url('./../imgs/bg-3.avif');
}
.scroll-down-container {
    position: relative;
    width: 100%;
    height: 150px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.scroll-down-container .scroll-down-button {
    /* padding: 20px; */
    border-radius: 100%;
    background-color: white;
    border: solid 2px #EEE;
    cursor: pointer;
    opacity: 0.3;
    height: 60px;
    width: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.scroll-down-container .scroll-down-button img {
    width: 25px;
    height: auto;
}
.scroll-down-container .scroll-down-button:hover {
    opacity: 0.7;
}
.project-popup {
    display: none;
}
.project-popup-image  {
    background-size: cover;
    background-position: center center;
    width: 100%;
    aspect-ratio: 3/2;
}
.project-popup-description p {
    text-wrap: normal;
    word-break: break-all;
}
#contact .content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
#contact .content .contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#contact .content img {
    width: 80px;
    height: 100%;
    margin: 20px;
}
.scroll-up-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: black;
    color: white;
    border-radius: 100%;
    border: solid 2px #333;
    cursor: pointer;    
    height: 60px;
    width: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0.5;
    z-index: 999;    
}
.scroll-up-button img {
    width: 25px;
    height: auto;
}
@media screen and (max-width: 768px) {
    .header a {
        text-align: center;
        display: block;
    }
    .section .title {
        font-size: 30px;
    }
    .section .text {
        font-size: 16px;
        padding-left: 20px; 
        padding-right: 20px;
        text-align: justify;
    }
    .grid {
        padding-left: 20px;
        padding-right: 20px;
        grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
    }
    .section-separator {
        height: 250px;
    }
    #contact .content {
        display: flex;
        flex-direction: column;
    }
}