@import url('https://fonts.googleapis.com/css2?family=Edu+NSW+ACT+Cursive:wght@400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    font-weight: 400;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: rgb(255, 246, 235);
    --secondary-color: rgb(31, 32, 31);
}

body {
    background-color: rgb(255, 246, 235);
    padding: 80px;
}

.intro {
    height: fit-content;
}

.page {
    display: flex;
    flex-direction: column;
}

header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0px;
    font-style: italic;
    border-bottom: 2px solid var(--secondary-color);
}

.logo {
    font-family: "inter", sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.hero {
    height: 100%;
}

.hero-main,
.section-2,
.section-3,
.section-4 {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 40px auto;
    padding: 16px;
    gap: 120px;
    border-left: 2px solid var(--secondary-color);
    border-right: 2px solid var(--secondary-color);
    border-top: none;
}

.hero-items,
.section-items {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title,
.title {
    writing-mode: sideways-lr;
    font-size: 6vw;
    font-weight: 800;
    letter-spacing: 16px;
}

.hero-main img {
    height: 160px;
    object-fit: cover;
}

.button-pair{
    text-decoration: none;
    color: var(--secondary-color);
    padding: 16px 32px;
    border-top: 2px solid var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
    margin-top: 32px;
    margin-bottom: 16px;
}

.button-pair:first-child {
    border-right: 2px solid var(--secondary-color);
}

.button-pair:last-child {
    border-left: 2px solid var(--secondary-color);
}

h1 {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--secondary-color);
}

h2 {
    font-size: 1.2rem;
    font-weight: 600;
    text-wrap-style: balance;
}

p {
    max-width: 600px;
    opacity: .7;
    font-style: italic;
    margin: 20px 0;
}

.section-2 {
    background-color: var(--secondary-color);
}

.section-2 * {
    color: var(--primary-color);
}

.section-2 a {
    border-color:var(--primary-color);
}

.section-2 img {
    height: 200px;
    object-fit: cover;
    object-position: 50% 80%;
}

.section-3 {
    display: flex !important;
}

ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

li {
    list-style: "= ";
    font-weight: 600;
}

.team {
    width: 100%;
    display: flex;
    gap: 0px;
}

.andy,
.michael {
    width: 100%;
}

.andy img,
.michael img {
    width: 100%;
    max-width: 300px;
    border: 1px solid var(--primary-color);
    margin-bottom: 16px;
    padding: 8px;
}

.team-name {
    font-weight: 800;
    font-size: 1.2rem;
}

.section-4 {
    background-color: var(--secondary-color);
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.section-4 * {
    color: var(--primary-color);
}

footer div {
    opacity: .5;
}


@media (max-width: 756px) {
    body {
        padding: 20px;
    }

    .button-pair {
        width: 100%;
        max-width: 400px;
    }

    .hero-main,
    .section-2,
    .section-3{
        gap: 40px;
    }

    .team {
        width: 100%;
        flex-direction: column;
        gap: 40px;
    }

    .andy img,
    .michael img {
        width: 100%;
    }
}

@media (max-width: 420px) {
    body {
        padding: 20px;
    }

    .hero-main,
    .section-2,
    .section-3{
        gap: 40px;
    }

    .team {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 80px;
    }

    .andy img,
    .michael img {
        width: 100%;
    }
}
