/* =========================================================
   LIFE ON THE MOVE
   Shared CSS for Profile Page and Links Page
========================================================= */


/* --------------------------------
   Reset
-------------------------------- */

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


/* --------------------------------
   Entire Page
-------------------------------- */

body {

    min-height: 100vh;

    font-family: Arial, Helvetica, sans-serif;

    color: white;

    background-color: #2878b8;

}


/* --------------------------------
   Background Image
-------------------------------- */

.page {

    min-height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 40px 20px;

    background-image:
        linear-gradient(
            rgba(25, 101, 166, 0.30),
            rgba(25, 101, 166, 0.30)
        ),
        url("images/rv-bike-background.jpg");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    background-attachment: fixed;
}


/* --------------------------------
   Header
-------------------------------- */

header {

    text-align: center;

    margin-bottom: 30px;

}


header h1 {

    font-size: 56px;

    font-family: Georgia, "Times New Roman", serif;

    font-style: italic;

    text-shadow:
        2px 3px 8px rgba(0, 0, 0, 0.45);

}


.tagline {

    margin-top: 12px;

    font-size: 18px;

    letter-spacing: 6px;

    font-weight: bold;

}


/* =========================================================
   PROFILE PAGE
========================================================= */


/* --------------------------------
   White Profile Card
-------------------------------- */

.profile {

    width: 100%;

    max-width: 600px;

    text-align: center;

    background-color: rgba(255, 255, 255, 0.97);

    padding: 35px;

    border-radius: 22px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.30);

}


/* --------------------------------
   Profile Image
   Designed for 700 x 1050 image
-------------------------------- */

.profile-image {

    width: 100%;

    max-width: 350px;

    height: auto;

    display: block;

    margin: 0 auto;

    border-radius: 12px;

    border: 6px solid white;

    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.25);

}


/* --------------------------------
   Button Area
-------------------------------- */

.buttons {

    display: flex;

    justify-content: center;

    gap: 18px;

    margin-top: 30px;

}


/* --------------------------------
   Buttons
-------------------------------- */

.button {

    flex: 1;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 18px 20px;

    color: white;

    text-decoration: none;

    font-size: 18px;

    font-weight: bold;

    border-radius: 10px;

    box-shadow:
        0 5px 12px rgba(0, 0, 0, 0.20);

    transition:
        transform 0.25s,
        box-shadow 0.25s,
        background-color 0.25s;

}


/* --------------------------------
   RV Button
-------------------------------- */

.rv-button {

    background-color: #368d4c;

}


/* --------------------------------
   Bicycle Button
-------------------------------- */

.bike-button {

    background-color: #15558d;

}


/* --------------------------------
   Button Icons
-------------------------------- */

.button-icon {

    font-size: 28px;

}


/* --------------------------------
   Button Hover Effect
-------------------------------- */

.button:hover {

    transform: translateY(-4px);

    box-shadow:
        0 9px 18px rgba(0, 0, 0, 0.30);

}


.rv-button:hover {

    background-color: #29743c;

}


.bike-button:hover {

    background-color: #103f6a;

}



/* =========================================================
   CONTENT / LINKS PAGE
========================================================= */


/* --------------------------------
   Large White Content Area
-------------------------------- */

.content {

    width: 90%;

    max-width: 1200px;

    min-height: 500px;

    background-color: rgba(255, 255, 255, 0.97);

    color: #222;

    padding: 45px 55px;

    border-radius: 22px;

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.30);

}


/* --------------------------------
   Content Heading
-------------------------------- */

.content h2 {

    font-family: Georgia, "Times New Roman", serif;

    font-size: 36px;

    color: #15558d;

    margin-bottom: 10px;

    border-bottom: 3px solid #2878b8;

    padding-bottom: 12px;

}


/* --------------------------------
   Introductory Text
-------------------------------- */

.content-intro {

    margin-top: 18px;

    margin-bottom: 30px;

    font-size: 18px;

    color: #555;

    line-height: 1.6;

}


/* --------------------------------
   Hyperlink List
-------------------------------- */

.link-list {

    display: flex;

    flex-direction: column;

    gap: 12px;

}


/* --------------------------------
   Individual Links
-------------------------------- */

.link-list a {

    display: block;

    padding: 15px 18px;

    background-color: #f2f6f9;

    color: #15558d;

    text-decoration: none;

    font-size: 18px;

    font-weight: bold;

    border-left: 5px solid #2878b8;

    border-radius: 6px;

    transition:
        background-color 0.25s,
        transform 0.25s,
        color 0.25s;

}


/* --------------------------------
   Link Hover Effect
-------------------------------- */

.link-list a:hover {

    background-color: #2878b8;

    color: white;

    transform: translateX(5px);

}



/* =========================================================
   FOOTER
========================================================= */

footer {

    margin-top: 30px;

    font-size: 14px;

    font-weight: bold;

    letter-spacing: 4px;

    text-shadow:
        1px 2px 5px rgba(0, 0, 0, 0.50);

}



/* =========================================================
   TABLETS
========================================================= */

@media (max-width: 900px) {

    .content {

        width: 95%;

        padding: 35px;

    }

}



/* =========================================================
   MOBILE DEVICES
========================================================= */

@media (max-width: 600px) {


    /* -----------------------------
       Page
    ----------------------------- */

    .page {

        padding: 25px 12px;

    }


    /* -----------------------------
       Header
    ----------------------------- */

    header h1 {

        font-size: 40px;

    }


    .tagline {

        font-size: 12px;

        letter-spacing: 3px;

    }


    /* -----------------------------
       Profile Page
    ----------------------------- */

    .profile {

        padding: 25px;

    }


    .profile-image {

        max-width: 300px;

    }


    .buttons {

        flex-direction: column;

    }


    .button {

        width: 100%;

    }


    /* -----------------------------
       Content / Links Page
    ----------------------------- */

   /* --------------------------------
   Large White Content Container
-------------------------------- */
.content {

    width: min(1200px, 92%);

    margin: 0 auto;

    background-color: #ffffff;

    color: #222;

    padding: 45px 55px;

    border: 1px solid #dddddd;

    border-radius: 18px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.35);

}

    .content h2 {

        font-size: 28px;

    }


    .content-intro {

        font-size: 16px;

    }


    .link-list a {

        font-size: 16px;

        padding: 14px;

    }


    /* -----------------------------
       Footer
    ----------------------------- */

    footer {

        text-align: center;

        line-height: 1.8;

        letter-spacing: 2px;

    }

}