* {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f4f4f4;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    height: 50px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    padding: 10px 20px;
    position: fixed;
    top: -60px;
    transition: top 0.3s;
    z-index: 2;
    border-radius: 40px;
}

header.sticky {
    top: 0;
}

header .title h1 {
    margin-right: 20px;
}

header .buttons a,
header .nav-links a {
    color: #2a2a2a;
    text-decoration: none;
    font-size: 1em;
    margin-left: 20px;
    position: relative;
    padding-bottom: 5px;
}

header .buttons a::after,
header .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    left: 0;
    bottom: 0;
    background: #2a2a2a;
    transition: width 0.3s;
}

header .buttons a:hover::after,
header .nav-links a:hover::after {
    width: 100%;
}

header .title button {
    border: none;
    padding: 0;
    margin: 0;
    background-color: transparent;
    cursor: pointer;
}

.hero {
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-background {
    position: absolute;
    width: 100vw;
    height: 100vh;
	background-image: url(../images/hero.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
	filter: blur(1px);
	-webkit-filter: blur(1px);
}

.hero-content {
    z-index: 1;
	text-shadow: 7px 3px 7px black;
	font-size: 1.5em;
}

.hero-content button {
    background-color: #000000;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    margin-top: 10px;
	transition: transform 0.5s ease;
}

.hero-content button:hover {
    background-color: #321904;
	transform: translateY(10px)
}

main {
    margin: 30px 50px;
   
    display: flex;
    flex-direction: column;
}

main section {
    margin: 20px 0;
}

#main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 800px;
}

.main-content {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    flex-wrap: wrap;
}

.main-content-header {
    width: 60%;
}

.main-content-header h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.main-content-header p {
    font-size: 1.5em;
    color: #575757;
    margin-left: 30px;
    margin-bottom: 20px;
}

.main-content-header p a {
    color: #2a2a2a;
    text-decoration: none;
    font-weight: bold;
}

.main-content-header p a:hover {
    color: #e60a0a;
    transition: color 0.3s ease-in-out;
}



.main-content-image {
    width: 30%;
}

.main-content-image img {
    width: 100%;
    animation: spin 0.5s linear;
}

.main-content-image img:hover {
    transform: translate(20px, 10px);
    transition: transform 0.3s ease-in-out;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

#about {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 800px;
}

.about {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-content {
    width: 50%;
}

.about-content h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.about-content h2:hover {
    color: #e60a0a;
    transition: color 0.3s ease-in-out;
}

.about-content p {
    font-size: 1.2em;
    color: #575757;
    margin-left: 30px;
    margin-bottom: 20px;
}

.about-image {
    width: 30%;
}

.about-image img {
    width: 100%;
    animation: spin 0.5s linear;
}

.about-image img:hover {
    transform: translate(20px, 10px);
}

#features {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    min-height: 800px;
}

.features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px;
    height: 80px;
    width: 30%;
    transition: transform 0.3s ease-in-out;
}

.box h3 {
    font-size: 1.5em;
}

.box:first-child {
    background-color: #f1f1f1;
}

.box:nth-child(2) {
    background-color: #d5cfd5;
}

.box:nth-child(3) {
    background-color: #fbcaca;
}

.box:nth-child(4) {
    background-color: #89e1f0;
}

.box:last-child {
    background-color: #ffffff;
    width: 100%;
}

.box:hover {
    transform: translateY(-20px);
}

#contact {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 800px;
}

.contact {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact-content {
    margin-left: 50px;
}

.contact-content h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.contact-content h2:hover {
    color: #e60a0a;
    transition: color 0.3s ease-in-out;
}



.contact-content p {
    font-size: 1.2em;
    color: #575757;
    margin-left: 30px;
    margin-bottom: 20px;
}

.contact-content a {
	color: #2a2a2a;
	text-decoration: none;
	margin-left: 30px;
	font-size: 2em;
	transition: transform 0.3s ease-in-out;

}
.contact-content i:hover {
    color: #e60a0a;
	/* shake it*/
	animation: shake 0.3s;
    animation-timing-function: ease-in-out;

}

@keyframes shake {
	0% { transform: translate(1px, 1px) rotate(0deg); }
	10% { transform: translate(-1px, -2px) rotate(-1deg); }
	20% { transform: translate(-3px, 0px) rotate(1deg); }
	30% { transform: translate(3px, 2px) rotate(0deg); }
	40% { transform: translate(1px, -1px) rotate(1deg); }
	50% { transform: translate(-1px, 2px) rotate(-1deg); }
	60% { transform: translate(-3px, 1px) rotate(0deg); }
	70% { transform: translate(3px, 1px) rotate(-1deg); }
	80% { transform: translate(-1px, -1px) rotate(1deg); }
	90% { transform: translate(1px, 2px) rotate(0deg); }
	100% { transform: translate(1px, -2px) rotate(-1deg); }
}






footer {
    width: 100%;
    height: 50px;
    background-color: #2a2a2a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 0;
}

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

/* Media Queries */
@media (max-width: 1200px) {
    header {
        width: 90%;
    }

    .main-content-header, .main-content-image {
        width: 45%;
    }

    .about-content, .about-image {
        width: 45%;
    }

    .box {
        width: 45%;
    }
}

@media (max-width: 768px) {
    header {
        width: 95%;
        flex-direction: column;
        height: auto;
    }

    .main-content-header, .main-content-image, .about-content, .about-image {
        width: 100%;
    }

    .box {
        width: 100%;
        margin: 10px 0;
    }

    .contact-content {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px;
    }

    header .buttons a,
    header .nav-links a {
        font-size: 0.9em;
        margin-left: 10px;
    }

    .main-content-header h2, .about-content h2, .contact-content h2 {
        font-size: 1.5em;
    }

    .main-content-header p, .about-content p, .contact-content p {
        font-size: 1em;
        margin-left: 10px;
    }

    .hero-content button {
        font-size: 1em;
        padding: 10px 20px;
    }
}
