@import url('https://fonts.googleapis.com/css2?family=Karantina:wght@300;400;700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body{
    min-height: 100vh;
    margin: 0;
    font-family: Poppins;
    color: #1E1E1E;
    background-color: #CDCDCD;
    background-image:
    repeating-linear-gradient(
        to right, transparent 0 150px, #0001 150px 151px
    ),
    repeating-linear-gradient(
        to bottom, transparent 0 150px, #0001 150px 151px
    ),
    linear-gradient(to right, #CDCDCDcc, #CDCDCDcc),
    url(images/bg.jpg);
    background-image: url(images/normal.jpg);
}
*{
    padding: 0;
    margin: 0;
}
header{
    width: min(1200px, 90vw);
    margin: auto;
    display: flex;
    justify-content: space-between;
    padding-top: 50px;
    height: 0px;
    flex-wrap: wrap;
}
header h1{
    font-family: "Karantina", system-ui;
    font-size: 16vw;
    line-height: 0.8em;
}
header .author{
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
header h3{
    font-family: "Karantina", system-ui;
    font-size: 5vw;
}
header .author div{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .author div p:nth-child(2){
    font-weight: 500;
}

header .author img{
    width: 250px;
}
.banner{
    margin-top: -50px;
    height: 100vh;
    overflow: hidden;
    position: relative;
}
.product{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 170px;
    z-index: 2;
    width: 500px;
    transition: 0.7s;
}
.product .soda{
    position: absolute;
    bottom: 0;
    left: calc(50%);
    transform: translateX(-50%);
}
.soda{
    --left: 0px;
    background: 
        var(--url) var(--left),
        url(images/mockup.png) 0 0;
    background-size: auto 100%;
    width: 280px;
    aspect-ratio: 2 / 4;
    background-blend-mode: multiply;
    transition: 0.8s;
    mask-image: url(images/mockup.png);
    mask-size: auto 100%;
}
.soda:nth-child(2){
    opacity: 0;
}
.product:hover{
    bottom: 300px;
}
.product:hover .soda:nth-child(2){
    opacity: 1;
    --left: 500px;
}
.product:hover .soda:nth-child(1){
    opacity: 0;
    --left: 500px;
}

.rock{
    position: absolute;
    inset: 0 0 0 0;
    width: 100%;
    pointer-events: none;
}
.rock img:nth-child(1){
    position: absolute;
    height: 170px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    transition: 0.7s;
    z-index: 1;
}
.rock img:nth-child(2){
    position: absolute;
    height: 50%;
    left: 0;
    bottom: 0;
    transition: 0.7s;
}
.rock img:nth-child(3){
    position: absolute;
    height: 100%;
    right: 0;
    bottom: -100px;
    rotate: -25deg;
    transition: 0.7s;
}
.banner:has(.product:hover) .rock img:nth-child(1){
    transform: translateX(-50%) translateY(50px);
}
.banner:has(.product:hover) .rock img:nth-child(2){
    transform: translateX(-100px) translateY(100px);
}
.banner:has(.product:hover) .rock img:nth-child(3){
    transform: translateX(100px) translateY(100px);
}
@media screen and (max-width: 1023px) {
    
    .soda{
        width: 400px;
    }
}
@media screen and (max-width: 767px) {
    .soda{
        width: 250px;
    }
    header img{
        display: none;
    }
    header .author{
        width: 100%;
    }
}

/* Footer */
footer {
    background-color: #111;
    width: 100%;
    padding: 20px;
    color: white;
    position: relative; /*Ensures the Footer stays at the bottom*/
}
.footerContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.socialIcons {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}
.socialIcons a {
    text-decoration: none;
    padding: 10px;
    background-color: white;
    margin: 10px;
    border-radius: 50%;
    align-items: center;
}
.socialIcons a i {
    font-size: 2em;
    color: rgb(3, 125, 255);
    opacity: 0.9;
}
/* Hover effect on social media icons */
.socialIcons a:hover {
    background-color: #111;
    transition: 0.5s;
}
.socialIcons a:hover i {
    color: white;
    transition: 0.5s;
}
.footerNav {
    margin: 20px 0;
}
.footerNav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
}
.footerNav ul li a {
    color: white;
    margin: 20px;
    text-decoration: none;
    font-size: 1.3em;
    opacity: 0.7;
    transition: 0.5s;
}
.footerNav ul li a:hover {
    opacity: 1;
}
.footerBottom {
    display: flex;
    justify-content: space-between;
    background-color: #080a0b;
    padding: 10px;
    text-align: center;
}
.footerBottom p {
    color: white;
}
.footerBottom.designer {
    padding: 10px;
    margin: 0px;
}

/*For the Button!*/
.container {
    text-align: center;
}

.hire-button {
    background-color: #1e90ff;
    border: none;
    color: white;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 20px;
}

.hire-button:hover {
    background-color: #005c99;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    display: none; /* Initially hidden */
}

.marquee-message {
    display: inline-block;
    font-size: 18px;
    color: #ffffff;
    white-space: nowrap;
    animation: scroll 15s linear infinite;
    background-color: crimson;
}

@keyframes scroll {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

/*For the Header*/
.glass-navbar {
    background: rgba(255, 255, 255, 0.1); /* Slight white background for glass effect */
    backdrop-filter: blur(10px); /* Blurring effect */
    border-radius: 10px; /* Rounded corners */
    padding: 10px 20px; /* Padding around the navbar */
    position: fixed; /* Fix the navbar to the top */
    top: 0; /* Align to the top */
    left: 50%; /* Center it horizontally */
    transform: translateX(-50%); /* Adjust to perfectly center it */
    z-index: 1000; /* Ensure it stays above other elements */
    width: 90%; /* Set a width */
    display: flex; /* Use flexbox for layout */
    justify-content: space-between; /* Space between logo and links */
    align-items: center; /* Center vertically */
}

.glass-navbar .logo {
    color: #ffffff; /* Logo text color */
    font-size: 1.5rem; /* Font size for the logo */
}

.glass-navbar .nav-links {
    list-style: none; /* Remove list styling */
    display: flex; /* Use flexbox for horizontal layout */
    gap: 20px; /* Space between links */
}

.glass-navbar .nav-links li {
    display: inline; /* Inline for list items */
}

.glass-navbar .nav-links a {
    text-decoration: none; /* Remove underline from links */
    color: #ffffff; /* Link color */
    font-size: 1rem; /* Font size for links */
    padding: 5px 10px; /* Padding for clickable area */
    transition: background-color 0.3s; /* Smooth transition for hover effect */
}

.glass-navbar .nav-links a:hover {
    background-color: rgb(176, 19, 19); /* Light background on hover */
    border-radius: 5px; /* Rounded corners on hover */
    color: #080a0b;
}

/* Add some margin to the content to prevent overlap with navbar */
.content {
    margin-top: 80px; /* Space for the fixed navbar */
    padding: 20px; /* Padding for content */
}
.logo img {
    max-width: 100%; /* Ensure the logo is responsive */
    height: auto; /* Maintain aspect ratio */
    width: 50px; /* Set a fixed width for the logo */
    border-radius: 5px; /* Optional: rounded corners */
}

.logo img:hover{
    color: green;
    background-color: #080a0b;
}