@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Anton';
}
body{
    background: url('../media/bg.png') center center/cover no-repeat;
    position: relative;
}
body::before {
    content: "";
    position: absolute;
    background-color: rgba(255, 255, 255, 0.3);
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}
nav{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 256px;
    background-color: #d9d9d9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1;
}
.logo{
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    gap: 8px;
}
.logo-img{
    height: fit-content;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0px 0px 8px rgb(255, 255, 255);
}
.logo-text{
    font-size: 32px;
}
.logo-img img{
    height: 64px;
}
.links{
    display: flex;
    gap: 16px;
}
.link{
    color: black;
    text-decoration: none;
    font-size: 24px;
}
.title-wrapper{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8px;
    z-index: 1;
}
.title{
    font-size: 86px;
    text-align: center;
    display: flex;
    align-items: center;
    width: fit-content;
    color: white;
    -webkit-text-stroke: 2px black;
    text-shadow: -8px 8px 4px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 1;
}
.subtitle{
    font-size: 48px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    color: white;
    flex-wrap: wrap;
    -webkit-text-stroke: 2px black;
    text-shadow: -8px 8px 4px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 1;
}
.subtitle p{
    word-break: break-word;
}
.hero{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 64px 256px;
    gap: 32px;
    z-index: 1;
}
.text{
    font-size: 48px;
    text-align: center;
    display: flex;
    align-items: center;
    width: fit-content;
    color: white;
    -webkit-text-stroke: 2px black;
    text-shadow: -8px 8px 4px rgba(0, 0, 0, 0.6);
}
.img img{
    height: 512px;
    border-radius: 16px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.6);
}
.masonry{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 4vw;
    justify-content: center;
    padding: 64px 128px;
}
.masonry div{
    height: 256px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
}
.masonry div:hover{
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7);
}
.masonry div:hover img{
    transform: scale(1.1);
}
.masonry div img{
    transition: all 0.3s;
    height: 256px;
}
@media (max-width: 1350px) {
    .hero{
        padding: 32px;
    }
}
@media (max-width: 1040px) {
    nav{
        padding: 8px 64px;
    }
    .text{
        font-size: 40px;
    }
    .img img{
        height: 480px;
    }
    .masonry{
        padding: 32px;
    }
}
@media (max-width: 750px) {
    .title-wrapper{
        margin-bottom: 32px;
    }
    .subtitle{
        font-size: 32px;
    }
    nav{
        padding: 8px;
        flex-direction: column;
    }
    .hero{
        flex-direction: column;
        padding: 8px;
    }
    .text{
        font-size: 38px;
    }
    .img img{
        height: 400px;
    }
    .masonry div{
        height: 128px;
    }
    .masonry div img{
        height: 128px;
    }
}