html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.flex-container {
    font-family: 'Mina', sans-serif;
    display: flex;
    flex-flow: row wrap;
    text-align: center;
    flex-wrap: wrap;
}

.flex-container > * {
    flex: 1 100%;
}

.flex-container p {
    font-size: 1.1em;
    margin: 1%;
}

.flex-container h1 {
    font-size: 2.1em;
    color: #000080;
    border-bottom: 5px solid #000080;
    display: inline-block;
}

.flex-container h2 {
    font-size: 1.4em;
}

#scrollBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #000080;
    color: #fff;
    cursor: pointer;
    border-radius: 25%;
    opacity: 0.7;
}

#scrollBtn:hover {
    opacity: 1;
}

#scrollBtn img {
    width: 30px;
}

.logo {
    display: flex;
    z-index: 1;
    background-image: url(img/Blue-logo-2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 160px;
    height: 66px;
    padding: 10px;
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: baseline;
    flex-flow: row wrap;
    flex-wrap: wrap;
    border: solid;
    border-color: #d8d8d8;
    border-width: 1px;
    border-right-color: #fff;
    border-left-color: #fff;

}

nav ul {
    display: inline-flex;
    text-decoration: none;
    flex-wrap: wrap;
    list-style: none;
}

nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #000;
    font-size: 1.5em;
    font-weight: 600;
}


nav a:hover {
    color: #000080;
}

.slideshow-containe {
    position: relative;
    margin: auto;
}

.slide-img {
    width: 100%;
    height: 90vh;
    max-height: 600px;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 45vh;
    width: auto;
    padding: 20px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    display: inline-block;
    border-radius: 50%;
    background-color: #bbb;
}

.active,
.dot:hover {
    background-color: #717171;
}

.features {
    display: flex;
    align-items: center;
    justify-content: center;
}

#bottle,
#glass,
#water {
    margin: 20px;
}

.features img {
    height: 140px;
    color: #000080;
    border: solid 2px #000080;
    border-radius: 15px 50px;
    padding: 10px;
}

main {
    background-color: #f0f0f5;
}

.about-us {
    display: flex;
    margin-top: 5%;
}

.about-us img {
    height: 450px;
    width: 550px;
    border-radius: 50px 15px;
}

.blue-drink {
    display: flex;
    margin-top: 5%;
}

.blue-drink img {
    border-radius: 50px 15px;
    max-height: 600px;
}

#input-email {
    width: 20%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    margin-bottom: 2%;
}

.join-the-blue {
    margin-top: 5%;
    background-color: #5e5e5e;
}

.join-the-blue p {
    color: #fff;
}

#contact-wrap {
    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap-reverse;
    margin-top: 2%;
}

#adress,
#contact-us {
    margin: 2%;
}

#name {
    width: 40%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

#contact-email {
    width: 40%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

#subject {
    width: 100%;
    height: 50px;
    padding: 10px;
    margin: 2%;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

#btn-submit {
    background-color: #000080;
    border: none;
    color: white;
    padding: 12px 15px;
    text-align: center;
    font-size: 16px;
    transition: 0.3s;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
}

#btn-submit:hover {
    opacity: 0.7;
}

#social {
    overflow: hidden;
}

footer {
    background-image: url(img/water-2208931_1920.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    color: #fff;
    margin-bottom: 0;
}

.footer-title {
    color: #fff !important;
    font-size: 2.1em;
    border-bottom: 5px solid #fff;
    display: inline-block;
}

footer img {
    height: 70px;
    border-radius: 50%;
    padding: 2px;
    margin: 1%;
    background-color: #fff;
}

footer img:hover {
    opacity: 0.5;
}

/* Media Queries */

@media screen and (max-width: 825px) {
    .features,
    .about-us,
    .blue-drink {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    .slide-img {
        width: 100%;
        height: 50%;
    }
    .prev,
    .next {
        font-size: 15px;
        margin-top: 0px;
    }
    .about-us img,
    .blue-drink img {
        width: 50%;
        height: 50%;
        display: flex;
    }
    .features img {
        width: 30%;
        height: 30%;
    }
    #social img {
        width: 50px;
        height: 50px;
    }
}

@media screen and (max-width: 625px) {
    .logo-div {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    nav ul {
        width: 100%;
        display: flex;
        flex-direction: column;
        font-size: 1.5vh;
        align-items: center;
        justify-content: center;
    }
    nav ul li {
        width: 100%;
    }
    nav a {
        margin-left: 0;
    }
}


@media screen and (max-width: 426px) {
    .prev,
    .next {
        padding: 15px;
    }
}
