/*g fonts import */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Slab:wght@100;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Allura&family=Josefin+Slab:wght@100;400;500&display=swap');

/*css skeleton and css grid declare BODY*/
body {
    margin: 0;
    padding: 0;
    background-color: rgb(25, 50, 60);
    display: grid;
    grid-template:
        'sidebar_a header header header header header header sidebar_b'
        'sidebar_a main main main main main main sidebar_b'
        'footer footer footer footer footer footer footer footer';
    grid-template-columns: repeat(8, 1fr);
    text-decoration: none;
}

/*responsive design, ensures grid can scale down*/
@media only screen and (max-width: 1024px) {
    body {
        grid-template:
            'header'
            'sidebar_a'
            'main'
            'sidebar_b'
            'footer'
        ;
    }
}

/* responsive design - On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
    .text {
        font-size: 11px
    }
}


/* NAV BAR */
* {
    box-sizing: border-box;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(25, 50, 60);
    color: #A93F55;
}

.logo {
    font-size: 7rem;
    margin: 0.5rem;
    font-family: 'Allura', cursive;
    text-shadow: 1px 1px 2px #f2f2f2;

}

.navbar-link ul {
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar-link li {
    list-style: none;
}

.navbar-link li a {
    text-decoration: none;
    color: #A93F55;
    padding: .75rem;
    display: block;
    font-size: 4rem;
    font-family: 'Josefin Slab', serif;

}

.navbar-link li a:hover {
    color: #f2f2f2;
}

.burgertoggle {
    position: absolute;
    top: 5rem;
    right: 2.5rem;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.burgertoggle .bar {
    height: 3px;
    width: 100%;
    background-color: #A93F55;
    border-radius: 10px;
}

@media (max-width: 1300px) {
    .burgertoggle {
        display: flex;
    }

    .navbar-link {
        display: none;
        width: 100%;
    }

    .navbar-link li a {
        padding: 1rem;

    }

    .navbar-link li {
        text-align: right;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-link ul {
        flex-direction: column;
        width: 100%;

    }

    .navbar-link.active {
        display: flex;
        background-color: rgb(25, 50, 60);
    }
}

header {
    grid-column-start: 1;
    grid-column-end: 5;
    margin-bottom: 10px;

    background-color: rgb(25, 50, 60);
    min-height: 80px;
    grid-area: header;

}

/*end of nav bar*/

/*slideshow for home page*/
* {
    box-sizing: border-box
}

body {
    font-family: Verdana, sans-serif;
    margin: 0;
}

.mySlides {
    display: none;
}


img {
    vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {

    .prev,
    .next,
    .text {
        font-size: 11px
    }
}

/*end of slideshow css*/

/*CSS GRID ELEMENTS*/
.sidebar_a {
    background-color: rgb(25, 50, 60);
    grid-area: sidebar_a;
}

main {
    background-color: rgb(25, 50, 60);
    min-height: 600px;
    grid-area: main;
    display: grid;
}

.sidebar_b {
    background-color: rgb(25, 50, 60);
    grid-area: sidebar_b;

}

main>div {
    padding: 10px;
    min-height: 80px;
}

.home_imgslider {
    margin-top: 15px;
    grid-column-start: 1;
    grid-column-end: 5;
    background-color: rgb(25, 50, 60);

}
.box_2 {
    grid-column-start: 1;
    grid-column-end: 5;
    font-family: 'Bebas Neue', cursive;
    font-size: 15vh;
    color: #A93F55;
    background-color: rgb(25, 50, 60);
    margin-top: 15px;
    text-align: center;

}

.home_abouttext {
    grid-column-start: 1;
    grid-column-end: 5;
    text-align: center;
    font-family: 'Josefin Slab', serif;
    font-size: 5.5vh;
    color: #A93F55;
    word-wrap: break-word;
    background-color: #f2f2f2;
    padding: 20px #f2f2f2;
}

.secondarytext {
    grid-column-start: 2;
    grid-column-end: 4;
    text-align: center;
    font-family: 'Josefin Slab', serif;
    font-size: 3.5vh;
    color: #A93F55;
    word-wrap: break-word;
    background-color: #f2f2f2;
    padding: 20px #f2f2f2;
}

.thirdtext {
    grid-column-start: 2;
    grid-column-end: 4;
    text-align: center;
    font-family: 'Josefin Slab', serif;
    font-size: 4.5vh;
    color: #A93F55;
    word-wrap: break-word;
    padding: 20px #f2f2f2;
    border-top: 10px;

}

.contactMap {
    grid-column-start: 1;
    grid-column-end: 1;

}

.ContactForm {
    grid-column-start: 2;
    grid-column-end: 3;
    text-align: left;
    font-family: 'Josefin Slab', serif;
    font-size: 4.5vh;
    color: rgb(25, 50, 60);
    background-color: #A93F55;

}

.ContactForm button {
    background-color: rgb(25, 50, 60);
    text-align: centre;
    font-family: 'Josefin Slab', serif;
    font-size: 4.5vh;
    color: #A93F55;

}

/*END OF CSS GRID ELEMENTS*/

/* FOOTER */

.footerskylab {
    margin-top: 15px;
    grid-column-start: 1;
    grid-column-end: 5;
    background-color: #A93F55;
    text-align: center;
}

.footerskylab h2 {
    font-family: 'Josefin Slab', serif;
    color: rgb(25, 50, 60);
    font-size: 5.5vh;
}

.footerskylab p {
    font-family: 'Josefin Slab', serif;
    color: rgb(25, 50, 60);
    font-size: 3.5vh;
}

.socials {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem 0 3rem 0;
}

.socials li {
    margin: 0 20px;
}

.socials a {
    text-decoration: none;
    color: rgb(25, 50, 60)
}

.socials a i {
    font-size: 3rem;
    transition: color .4s ease;
}

.socials a:hover i {
    color: #f2f2f2;
}

.footer-bottom a {
    text-decoration: none;
}