@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap');

:root{
    --color1:#909CC2;
    --color2:#FAC855;
    --color3:#698F3F;
    --color4:#206abf;
    --color5:#844916;
}

html,
body {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 20px;
    height: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1 {
    font-family: 'Dancing Script', cursive;
    color:gold;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Header */
.header {
    background-color: var(--color2);
    box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 9999;
}

/* Logo*/
.logo {
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    display: inline-block;
    color: var(--color4);
    font-size: 60px;
    margin-left: 10px;
}

/* Nav Menu*/
.nav {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: var(--color2);
    overflow: hidden;
    border-top-width: 82px;
}

.menu a {
    display: block;
    padding: 30px;
    color: white;
}

.menu a:hover {
    background-color: var(--color3);
}

.nav{
    max-height: 0;
    transition: max-height .5s ease-out;
}

/* Menu Icon */
.hamb {
    cursor: pointer;
    float: right;
    padding: 40px 20px;
}

.hamb-line {
    background: white;
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
}

.hamb-line::before,
.hamb-line::after {
    content:'';
    display:block;
    height: 100%;
    position: absolute;
    width: 100%;
    background: white;
    transition: all .2s ease-out;
}

.hamb-line::before {
    top:5px;
}

.hamb-line::after {
    top:-5px;
}

.side-menu {
    display: none;
}

/* Toggle Menu Icon */
.side-menu:checked ~ nav {
    max-height: 100%;
}

.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
 transform: rotate(-45deg);
 top: 0;
}

.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top: 0;
}

/* Hero Image*/
.hero-image {
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('images/our-bees.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-image h1 {
    width: 75%;
    font-family:cursive;
    font-size: 3em;
    text-align: center;
    color: white;
    transform: rotate(-7deg);
    text-shadow: 0px 4px 5px rgba(0,0,0,0.5);
}

.swipe {
    display: flex;
    padding: 20px 40px;
    gap: 40px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.card {
    width: calc( 100vw - 80px );
    flex-shrink: 0;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    padding: 20px;
    aspect-ratio: 1 / 1;
    border-width: 1px;
    border-style: solid;
    border-radius: 10px;
    border-color: rgb(225,225,225) rgb(200,200,200) rgb(200,200,200) rgb(225,225,225);
    box-shadow: 0px 2px 4px rgba(0,0,0,0.5);
    background-size: cover;
    background-position: center center;
}

.swipe .card {
    background-image: linear-gradient(rgba(255,255,255,0) 40%, rgba(255,255,255,0.9) 80%), url('images/honey.jpeg');
}

.swipe .card:first-child {
    background-image: linear-gradient(rgba(255,255,255,0) 40%, rgba(255,255,255,0.9) 80%), url('images/IMG_1698.JPEG');
}

.swipe .card:last-child {
    background-image: linear-gradient(rgba(255,255,255,0) 40%, rgba(255,255,255,0.9) 80%), url('images/Bella\ Vista\ Bee\ Company\ logo.jpg');
    background-size:cover;
    background-repeat: no-repeat;
    
}

.card h2,
.card p {
    text-align: center;
}

a.btn {
    display: block;
    bottom: 0;
    text-align: center;
    padding: 10px 20px;
    background-color: var(--color4);
    border-radius: 10px;
    color: white;
    margin: 10px;
    width: fit-content;
}

a.btn:hover{
    margin-top: 8px;
    margin-bottom: 12px;
    box-shadow: 2px 0px 4px rgba(0,0,0,0.5);
}

footer {
    padding: 20px;
    background-color: #698F3F;
    color: white;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #844916;
    box-shadow: -2px 0px 4px rgba(0,0,0,0.5);
}

.background {
    background-image: url('images/wallpaper4.jpg');
}

.background2 {
    background-color: #206abf;
}

.background3 {
    background-image: url('images/honeycomb.jpeg');
}

.background4 {
    background-color: #FAC855;
}

.background5 {
    background-image: url('images/wallpaper.jpg');
}

.border {
    border-bottom: 2mm ridge var(--color2);
    border-top: 2mm ridge var(--color2);
    border-left: 2mm ridge var(--color2);
    border-right: 2mm ridge var(--color2);
    margin: 10px;
    padding: 5px;
    text-align: center;
}

.title {
    text-align: center;
    padding-top: 5px;
}

h5 {
    font-family: 'Dancing Script', cursive;
    color:#206abf;
    font-size: 25px;
}

.quote {
    color: var(--color2);
}

.form {
    text-align: center;
    padding-top: 5px;
}

input[type=text] {
    background-color: #FAC855;
    width: 250px;
    padding: 10px;
    box-shadow: 4px 4px 10px;
    border-radius: 20px;
    font-family: monospace;
}

input[type=email] {
    background-color: #FAC855;
    width: 350px;
    padding: 10px;
    box-shadow: 4px 4px 10px;
    border-radius: 20px;
    font-family: monospace;
}

input[type=submit] {
    display: block center;
    bottom: 0;
    text-align: center;
    padding: 10px 20px;
    background-color: var(--color4);
    border-radius: 10px;
    color: white;
    margin: 10px;
    width: fit-content;
    position: static;
    margin-top: 8px;
    margin-bottom: 12px;
    box-shadow: 2px 0px 4px rgba(0,0,0,0.5);
}

textarea {
    background-image: url('images/Bella\ Vista\ Bee\ Company\ logo.jpg');
    background-position: center;
    background-size: cover;
    width: 100;
    resize: vertical;
    padding: 15px;
    border-radius: 15px;
    border: 0;
    box-shadow: 4px 4px 10px
        rgba(0,0,0,0.06);
    height: 150px;
}

@media (min-width: 768px) {
    .nav{
        max-height: none;
        top: 0;
        position: relative;
        float:right;
        width: fit-content;
        background: transparent;
    }
    .menu li {
        float: left;
    }
    .menu a:hover {
        background-color: transparent;
        color: var(--color4);
    }
    .hamb{
        display: none;
    }

    .swipe {
        padding: 30px 60px;
        gap: 60px;
    }

    .card {
        width: calc(50vw - 90px)
    }
}

@media (min-width:1200px) {
    .swipe {
        padding: 40px 80px;
        gap: 80px;
    }

    .card {
        width: calc((100vw - 280px)/3);
    }
}