@import url('https://fonts.googleapis.com/css2?family=Aclonica&display=swap');

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    font-family: "Aclonica", sans-serif;
}

:root {
    --main-color:rgb(37, 135, 255);
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.collage-hero {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--main-color);
    position: relative;
}

.collage-container {
    width: 90%;
    height: 90%;
    position: relative;
    display: grid;
    grid-template-areas: 
        "item1 item2"
        "item3 item4";
    gap: 10px;
}

.collage-item {
    position: relative;
    overflow: hidden;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collage-item-1 { grid-area: item1; }
.collage-item-2 { grid-area: item2; }
.collage-item-3 { grid-area: item3; }
.collage-item-4 { grid-area: item4; }

.collage-text {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    z-index: 2;
    color: white;
}

.hero-title {
    font-size: 4em;
    width: 100%;
    max-width: 950px;
}

.hero-subtitle {
    font-size: 1.5em;
    width: 100%;
    max-width: 700px;
    margin: 25px 0;
}

.hero-btn {
    display: inline-block;
    margin-top: 1em;
    padding: 0.75em 1.5em;
    font-size: 1em;
    color: white;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 0.3em;
    transition: background-color 0.3s, color 0.3s;
}

.hero-btn:hover {
    background-color: white;
    color: var(--main-color);
}

@media all and (max-width: 768px) {
    .hero-title {
        font-size: 2.8em;
    }
    
    .hero-subtitle {
        font-size: 1em;
    }
    
}
