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

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
}

/* Sections */
.section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

/* Top section */
.top {
    position: relative;
    background-color: #535353;
    color: #64c3c8;
    overflow: hidden;
}

.top::before {
    content: "";
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 140px;
    height: 90%;

    background-image: url("./logo.jpg");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
}

.top .content {
    position: relative;
    z-index: 1;
}


/* Middle section */
.middle {
    background-color: #64c3c8;
    color: #535353;
}


/* Bottom section */
.bottom {
    background-color: #535353;
    color: #64c3c8;
}


/* Content */
.content {
    max-width: 700px;
}


/* Typography */
h1 {
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 4vw, 3rem);
}

p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
}


/* Links keep the same appearance as text */
a,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
    color: inherit;
    text-decoration: none;
    font: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}


/* Mobile adjustments */
@media (max-width: 768px) {

    .section {
        padding: 1.5rem;
    }

    .top::before {
        width: 80px;
        left: 1rem;
        opacity: 0.6;
    }

    p {
        line-height: 1.5;
    }
}

/* Small text utility */
.small-text {
    font-size: 0.7rem;
    line-height: 1.4;
}
