/*the body has a default colour of a light grey*/
body {
    background: #242424;
    color: white;
    margin: 0;
    padding: 100px 0;
    font-family: monospace, Arial, Helvetica, sans-serif;
    min-width: 380px;
    position: relative;
    min-height: 100vh;
    box-sizing:border-box;
}

/*the header contains all the links at the top of the page*/
header {
    top: 0;
    position: fixed;
    background: #161616;
    font-size: 30px;
    text-align: center;
    left: 0;
    right: 0;
    z-index: 1;
    border-bottom: 1px solid #3b64d4;
}

header .title {
    font-size: 30px;
    color: white;
}



.logo img {
    float: left;
    height: auto;
    width: auto;
    max-width: 75px;
    max-height: 75px;
 }

/*this part is for the navigation bar*/
#nav-bar .my-links {
    float:right;
}

#nav-bar {
    text-align:left;
}

#nav-bar a {
    float: left;
    display: block;
    padding: 20px 20px;
    color: white;
    text-decoration: none;
    text-align: center; 
}

#nav-bar .title{
    padding: 20px 20px;
    color: white;
    display:inline-block;
}

/*hover means highlight it when you hover over something*/
#nav-bar a:hover{
    background-color: #3b3b3b;
    color:white;
}



#nav-bar .icon {

  display: none;
}
@media screen and (max-width: 900px) {
    #nav-bar .my-links {
        display: none;
    }

    #nav-bar a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 900px) {
    #nav-bar.responsive {
        position: relative;
    }

    #nav-bar.responsive .my-links {
        display: block;
        text-align: center;
        position: fixed;
        right: 0;
        background: #161616;
    }

    #nav-bar.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    #nav-bar.responsive a {
        float: none;
        display: block;
        text-align: left;
        margin: 0;
    }
    #nav-bar.responsive .my-links a {
        border-top: solid grey 1px;
    }
}

.banner {
    height: auto;
    display: flex;
    margin: auto;
    max-width: 1800px;
    justify-content: center;
    background: #161616;
    border-radius: 25px;
    padding: 5px;
    margin-top: 25px;
}

.banner img {
    width: 100%;
}

/*this is for the legal page*/

.legal-banner {
    display: flex;
    margin:40px auto 50px;
    justify-content: center;
    background: #161616;
    border-radius: 25px;
    max-width: 500px;
    padding: 5px;
    box-sizing:border-box;
}

.text {
    display: block;
    margin: 50px auto;
    width: 70%;
    background: #161616;
    padding: 20px 40px;
    border-radius:20px;
    overflow:auto;
}


.text p{
    font-size:20px;
}
.text h1{
    font-size:40px;
    text-align:center;
}

.text a {
    float: left;
    clear: left;
    color: white;
    text-decoration: none;
    font-size: 30px;

}

.text h2 {
    font-weight:bolder;
    font-size: 30px;

}

.socials {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.socials a span {
    padding: 10px;
 }
/*this is for the portfolio*/
.bottom-images {
    display: flex;
    justify-content: center;
    margin: 0;
    flex-wrap: wrap;
}

.bottom-images img {
    max-width: 200px;
    padding: 5px;
    margin: 0 50px 100px;
    background: #161616;
    border-radius: 5%;
}

.main-heading {
    text-align: center;
    font-size: 40px;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;  
}

.gallery img {
    max-width: 100%;
    background: #161616;
    }
.gallery .entry {

    float: left;
    max-width: 100%;
    width: 400px;
    margin: 10px;
  
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    position: relative;
}

.gallery .entry-title{
    position: absolute;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    bottom: 4px;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(0,0,0,0.5);
}


@media only screen and (max-width: 2000px) {
    .gallery .entry {
        width: 22%;
        height: auto;
        box-sizing: border-box;
    }

    img {
        width: 100%;
    }
}

@media only screen and (max-width: 1500px) {
    .gallery .entry {
        width: 30%;
        height: auto;
        box-sizing: border-box;
    }

    img {
        width: 100%;
    }
}


@media only screen and (max-width: 1000px) {
    .gallery .entry {
        width: 40%;
        height: auto;
        box-sizing: border-box;
    }
    img{
        width: 100%;
    }
}


@media only screen and (max-width: 500px) {
    .gallery .entry {
        width: 90%;
        height: auto;
        box-sizing: border-box;
    }

    img {
        width: 100%;
    }
}

/*this code onwards is for the contact and faq stuff*/

.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

    .button-container .button-entry {
        float: left;
        max-width: 100%;
        margin: 30px;
        background: #161616;
        border-top-left-radius: 25px;
        border-top-right-radius: 25px;
        position: relative;
    }

    .button-container .contact-button {
       width: 400px;
    }

    .button-container .faq-button {
        width: 400px;
    }


.button-container .entry-title {
   
    position: absolute;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 30px;
    bottom: 0px;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(0,0,0,0.5);
    /*pointer event stops the mouse being unable to click the "faq" and "contact me".*/
    pointer-events: none;
}


#contact-button {
    padding: 50px 50px 25px 50px;
    margin: 50px 100px;
    background-color: #161616;
    border-radius: 20px;
    font-size: 25px;
    text-align: left;
}

