@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Sans:ital,wght@0,100..800;1,100..800&display=swap');

body {
    font-family: "Montserrat", sans-serif;
    max-width: 100%;
}

/* General layout */

.text-right {
    text-align: right;
}

.section-title {
    margin-bottom: 10px;
    padding: 5px;
    text-align: center;
}

.summary-text {
    font-family: "Ubuntu Sans", sans-serif;
}

.offer-card-title a {
    text-decoration: none !important;
    font-family: "Ubuntu Sans", sans-serif;
}

h1,
h2 {
    font-weight: 300;
    color: #0693e3;
}

h3 {
    font-size: 1.5em;
}

.brand-color {
    color: #0693e3;
}

a,
a:hover {
    color: #000000;
    font-weight: bold;
}

.page-title {
    background-color: #0693e3;
    color: white;
}

/* Offer detail layout */

.price-panel {
    background-color: blue;
    color: white;
}

tr:nth-child(even) {
    background-color: #8ed1fc;
}

tr:nth-child(odd) {
    background-color: #d2edfe;
}

table {
    width: 100%;
    display: table;
}

td {
    line-height: 36px;
    padding-left: 8px;
}

/* Share buttons */

#my_centered_buttons {
    display: flex;
    justify-content: center;
}

/* Navigation layout */

nav {
    color: #0693e3;
}

.navbar-light .navbar-nav .nav-link {
    color: #0693e3;
}

.navbar-brand {
    color: #0693e3 !important;
}

.active {
    text-decoration: underline dashed lightslategray;
}

.contact-list {
    list-style-type: none;
}

.badge-link {
    text-decoration: none;
    color: white;
}

/* Footer */

footer {
    background-color: lightblue;
    min-height: 20px;
    margin: 0;
    color: black;
    padding: 1em;
    text-align: center;
    width: 100%;
    bottom: 0;
    right: 0;
}


/* Form styling */

.page-form label {
    display: block;
    margin-top: 10px;
    margin-bottom: 5px;
}

.page-form :is(textarea, input, select) {
    width: 100%;
    max-width: 500px;
    min-height: 40px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.page-form .helptext {
    font-style: italic;
}

/* Below taken from Code Institute lesson https://learn.codeinstitute.net/courses/course-v1:codeinstitute+FE+2017_T3/courseware/616289d66b5641a3808cc43e53842695/b51f7b8b815c4bcd9979d2281b6d97a9/?child=last */

.social-networks li a i {
    width: 32px;
    height: 32px;
    padding: 12px 0;
    font-size: 13px;
    line-height: 7px;
    text-align: center;
    border-radius: 50%;
    color: white;
    background: blue;
    transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    -webkit-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
}

.social-networks li a i:hover {
    background-color: black;
}

.social-networks {
    margin-left: auto;
    margin-right: auto;
}

.list-inline {
    margin-top: 10px;
}

.list-inline-item:not(:last-child) {
    margin: 0;
}

.footer-text {
    margin-top: 15px;
}

p.footer-text a {
    color: black;
}

/* Homepage jumbotron */

.jumbotron {
    position: relative;
    z-index:-101;
    background-size: cover;
    height: 300px;
    overflow: hidden;
    background-image: url("/static/images/jumbotron-image.21890f35b44a.jpg");
}


.jumbotron .container {
    position: relative;
    color: #ffffff;
    z-index: 2;
    padding-top: 80px;
}

.jumbotron .container h1 {
    color: #ffffff;
}

#homepageVideo {
    position: absolute;
    height: auto;
    width: auto;
    min-height: 100%;
    min-width: 100%;
    left: 50%;
    top: 50%;
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
    z-index: 1;
    filter: brightness(80%);
}


/* Media queries */

@media screen and (max-width: 480px) {
    .heading-title {
        font-size: 24px;
    }

    .heading-subtitle {
        font-size: 18px;
    }

    #main-image {
        display: none !important;
    }
}

@media screen and (min-width: 481px) and (max-width: 600px) {
    .heading-title {
        font-size: 36px;
    }

    .heading-subtitle {
        font-size: 28px;
    }

    #main-image {
        display: block !important;
    }

    .reasons-box {
        min-height: 240px;
    }
}

@media screen and (min-width: 601px) and (max-width: 991px) {

    #main-image {
        float: right;
    }
}

@media screen and (min-width: 992px) {

    #main-image {
        float: right;
    }
}