/* =========================
   MAIN PAGE STYLES
   ========================= */

body {
    margin: 0;
    background-color: white;
}


/* =========================
   NAVIGATION
   ========================= */

ul {
    background: royalblue;
    box-sizing: border-box;
    list-style-type: none;
    margin: 0;
    padding: 30px;
    text-transform: uppercase;
    display: flex;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    padding: 25px;
    color: whitesmoke;
}

a {
    text-decoration: none;
    padding: 25px;
    color: whitesmoke;
}

a:hover {
    background-color: steelblue;
    font-size: 23px;
}



/* =========================
   HEADER
   ========================= */

#header_h1 {
    color: royalblue;
    font-family: "Roboto Slab", serif;
}

p.p1 {
    font-family: "Roboto Slab", serif;
    color: black;
}

.home-image {
    width: 100%;
}

.home-image img {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    border: 1px solid black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/* =========================
   ABOUT PAGE LAYOUT
   ========================= */

.about-layout {
    display: grid;
    grid-template-columns: minmax(250px, 400px) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

.about-image {
    width: 100%;
}

.about-image img {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    border: 1px solid black;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.about-content {
    width: 100%;
    min-width: 0;
}


/* =========================
   PLATFORM TABLE
   ========================= */

.platform-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
}

.platform-table th,
.platform-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: center;
}


/* =========================
   FORM DESIGN
   ========================= */

fieldset {
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 6px 20px rgba(0, 0, 0, 0.19);
    background-color: linen;
}

fieldset legend {
    font-weight: bold;
    margin-top: 20px;
}

input:placeholder-shown {
    color: red;
    font-size: 0.8rem;
}

input {
    caret-color: red;
}


/* =========================
   TABLET AND PHONE LAYOUT
   ========================= */

@media screen and (max-width: 768px) {

    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-image {
        display: flex;
        justify-content: center;
    }

    .about-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    ul {
        flex-direction: column;
        padding: 10px;
    }

    ul li {
        width: 100%;
    }

    ul a {
        display: block;
        padding: 15px;
    }

    .platform-table {
        font-size: 14px;
    }

    .platform-table th,
    .platform-table td {
        padding: 8px;
    }


    .phone-text,
    .phone-text a {
    color: black !important;
    background: transparent !important;
    padding: 0 !important;
    font-size: inherit !important;
    text-decoration: none !important;
}
}


/* =========================
   LARGER SCREENS
   ========================= */

@media screen and (min-width: 900px) {

    body {
        background-color: white;
    }

    p.p1 {
        color: white;
        background: black;
    }
}