/* Reset */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    color:#333;
}

/* Header */

header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 60px;

    background:rgba(245, 238, 220, 0.55);

    backdrop-filter:blur(8px);

    z-index:1000;

}

.logo img{

    height:60px;

}

/* Navigation */

nav a{

    color:white;

    text-decoration:none;

    margin-left:30px;

    font-size:18px;

    font-weight:bold;

    transition:.3s;

}


nav a:hover{

    color:#f4b400;

}

/* Hero */

.hero{

    height:100vh;

    background-image:url("images/hero.jpg");

    background-size:cover;

    background-position:center;

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;

    text-align:center;

}

.hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.5);

}

.hero-content{

    position:relative;

    color:white;

    z-index:10;

    max-width:800px;

    padding:20px;

}

.hero-content h1{

    font-size:64px;

    margin-bottom:20px;

}

.hero-content p{

    font-size:24px;

    margin-bottom:40px;

    line-height:1.6;

}

/* Button */

.btn{

    display:inline-block;

    padding:16px 40px;

    background:#f4b400;

    color:white;

    text-decoration:none;

    border-radius:40px;

    font-size:18px;

    transition:.3s;

}

.btn:hover{

    background:#d49400;

}

/* Sections */

section{

    padding:100px 10%;

}

.container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:60px;

}

.reverse{

    flex-direction:row-reverse;

}

.container img{

    width:45%;

    border-radius:12px;

    box-shadow:0 10px 25px rgba(0,0,0,.2);

}

.text{

    width:55%;

}

.text h2{

    font-size:42px;

    margin-bottom:20px;

}

.text p{

   	font-size:18px;
	
   	line-height:1.8;

}

.text e{

	font-size:18px;
	color:#f4b400;
	line-height:1.8;

}

/* Alternate background */

#products{

    background:#f5f5f5;

}

/* Footer */

footer{

    background:#222;

    color:white;

    text-align:center;

    padding:40px;

	justify-content:space-between;

	align-items:left;

}

/* Mobile */

@media(max-width:900px){

    header{

        flex-direction:column;

        padding:15px;

    }

    nav{

        margin-top:15px;

    }

    nav a{

        margin:0 10px;

        font-size:16px;

    }

    .hero-content h1{

        font-size:42px;

    }

    .hero-content p{

        font-size:20px;

    }

    .container,
    .reverse{

        flex-direction:column;

    }

    .container img,
    .text{

        width:100%;

    }

    .text{

        text-align:center;

    }

}
