/* COLORS */
:root {
    --primary-color: #D9382B;
    --secondary-color: #f5f5f5;
    --accent-color: #d9736c;
    --black: #272542;
    --white: #FEFEFF;
    --gray: gray;
    --bg-color: #f6f4f0;
    --yellow: #FCFF72;
}


/* BODY */
body {
    /* width: 100vw; */
    height: 100vh;
    margin: 0;
    padding: 0;
    background-color: #f6f4f0;
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
}

@media (max-width: 768px) {
    body {
        width: 100dvw;
        height: 100dvh;
    }
}

html {
    scroll-behavior: smooth;
}

* {
    text-decoration: none;
    color: var(--black);
}

@import url('https://fonts.googleapis.com/css2?family=Cookie&family=Playfair:ital,opsz,wght@0,5..1200,300..900;1,5..1200,300..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

button {
    padding: 20px;
    background-color: var(--primary-color);
    border-radius: 10px;
    box-shadow: 0 2px 6px var(--accent-color);
    color: var(--white);
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 150px;
}

button:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--black);
}


/* SCROLLBAR */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* HEADER */
.header {
    width: calc(100% - 200px);
    display: flex;
    justify-content: space-between;
    padding: 0px 100px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    transition: transform 0.3s ease;
    font-size: 20px;

    /* Required for JS to override */
    transform: translateY(0);
}

@media (max-width: 768px) {
    .header {
        font-size: 16px;
        padding: 0px;
        width: calc(100% - 0px);
        /* width: calc(100%); */
        justify-content: space-between;
    }

    .pageName {
        text-align: center;
        width: min-content;
        padding: 0 20px;
    }
}

.pageName,
.footerHeader {
    padding: 15px;
    background-color: var(--primary-color);
    border-radius: 0px 0px 10px 10px;
    box-shadow: 0 2px 6px var(--accent-color);
    color: var(--white);
    font-family: "Cookie", cursive;
}

.pageName a {
    color: var(--white);
}

.tabDiv {
    display: flex;
    justify-content: flex-end;
    background-color: var(--secondary-color);
    border-radius: 0px 0px 10px 10px;
    box-shadow: 0 2px 6px var(--accent-color);
}

.tabDiv a {
    padding: 15px 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tabDiv i{
    color: var(--accent-color);
}

.tabDiv a:hover {
    background-color: var(--primary-color);
    color: var(--white)
}

/* Mobile: icons only */
@media (max-width: 768px) {
    .tabDiv a span {
        display: none;
    }

    .tabDiv a {
        justify-content: center;
        padding: 15px;
    }

    .tabDiv i {
        font-size: 20px;
    }
}

.tabDiv div:first-child {
    border-radius: 0px 0px 0px 10px;
}

.tabDiv a:first-child:hover,
.tabDiv div:first-child:hover {
    border-radius: 0px 0px 0px 10px;
}

.tabDiv div:last-child {
    border-radius: 0px 0px 10px 0px;
}

.tabDiv a:last-child:hover,
.tabDiv div:last-child:hover {
    border-radius: 0px 0px 10px 0px;
}

.tabDiv div:active,
.tabDiv div:hover {
    background-color: var(--primary-color);
    color: var(--white)
}

/* MAIN */
main {
    width: 100%;
}

/* FOOTER */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* .footerHeader is same as pageName */
.footerHeader {
    font-size: 20px;
}

.footer p,
.footer a {
    color: var(--gray);
    font-size: 16px;
    font-style: normal;
}

.footerTitle {
    text-align: center;
    padding: 20px;
}

hr {
    width: 80%;
    color: var(--black);
}

.footerContent {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    width: 100%;
}

.footerContent h3,
.footerTitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 24px;
    font-style: normal;
}

@media (max-width: 768px) {

    .footer {
        padding: 0px;
        text-align: center;
        width: calc(100% - 40px);
    }

    .footerHeader {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .footer p,
    .footer a {
        font-size: 12px;
        line-height: 1;
    }

    .footerTitle {
        font-size: 14px;
        padding: 15px 0;
    }

    hr {
        width: 90%;
    }

    .footerContent {
        flex-direction: column;
        gap: 0;
        align-items: center;
    }

    .footerContent h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .footerContent div {
        width: 100%;
        /* make each column full-width */
        text-align: center;
    }
}