body {
    color: #333;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
}

main {
    margin: 40px;
}

h1 {
    font-size: 30px;
    margin-bottom: 40px;
}

.button_container {
    border: 1px solid #ddd;
    margin: 0 10px 10px 0;
    padding: 20px;
    width: 300px;
    height: 300px;
    float: left;
    overflow: hidden;
    box-sizing: border-box;
    text-align: center;
}

.button_container a {
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    margin-top: 120px;
    box-sizing: border-box;
}

.button_container span {
    position: relative;
    z-index: 2;
}



#btn_mollyjogger {
    background-color: wheat;
    color: #31402e;;
    border: 2px solid #31402e;
    padding: 10px 25px;
    border-radius: 5px;
    font-family: 'Satisfy', cursive;
    font-size: 16px;
    letter-spacing: 1px;
    margin-top: 125px;
}

#btn_mollyjogger:hover {
    background-color: #31402e;
    color: wheat;
    border-color: #31402e;
}

#btn_harley-davidson {
    display: block;
    width: 250px;
    height: 150px;
    margin: 75px auto 0;
    text-align: center;
    text-decoration: none;
    position: relative;
    background-color: white;
    overflow: hidden;
    text-indent: -9999px;
}
#btn_harley-davidson img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    transition: opacity 0.35s ease-in-out;
}
.harley-before {
    opacity: 1;
}

.harley-after {
    opacity: 0;
}

#btn_harley-davidson:hover .harley-before {
    opacity: 0;
}

#btn_harley-davidson:hover .harley-after {
    opacity: 1;
}

#btn_lyft {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 75px auto 0;
    background-color: white;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

#btn_lyft:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
#btn_lyft img {
    
    max-width: 70%;
    max-height: 70%;
    display: block;
}

#btn_samsung {
    display: block;
    width: 250px;
    height: 150px;
    margin: 75px auto 0;
    text-align: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    text-indent: -9999px;
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    transition: all 0.3s ease-in-out; 
}

#btn_samsung:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 10px rgba(18, 64, 116, 0.4);
    border-color: #124074;
}

#btn_samsung img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%; 
    max-height: 80%;

    transition: opacity 0.5s ease-in-out;
}

.samsung-before {
    opacity: 1;
}

.samsung-after {
    opacity: 0;
}

#btn_samsung:hover .samsung-before {
    opacity: 0;
}

#btn_samsung:hover .samsung-after {
    opacity: 1;
}

 #btn_nike {
    display: flex; 
    align-items: center;
    justify-content: center;    
    width: 250px;
    height: 150px;
    margin-top: 75px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    background-color: #000; 
    border: 2px solid #000;
    clip-path: polygon(0% 0%, 100% 0%, 90% 100%, 0% 100%);
    transition: all 0.3s ease-in-out;
}

#btn_nike span {
   font-family: "futura-pt-bold", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 28px;
    color: white;
    position: relative; 
    z-index: 10; 
    transition: color 0.3s;
    top: -40px
}

#btn_nike:hover {
    background-color: #fff;
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

#btn_nike:hover span {
    color: #000;
}
#btn_nike img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%; 
    height: auto;
    transition: opacity 0.5s ease-in-out;
}
.nike-before {
    opacity: 0; 
}

.nike-after {
    opacity: 1; 
}

#btn_nike:hover .nike-before {
    opacity: 1; 
}

#btn_nike:hover .nike-after {
    opacity: 0; 
}

       #btn_tesla {
            background-color: #cc0000; 
            color: #fff;
            border: 2px solid #cc0000;
            border-radius: 3px;
            font-family: 'Open Sans', sans-serif;
            font-weight: 300; 
            font-size: 24px;
            letter-spacing: 5px;
            display: block; 
            text-align: center;
            text-decoration: none;
            width: 250px; 
            height: 150px; 
            position: relative;
            overflow: hidden;
            margin-top: 75px;
            box-shadow: 0 0 15px rgba(204, 0, 0, 0.4);
            transition: all 0.3s ease-in-out;
            text-indent: -9999px;
        }

        #btn_tesla img {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
            height: auto;
        }

        #btn_tesla .tesla-logo {
            z-index: 10;
            max-width: 60px;
            left: 50%;
            transform: translate(-50%, -50%); 
            filter: invert(100%) brightness(1.5);
        }
    
        #btn_tesla .tesla-font {
            z-index: 5;
            max-height: 40px;
            left: 50%;
            transform: translate(calc(-100% + 20px), -50%); 
            opacity: 0;
        }

        #btn_tesla:hover {
            background-color: #e51919;
            box-shadow: 0 0 25px rgba(204, 0, 0, 0.7); 
            transform: translateY(-3px);
            border-color: #fff;
        }
        
        #btn_tesla:hover .tesla-logo {
            transform: translate(calc(-50% -60px), -50%);
            opacity: .25;
            z-index: 1;
        }

        #btn_tesla:hover .tesla-font {
            transform: translate(-70px, -50%); 
            opacity: 1;
            z-index: 15;
        }

#btn_newyorker {
    background-color: transparent;
    color: #000;
    border: 2px solid #000;
    padding: 8px 15px;
    border-radius: 0;
    font-family: serif;
    font-style: italic;
    font-size: 24px;
    text-transform: none;
    letter-spacing: normal;
    margin-top: 130px;
}

#btn_newyorker:hover {
    background-color: #000;
    color: #fff;
}

#btn_instagram {
    color: #fff;
    border-radius: 10px;
    padding: 15px 30px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    margin-top: 120px;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #ffae32 45%, #eb469f 60%, #9e05f0 90%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#btn_instagram:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

#btn_oldnavy {
    background-color: #092c4f;
    color: #fff;
    border: 4px solid #f9d33a;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
    margin-top: 125px;
}

#btn_oldnavy:hover {
    background-color: #f9d33a;
    color: #092c4f;
    border-color: #092c4f;
}

@keyframes march {
    0% {
        left: -100px; 
    }
    100% {
        left: 350px;
    }
}

#btn_army {
    display: flex; 
    align-items: center;
    justify-content: center;
    width: 250px;
    height: 150px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    background-color: #717d5c;
    color: #fff;
    border: 3px dashed #3a3b37;
    padding: 12px 35px;
    border-radius: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    letter-spacing: 3px;
    margin-top: 120px;
    transition: all 0.3s ease-in-out;
}

#btn_army:hover {
    background-color: #3a3b37;
    border-style: solid;
    transform: skewX(-5deg);
}

#btn_army span {
    z-index: 15;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

#btn_army .army-logo {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: auto;
    z-index: 10;
    animation: march 5s linear infinite; 
}