@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Anek+Telugu:wght@200&family=Baskervville&family=Cormorant+Garamond:ital,wght@1,500&family=Dosis:wght@500&family=Inconsolata&family=Josefin+Sans:ital,wght@1,500&family=Karla:wght@200&family=Spectral:wght@300&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.background {
    background-image: url('https://images.unsplash.com/photo-1521917441209-e886f0404a7b?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2660&q=80');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 1000px;
    width: 100%;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.logo img {
    width: 200px;
    height: 300px;
}

.heading-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: whitesmoke;
    margin-bottom: 2rem;
    letter-spacing: 3px;
    font-size: 28px;
    font-family: 'Abril Fatface', cursive;;
}

.social-media {
cursor: pointer;
}

.tab {
margin-left: 40px;
}

nav {
    position: sticky;
    top: 0;
    z-index: 10;
    width: 100% !important;
    background-color: #484759;
    display: flex;
    flex-direction: row;
    text-align: center;
}

nav a {
    width: 100%;
    text-decoration: none;
    font-size: 25px;
    color: whitesmoke;
    flex: 1;
    padding: 20px;
    text-transform: uppercase;
    font-family: 'Karla', sans-serif;
}

.heading {
    padding-top: 5rem;
    font-size: 35px;
    font-family: 'Anek Telugu', sans-serif;
    text-transform: uppercase;
}

hr {
width: 35%;
}

.text {
padding: 2rem;
width: 100%;
line-height: 30px;
font-size: 23px;
font-family: 'Karla', sans-serif;
display: flex;
flex-direction: column;
align-items: center;
}

.box {
width: 700px;
text-align: justify;
text-justify:inter-word;
}

button {
    margin-top: 5rem;
    font-family: 'Josefin Sans', sans-serif;
    position: relative;
    height: 45px;
    width: 150px;
    padding: 5px;
    font-size: 13px;
    letter-spacing: 2px;
    color: #484759;
    border: 2px #484759 solid;
    border-radius: 4px;
    text-transform: uppercase;
    outline: 0;
    overflow: hidden;
    background: none;
    cursor: pointer;
    -webkit-transition: .5s ease-in;
}

.arrow {
    text-align: left;
    padding-left: 15px;
}

.arrow::before {
    content: "→";
    position: absolute;
    color: #484759;
    left: 85%;
    opacity: 0;
}

.arrow:hover::before {
    left: 80%;
    opacity: 1;
}

.arrow:hover {
    width: 170px;
}

.banner-1 {
    margin-top: 5rem;
    background: url(/pictures/banner-1.jpg);
    width: 100%;
    height: 900px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden !important;
}

.banner-2 {
    margin-top: 5rem;
    background: url(/pictures/banner-2.jpg);
    width: 100%;
    height: 900px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden !important;
}

.banner-3 {
    margin-top: 5rem;
    background: url(/pictures/banner-3.jpg);
    width: 100%;
    height: 900px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden !important;
}

.cafe-name {
    color: #484759;
    text-align: center;
    margin-bottom: 1rem;
    font-size: 35px;
    font-weight: 700;
    padding-top: 2rem;
    font-family: 'Baskervville', serif;
}

.address {
    font-size: 23px;
    margin-top: 1 rem;
    text-align: center;
    font-family: 'Karla', sans-serif;
}

h6 {
    padding-top: 1rem;
    font-size: 22px;
    color: #484759;
    font-family: 'Baskervville', serif;
}

.opening-hour {
    font-size: 20px;
    text-align: center;
    font-family: 'Karla', sans-serif;
    padding: 1rem 0;
}


footer {
    margin-top: 7rem;
    background-color: #484759;
    padding: 20px;
    display: flex;
    justify-content: space-between;
}

footer small {
float: left;
font-size: 15px;
color: whitesmoke;
font-family: 'Karla', sans-serif;
}

.social-media-footer {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.footer-icon {
    float: right;
}

.footer-icon img {
    width: 50%;
}

@media screen and (max-width: 768px) {

    .background {
        width: 100%;
        height: 750px;
    }

    .logo {
        width: 140px;
    }

    .social-media img{
        width:35px;
    }

    nav a{
        font-size: 4vmin;
    }

    .box {
        width: 100%;
        font-size: 20px;
    }

    .banner-1, .banner-2, .banner-3 {
        width: 100%;
        height: 200px;
        overflow: hidden;
    }

    .cafe-name, h6 {
        font-size: 20px;
    }
    
    .address, .opening-hour {
        font-size: 18px;
    }

}