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;
    display: flex;
    justify-content: center;
    align-items: center;
}



a#btn_spotify {
    display: inline-block;
    height: 50px;
    box-sizing: border-box;
    border-radius: 25px;
    margin: auto;
    margin-top: 100px;
    padding: 10px 40px 0 40px;
    background-color: #2ebd59;
    border: 2px solid #2ebd59;
    color: #fff;
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-decoration: none;
    transition: all .5s;
}

a#btn_spotify:hover {
    background-color: #fff;
    border: 2px solid #000;
    color: #000;
}

#btn_newYorker{
    font-family: "the-seasons", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size:24px;
    text-transform: uppercase;
    text-decoration: none;
    color:black;
    transition: transform 0.5s, color 0.3s ease;
}

#btn_newYorker:hover{
    transform: scale(1.2);
    color:#cecdcd;
}

#btn_nike:hover{
    display: block;
    transform-origin: center bottom;
    animation-name: shake;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

@keyframes shake {
    from { transform: rotate(-7deg); }
    to { transform: rotate(7deg); }
  }

#btn_ibm{
    transition: fill 0.3s ease;
}

#btn_ibm:hover{
    fill: #1f70c1;

}

#btn_lyft{
    transition: transform 0.5s ease;
}

#btn_lyft:hover{
    transform:translateY(-30px);
}

#btn_lyft:hover svg path{
    filter: drop-shadow(0 0 5px #EA0B8C);
}

#btn_lyft svg path{
    transition: filter 0.5s ease;
}

#btn_tesla {
    position: relative;
    width: 300px;
    height: 150px; 
    overflow: hidden;
}

#btn_tesla .logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}


#btn_tesla .logo2 {
    left: -100%; 
    opacity: 0;
}

#btn_tesla:hover .logo1 {
    opacity: 0;
}

#btn_tesla:hover .logo2 {
    left: 50%;
    opacity: 1;
}

#btn_cn{
    display: inline-block;
    transition: transform 0.5s ease;
    transition: all 0.3s ease;
    overflow: hidden;
    width: 240px;
    transform-origin: center center;
}

#btn_cn:hover{
    transform: translateX(100%) rotate(360deg);
}

#btn_instagram:hover{
    animation-name: move;
    animation-duration: 1s;
}

@keyframes move {
    0% { transform: translateY(0); }
    15% { transform: translateY(10px) scaleY(0.8); }
    30% { transform: translateY(-40px)scaleY(1); }
    70% { transform: translateY(10px) scaleY(0.8); }
    100% { transform: translateY(0); }
  }

#btn_oldNavy {
    position: relative;
    width: 300px;
    height: 150px; 
    overflow: hidden;
}

#btn_oldNavy  .navy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

#btn_oldNavy .navy2 {
    opacity: 0;
}

#btn_oldNavy:hover .navy1 {
    opacity: 0;
}

#btn_oldNavy:hover .navy2 {
    opacity: 1;
}

#btn_michael {
    position: relative;
    width: 130px;
    height: 130px;
}

#btn_michael .mk {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    transition: transform 0.5s ease;

}

#btn_michael:hover .mk {
    transform: scale(0.8);
}

.circle-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 130px;
    height: 130px;
}

.circle-svg circle {
    fill: none;
    stroke: #000;
    stroke-width: 6;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#btn_michael:hover .circle-svg circle {
    opacity: 1;
}

#btn_nbc{
    display: flex;
    flex-direction: column; 
    align-items: center;        
}

.nbcImg img {
    width: 200px;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

#btn_nbc:hover .nbcImg img {
    transform: translateY(-20px) scale(0.8);
}

.nbcText {
    opacity: 0;
    transition: opacity 0.5s ease; 
    width: 100px;
    position:relative;
    bottom:30px;
}

#btn_nbc:hover .nbcText {
    opacity: 1; 
}
