/*Desktop*/
:root{
    /* colours */
    --Accent: #4b4f8b;
    --Highlight: #8990f2;
    --Background: #9045c8;
    --Page: #ffffffd5;
    --MainText: #ffffff;
    --HoverText: #000000;

    /* images */
    --BackgroundImage: url("./resources/background.jpg");
}

.underline {
    text-decoration: underline;
}


/* Desktop */
@media (min-width: 768px) {
    body {
        background-color: var(--Background);
        font-family: 'Trebuchet MS';
        height: 100%;
        text-wrap: pretty;
        background-image: var(--BackgroundImage);
    }

    .main,
    .top {
        height: 90vh;
        text-wrap: pretty;
    }

    .main {
        float: left;
        display: block;
        padding: 2%;
        margin: 0px;
        background-color:var(--Page);
        width: 56%;
        margin-left: 10%;
        margin-right: auto;

    }

    .top {
        font-family: "Comic Sans MS";
        background-color:var(--Accent);
        float: right;
        width: 17%;
        margin-right: 10%;
        padding: 1.5%;
        padding-bottom: 2.5%;
        text-align: center;
        color: white;

    }

    .headshot {
        display: block;
        width: 80%;
        border-radius: 50%;
        margin-left: auto;
        margin-right: auto;
        border-style: double;
        border-width: 7.5px;

    }

    .button {
        display: block;
        width: 100%;
        padding-top: 0.5%;
        padding-bottom: 0.5%;
    }



    h2 {
        margin-bottom: 0px;

    }

    p {
        margin-top: 0px;
    }
}


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

    .desktop {
        visibility: hidden;
        height: 0;
    }

    body {
        background-color:var(--Background);
        color:var(--MainText);
        background-image: var(--BackgroundImage);
    }

    .main {
        text-align: center;
        background-color: var(--Page);
        border-bottom-left-radius: 5%;
        border-bottom-right-radius: 5%;
        padding: 5%;
        color:var(--MainText);
        margin-top: 0px;
        font-family: "Trebuchet MS";
        color: #000000;
    }

    .top {
        background-color:var(--Accent);
        padding: 5%;
        border-top-left-radius: 5%;
        border-top-right-radius: 5%;
        text-align: center;
        margin-bottom: 0px;
        font-family: "Trebuchet MS"
    }

    .button {
        display: block;
        width: 100%;
        background-color:var(--Accent);
        border-radius: 10px;
        color: white;
        padding: 10px 0;
        font-size: large;
        text-transform: capitalize;
        text-align: center;
        text-decoration: none;
        box-sizing: border-box;
        transition: background-color 0.3s ease;
        margin-top: 10px;
    }

    .button:hover {
        background-color: var(--Highlight);
        color:var(--HoverText);

    }

    .links {
        margin-top: 10px;
    }

    .headshot {
        border-radius: 50%;
        width: 60%;
        border-style: double;
        border-width: 7.5px;
    }

}