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

html,
body {
    padding: 0;
    margin: 0;
    justify-content: center;
    align-items: center;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 100%;
}

body {
    font-family: "aileron", sans-serif;
    /* font-weight: 300; */
    font-style: normal;
    background-color: white;
    color: white;
    font-weight: lighter;
}


/* TEXT */

h1 {
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 20px;
    width: 100%;
}


/* NAV*/

nav {
    font-weight: 200;
    margin-left: 20px;
    display: flex;
    line-height: 1.2;
    flex-direction: column;
}

.article-description {
    display: none;
    margin-top: 10px;
    margin-bottom: 10px;
    /* max-width: 90%; */
    transition: display 0.3s ease;
}

.article-title:hover {
    color: #e1d9d1;
    cursor: pointer;
}


ul {
    list-style-type: none;
    font-size: calc(3px + 2vw);
}

.article-title:before,
.contact-nav:before {
    display: inline-block;
    content: "";
    height: 1px;
    background: #fff;
    width: 10%;
    justify-content: center;
    vertical-align: middle;
}

p {
    font-size: calc(3px + 1.1vw);
    line-height: 1.15;
    padding-top: 5px;
    padding-bottom: 5px;
}

nav p {
    margin-left: 15px;
    max-width: 1000px;
    letter-spacing: 0.2px;
}

/* SVG Logo */
#Layer_2 {
    max-width: 950px;
    fill: #fff;
}

h2 {
    font-weight: 400;
    color: black;
    display: block;
    margin-bottom: 30px;
    font-size: calc(3px + 2.1vw);
}

#contact-us-section {
    margin-top: 50px;
}


/* form */

.margin {
    margin-left: 50px;
}

#contact-us-section p {
    color: black;
}

#contact-us-section a:link {
    color: black;
}

#contact-us-section a:link:hover {
    color: #e1d9d1;
}

#contact {
    line-height: 1.15;
}

#alternate {
    margin-bottom: 50px;
}


/* form */

#form {
    display: block;
    min-width: 500px;
    max-width: 600px;
    margin-bottom: 45px;
}

form label {
    color: black;
}

form li {
    padding-bottom: 10px;
}

form ul {
    font-size: calc(3px + 1.1vw);
}

form h1 {
    color: black;
}

input,
textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    margin-top: 5px;
    /* Adjust the margin as needed for spacing */
}

#submit-styling {
    width: 28%;
    color: white;
    background-color: #18191a;
    border: none;
    font-size: calc(3px + 1vw);
    padding: 10px;
    -webkit-font-smoothing: antialiased;
}

#submit-styling:hover {
    cursor: pointer;
    background-color: #3a3b3c;
    transition: all 0.1s ease;
}


/*link styling*/

a:link {
    text-decoration: none;
    color: white;
}


/*link colour after visiting*/

a:visited {
    color: white;
}


/*change link colour on hover*/

a:hover {
    color: #e1d9d1;
}

#contact-us-section a:hover {
    filter: brightness(0.5);
}


/* footer */

footer {
    background-color: #18191a;
    position: relative;
    bottom: 0;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

footer p {
    font-size: 10px;
    color: white;
    -webkit-font-smoothing: antialiased;
}


/* IMAGES */

#image-section {
    display: block;
    background-position: top left;
    background-size: cover;
    width: 100%;
    height: 1000px;
}

#images {
    margin-left: 35px;
    -webkit-filter: grayscale(100%);
    /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

#pexa,
#professional {
    width: 110px;
}

#law-society {
    width: 125px;
}

#professional {
    margin-left: 10px;
}


/* return to top arrow */

#return-to-top {
    position: fixed;
    bottom: 50px;
    right: 20px;
    width: 74px;
    display: block;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

#arrow {
    fill: none;
    stroke: #000;
    stroke-miterlimit: 10;
    stroke-width: 15px;
}

#arrow:hover {
    stroke: #636363;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}


/* MOBILE FORMATTING */

@media only screen and (max-width: 800px) {
    #image-section {
        height: 100vh;
        text-align: center;
    }

    h1 {
        width: 500px;
        padding-left: 50px;
        padding-right: 50px;
        display: inline-block;
    }

    nav {
        justify-content: center;
        text-align: center;
        line-height: 1.5;
        margin-left: 0;
    }

    nav p {
        margin: 0 10px;
    }

    .article-description,
    #contact-us-section,
    #form {
        margin: 0 auto;
    }

    p,
    form label,
    #submit-styling {
        font-size: 14px;
    }

    h2 {
        font-size: 20px;
    }

    footer p {
        font-size: 10px;
    }

    .article-title,
    .contact-nav {
        font-size: 20px;
    }

    #contact-us-section {
        text-align: center;
        margin: 0px 10px;
        margin-top: 40px;
        flex-direction: column;
        align-items: flex-start;
    }

    #submit-styling-li {
        text-align: center;
        padding-bottom: 30px;
    }

    #alternate {
        margin-bottom: 30px;
    }

    #images {
        justify-content: center;
        margin-left: unset;
    }

    #pexa,
    #professional {
        width: 80px;
    }

    #law-society {
        width: 90px;
    }

    #form {
        min-width: unset;
        max-width: 360px;
        margin-bottom: 20px;
    }

    #return-to-top {
        display: none !important;
    }

    footer {
        text-align: center;
    }
}

@media only screen and (max-width: 520px) {
    h1 {
        margin-left: 0px;
        margin-right: 0px;
        width: 100%;
        fill: #fff;
    }
}

@media only screen and (max-width: 270px) {
    h1 {
        padding-left: 0px;
        padding-right: 0px;
    }
}

#arrow {
    color: black;
}
