/* Variables */

:root{
    --primary:  rgb(250, 240, 230);
    --secondary: #0B0B0B;
    --accent: #003049;
}

/* reset */
body,p,a,ul,li{
margin: 0;
padding: 0;
text-decoration: none;
}

li{
    list-style-type: none;
}

/* Base */

body {
    overflow-x: hidden;
}

.button {
    background: none;
    border: 2px solid red;
    color: red;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0, 0.6);
}

.button:hover{
    color: #222;
    background: red;
}

input, textarea{
    background: white;
    padding: 10px 16px;
    border-radius: 20px;
}

.nav {
    width: 100vw;
    background-color: #0B0B0B;
}

nav {
    background-color: var(--secondary);
    color: white;
}

/* this styles the navbar menu */
#menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    
}

.bar {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
}

footer {
    background-color: var(--secondary);
    color: white;
    text-align: center;
    margin-bottom: 0px;
}

/* Fonts */
@font-face {
    font-family: 'Rubik Regular';
    src: url(fonts/Rubik/static/Rubik-Regular.ttf);
}

h1,h2,h3,h4{
    font-weight: bold;
}

/* p,a,li{
    color: black;
} */

h1 {
    font-size: 2em;
}

h3{
    font-size: 1.3;
}

h2{
    font-size: 1.6em;
}

h4{
    font-size: 1.1em;
}

.leading{
    font-size: 1.1em;
}

/* Default background styles */
 body {
    background-image: url('../images/exercise-weights-iron-dumbbell-with-extra-plates.jpg');
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
    width: 100vw;
    height: 100vh;
  } 


/* Blinking text for banner text */
  .blinking-text2 {
    margin-left: 20px;
    font-weight: bolder;
    animation: blink2 4s infinite alternate;
}

@keyframes blink2 {
    0% {
        color: red;
    }
    25% {
        color: red;
    }
    50% {
        color: goldenrod;
    }
    75% {
        color: gold;
    }
    100% {
        color: white;
    }
}
  
/* Blinking text main h1 text */

.blinking-text {
    font-weight: bolder;
    animation: blink 4s infinite alternate;
}

@keyframes blink {
    0% {
        color: #003049;
    }margin-left
    25% {
        color: red;
    }
    50% {
        color: pink;
    }
    75% {
        color: gold;
    }
    100% {
        color: orange;
    }
}
  
  

/* Mobile Styles */

body {
    margin-bottom: 0px;
}

.main {
    max-height: 80%;
    margin-bottom: 0px;
    /* margin-bottom: 10px; */
}

/* .main h1 {
    grid-column: 3/9;
} */

.contact-container {
    width: 90%;
    /* margin: 0 auto; */
    color: white;
    grid-column: 2/8;
    margin-bottom: 0px;
}

.form-group {
    margin: 10px 0;
}

label {
    display: block;
    font-size: large;
}

input[type="text"], textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="submit"] {
    background-color: #ff2400;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: darkred;
}

.button-container {
    display: flex;
    justify-content: flex-end; /* Move the button to the right */
}
/* .main h1 {
    color: yellow;
    width: 70%;
    grid-column: span 7;
    grid-row: 1;
    margin-left: 20px;
    margin-top: -50px;
} */

/* .main h3 {
    grid-row: 2;
    margin-left: 20px;
    grid-column: span 5;
    color: red;
    margin-top: -230px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
} */

.grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    box-sizing: border-box;
}

.site-nav {
    width: 100vw;
}

/* Hiding menu on mobile */

.site-nav ul {
    display: none; /* Hide the menu by default */
    flex-direction: column;
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--secondary);
    z-index: 1;
    margin-top: 50px;
    padding: 15px;
}

.site-nav ul li{
    color: white;
    margin-top: 5px;
}

.site-nav ul li a {
    color: white;
}

.site-nav ul.active {
    display: flex; /* Display the menu when the active class is applied */
}

/* Ensure the hamburger icon is visible when the menu is active */
.site-nav ul.active + #menu-toggle {
    display: flex;
}

.site-nav h1 {
    grid-column: 1/4;
    grid-row: 1;
    margin-bottom: 3px;
    border-bottom: 3px solid red;
    color: white;
    margin-left: 10px;
}

/* Styles for the hamburger menu icon */

nav li {
    margin-left: 2px;
    
}

nav {
margin-bottom: 100px;

} 

ul.active {
    display: flex;
}

#menu-toggle {
    display: flex; /* Change it back to flex to make the hamburger menu visible */
    flex-direction: column; /* Change to column */
    cursor: pointer;
    position: absolute; /* Position it absolutely to overlap other content */
    top: 10px; /* Adjust the top positioning as needed */
    right: 10px; /* Adjust the right positioning as needed */
    z-index: 1; /* Ensure it's above other content */
    margin-right: 20px;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
}

    footer{
        height: 50px;
        padding: 5px;
        margin-top: 80px;
    }

    footer p {
        margin-top: 20px;
        font-size: medium;
    }