#faq-button {
    padding: 25px 50px 25px 50px;
    margin: 50px 100px;
    background-color: #161616;
    border-radius: 20px;
    font-size: 25px;
    text-align: center;
}

.contact-message{
    text-align:center;
    font-size: 30px;

}

.name {
    padding: 0 0 10px;

}

.query {
    padding: 10px 0 10px;
}

.subject {
    padding: 10px 0 10px;
}

.submit {
    padding: 5px 0;
}

input[type=text], select, textarea {
    padding: 3px;
    box-sizing: border-box;
    resize: vertical; /* if they enter too much text it will resize. */
    font-size: 25px;
    width: 100%;

}


input[type=submit] {
    background-color: #3b64d4;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.hidden{
    display:none;
}

@media screen and (max-width: 600px) {
    #faq-button {
        margin:20px 0;
        
    }
    #contact-button {
        margin: 20px 0;
    }
    .button-container .faq-button{
        width: 350px;
    }
    .button-container .contact-button {
        width: 350px;
    }
}

/*This is for the prices page*/

.tab-container {
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    background: #161616;
    padding: 20px;
    max-width: 60%;
}

.tab-column {
    max-width: 100%;
    overflow: auto;
    position: relative;
    padding-bottom: 25px;
}

.tab-column img {
    margin: 0 10px 0 0;
    float: left;
    width: 500px;
}

.tab-column .big-image {
    margin: 0 10px 0 0;
    float: left;
    max-width: 1000px;
}

.tab-column .big-image-text {
   float:left;
}

.tab {
    padding-bottom:30px;
}

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    padding: 14px 16px;
    transition: 0.3s;
    color:white;
}

.tab button:hover {
     background-color: #3b3b3b;
}

.tab button.active {
     background-color: #3b3b3b;
}

.tabcontent {
    padding: 20px 12px;
}

.tabcontent .submit {
    bottom:0;
    right: 0;
    position: absolute;
}

@media screen and (max-width: 1350px) {
    .tab-column img {
        float: none;
    }
}

@media screen and (max-width: 850px) {
    .tab-column img {
        width: 300px;
    }
}

@media screen and (max-width: 650px) {
    .tab-column img {
        width: 100%;
        margin-bottom: 10px;
    }

    .tab button {
        padding: 5px;
    }
}

/*footer begins here*/

footer {
    background: #161616;
    color: white;
    overflow: hidden;
    margin-top: 75px;
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
    padding: 0 2%;
    font-size: 18px;
    border-top: 1px solid #3b64d4;
}

footer div {
    margin: 15px 0;
    float: right;
}
footer div:first-child {
    float: left;
}

@media screen and (max-width: 440px) {
    footer div {
        display: block;
        text-align: center;
        float:none;
    }
    footer div:first-child {
        float:none;
    }
}

footer a {
    color: white;
    text-decoration: none;
    text-align: center;
}

footer a:hover {
    background-color: #3b3b3b;
    color: white;
}

/*this is where the privacy css starts, shares a lot with terms*/
.privacy-image {
    margin: 0 auto -50px;
    max-width: 500px;
    display: block;
}