/* Small Tablet Styles */
@media screen and (min-width: 860px) {
    body{
        font-size: 18px;
    }

    h1 {
        margin-top: 150px;
        margin-bottom: 100px;
    }

    #menu-toggle {
        display: none;
        }
    
        .site-nav ul {
            /* display: none;  Hide the menu by default */
            display: flex;
            flex-direction:row;
            position: absolute;
            top: 0;
            right: 0;
            background-color: var(--secondary);
            z-index: 1;
            margin-top: 8px;
            padding: 1px;
            margin-right: 40px;
        }
        
        .site-nav ul li{
            color: white;
            margin-top: 5px;
            font-size: medium;
            margin-left: 15px;
            padding: 10px;
            border-radius: 12px;
        }
        
        .site-nav ul li a {
            color: white;
            
        }
        
        .site-nav ul.active {
            display: flex; /* Display the menu when the active class is applied */
        }

    .nav {
        width: 100vw;
        background-color: #0B0B0B;
        padding: 5px;
        height: 50px;
        position: fixed;
        top: 0;
    }

    .site-nav{
        height: 100%;
    }

    .blinking-text2 {
        margin-top: 5px;
        margin-left: 10px;
    }

    .main{
        margin-left: 30px;
        /* margin-bottom: -200px; */
        
    }

    footer{
        height: 50px;
        padding: 5px;
        margin-top: 155px;
    }

    footer p {
        margin-top: 20px;
        font-size: medium;
    }
}

/* Large Tablet and laptops Styles */
@media screen and (min-width: 960px) {
    body{
        font-size: 20px;
    }

    .contact-container{
        margin-left: 20px;
    }

    .grid{
        width: 100%;
        max-width: 1060px;
        margin: 0 auto;
    }

    /* .main h1 {
        color: yellow;
        width: 70%;
        grid-column: span 7;
        grid-row: 1;
        margin-left: 20px;
        margin-top: 10px;
    } */
    
    /* .main h3 {
        grid-row: 2;
        margin-left: 20px;
        grid-column: span 5;
        color: red;
        margin-top: -130px;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    } */

    #menu-toggle {
        display: none;
        }
    
        .site-nav ul {
            /* display: none;  Hide the menu by default */
            display: flex;
            flex-direction:row;
            position: absolute;
            top: 0;
            right: 0;
            background-color: var(--secondary);
            z-index: 1;
            margin-top: 8px;
            padding: 1px;
            margin-right: 40px;
        }
        
        .site-nav ul li{
            color: white;
            margin-top: 5px;
            font-size: medium;
            margin-left: 15px;
            padding: 10px;
            border-radius: 12px;
        }
        
        .site-nav ul li a {
            color: white;
            
        }
        
        .site-nav ul.active {
            display: flex; /* Display the menu when the active class is applied */
        }

    .nav {
        width: 100vw;
        background-color: #0B0B0B;
        padding: 5px;
        height: 50px;
        position: fixed;
        top: 0;
    }

    .site-nav{
        height: 100%;
    }

    .blinking-text2 {
        margin-top: 5px;
        margin-left: 10px;
    }

    .main{
        /* margin-top: 80px; */
        margin-left: 30px;
        /* margin-bottom: -90px; */
    }

    footer{
        height: 50px;
        padding: 5px;
        margin-top: 100px;
    }

    footer p {
        margin-top: 20px;
        font-size: medium;
    }
}

/* desktop Styles */
@media screen and (min-width: 1200px) {
    body{
      font-size: 24px;  
    }
    
     #menu-toggle {
    display: none;
    }

    .site-nav ul {
        /* display: none;  Hide the menu by default */
        display: flex;
        flex-direction:row;
        position: absolute;
        top: 0;
        right: 0;
        background-color: var(--secondary);
        z-index: 1;
        margin-top: 8px;
        padding: 1px;
        
    }
    
    .site-nav ul li{
        color: white;
        margin-top: 5px;
        font-size: medium;
        margin-left: 15px;
        padding: 10px;
        border-radius: 12px;
    }
    
    .site-nav ul li a {
        color: white;
        
    }
    
    .site-nav ul.active {
        display: flex; /* Display the menu when the active class is applied */
    }

    .nav {
        width: 100vw;
        background-color: #0B0B0B;
        padding: 5px;
        height: 50px;
        top: 0;
        position: fixed;
    }

    .site-nav{
        height: 100%;
    }

    .blinking-text2 {
        margin-top: 5px;
        margin-left: -60px;
    }

    .contact-container {
        margin-left: 140px;
    }

    .main{
        /* margin-top: 100px; */
        margin-left: 30px;
        /* margin-bottom: -90px; */
    }

    footer{
        height: 50px;
        padding: 5px;
       /* margin-top: 100px; */
    }

    footer p {
        margin-top: 20px;
        font-size: medium;
    }
}


