       /* MOBILE VIEW */


    @media screen and (max-width:530px){
        #entice,#efficiency,#salesPitch{
            width:100%;
        } 
    } 
    @media screen and (max-width:530px){
        #greetings{
            animation-name: slideRight2;
            animation-duration: 2.5s;
        } 
    }
    @keyframes slideRight2{
        to{
            transform: translateX(32%);
        }
    } 
    @media screen and (max-width:530px){
        #salesPitch{
            padding-right:1px;
           
        } 
    } 
    @media screen and (max-width:530px){
        #efficiency{
            margin-left: 75px;
            width:60%;
        } 
    } 
    @media screen and (max-width:530px){
        .navbar a{
            padding-top: 13px;
            padding-bottom: 13px;
            padding-left: 5px;
            padding-right:5px;
        } 







        #list-container li {
            background-color: #fff385;
            margin: 5px;
            margin-left: 3px;
            margin-right: 2px;
            padding: 25px;
            border-radius: 8px; 
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between; /* Added to align buttons to the right */
            height: 200px;
            width: 100%;
            margin: 10px;
            border-radius: 10px;
            box-shadow: var(--bashdo);
        }























#greetings
{
    font-size: 1.75em;
    transform: translateX(0); /* Initially at 0 (left) */
    animation: slideRight 2s forwards ease-in-out; /* 2s animation */
    white-space: nowrap; /* Prevent text wrapping */
}
.greetings{
    width: 98%;
    height:4.5rem;
    padding-bottom: 10%;
    margin-right: 1%;
    margin-left: 1%;

}




#entice{
    display:inline-block;
    width:100%;
    height:auto;
    border-top: 4px solid;
    border-left: 4px solid;
    border-right: 4px solid;
    border-bottom: 4px solid;
    padding:0;
    margin:0;
    overflow:hidden;
    position:relative;
}
.yap{
    display:inline-flex;
    align-self: center;
    margin-block-start: 10px;
    text-align:left;
    width:80%;
    float:right;
    padding:10px;
    background-color: #FF8080;
}
#salesPitch{
    font-family: boldText;
    text-shadow: var(--shadow);
    margin-block-start: 10px;
    text-align:left;
    height:100%;
    width:100%;
    float:right;
    padding:10px;
    margin-top: 10em;
    margin-bottom: .1em;
    font-size: 1.15em;
}
.s1{
    
    width:70%;
    top:0%;
    left:25%;
}
#s1{
    position: absolute;
    top:0%;
    left:15%;
}
#h1{
    padding:10px;
    width:70%;
   
    position:absolute;
    top:0%;
    left:15%;
}
  .divLetters{
    
    display:inline-block;
    position: relative;
    width:100%;
    height:auto;
    text-align: center;
    align-items: center;
    background-color: black;
    padding:0;
    margin:0;
    
    background-image: url(images/firetr.png);
    background-position:center;
    background-attachment: fixed;
    background-size:cover;

    position:relative;

  }
  .letters{
    letter-spacing: 5px;
    text-shadow: -1px -1px 0 #FFF, 1px -1px 0 #FFF, -1px 1px 0 #FFF, 1px 1px 0 #FFF;
    text-transform: uppercase;
    color: slategray;
    font-size:2em;
    font-family: brand;
}
#space1{
    height:70px;

}
#twohome{
    display:inline-block;
    position: relative;
    height:auto;
    width:100%;
    padding:7px;
    margin:0;
}
#twoimage img{
    height:100%;
    width:33%;
    float:left;
    border: 4px outset white;
}
.twotext{
    height:100%;
    width:48%;
    float:right;
    font-family: boldText;
    font-size: 1.5em;
    text-shadow: var(--shadow);
}

#threehome{
    display:inline-block;
    position: relative;
    height:auto;
    width:100%;
    background-color: #E9B384;
    padding:7px;
    margin:0;
    border: 4px solid black;
}
#threeimage img{
    height:18em;
    width:100%;
    float:right;
    border: 4px outset white;
    object-fit: cover;
    margin-right: 0%;
}
.threetext{
    height:100%;
    width:100%;
    float:left;
    font-family: boldText;
    font-size: 1.15em;
    text-shadow: var(--shadow);
}
#space3{
    height:30px;
}


#fourhome{
    display:inline-block;
    position: relative;
    height:auto;
    width:100%;
    padding:7px;
}
#fourimage img{
    height:12em;
    width:100%;
    float:left;
    border: 4px outset white;
    object-fit: cover;
    margin-left: 0%;
}
.fourtext{
    height:100%;
    width:100%;
    float:right;
    font-family: boldText;
    font-size: 1.2em;
    text-shadow: var(--shadow);
}

#space4{
    height:30px;
}


#fivehome{
    display:inline-block;
    position: relative;
    height:100%;
    width:100%;
    background-color: #f8957f;
    padding:7px;
    margin:0;
    border: 4px solid black;
    padding-bottom: -12em;
}
#fiveimage img{
    object-fit: cover;
    height:14em;
    width:100%;
    float:right;
    border: 4px outset white;
    margin-right: 0%;
}
.fivetext{
    height:100%;
    width:100%;
    float:left;
    font-family: boldText;
    font-size: 1.15em;
    text-shadow: var(--shadow);
    
}













#cards div{
    position: absolute;
    margin-top: 2.5em;
    width:var(--w);
    aspect-ratio: 1/1;
    transform:rotateX(10deg) rotateY(45deg);
    border-radius: 10px;
    transition:.5s;
    padding-left: 7px;
    font-family: brand;
    font-size: 20px;
    
    cursor:pointer;
    overflow: hidden;
}
#cards div:hover{
    transform: translateX(10px) rotateX(10deg) rotateY(45deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);

}
.move-to-top {
    transform: rotate(-360deg);
}
#cards div:nth-child(1){
    right:calc(85% - var(--w)/2);
    top:43%;
    z-index: 1;
    background-color: rgb(161, 68, 68);

}
#cards div:nth-child(1):active{
    opacity: 0;
}
#cards div:nth-child(2){
    right:calc(75% - var(--w)/2);
    top:40%;
    z-index: 0;
    background-color: rgb(237, 100, 100);
}
#cards div:nth-child(3){
    right:calc(65% - var(--w)/2);
    top:37%;
    z-index: -1;
    background-color:  rgb(79, 149, 65);

}
#cards div:nth-child(4){
    right:calc(55% - var(--w)/2);
    top:34%;
    z-index: -2;
    background-color:  rgb(123, 237, 100);

}
#cards div:nth-child(5){
    right:calc(45% - var(--w)/2);
    top:31%;
    z-index: -3;
    background-color: rgb(100, 198, 237);

}
#cards div:nth-child(6){
    right:calc(35% - var(--w)/2);
    top:28%;
    z-index: -4;
    background-color: cornflowerblue;

}
#cards div:nth-child(7){
    right:calc(25% - var(--w)/2);
    top:25%;
    z-index: -5;
    background-color: rgb(111, 100, 237);

}
#cards div:nth-child(8){
    right:calc(15% - var(--w)/2);
    top:22%;
    z-index: -6;
    background-color: rgb(173, 100, 237);
}








.clearfix::after {
    content: "";
    clear: both;
    display: table;
}
#space{
    height: .7em;
    width: auto;
    clear: both;
}

.message {
    position: absolute;  /* Fixed position */
    bottom: 20px; /* Space from the bottom */
    left: 25%; /* Start positioning from the left middle */
    transform: translateX(-20%);
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    color: var(--messagi);
    display: none; /* Initially hidden */
    padding: 10px;
    font-family: 'Poppins';
    margin-top: 22em;

}





















#big{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--primary-page-bg);
    
    overscroll-behavior: none;
    transition: background-color 0.5s ease;
}
#stopwatch{
    font-size: 2em;
    font-family: brand, sans-serif;
    color: var(--stopwatch);
    transition: background-color 0.5s ease;
}
.container{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1em;
    border: 15px solid;
    width: 80%;
    height:18em;
    
    border-radius: 50%;
    transform:translateY(2em);  
    background-color: var(--container);
    color: var(--border-color);
    transition: background-color 0.5s ease;
}
#time{
    font-size: 2.5rem;
    font-family: monospace, sans-serif;
    font-weight: bold;
    
    transform: translateY(195%);

    text-shadow: 2px 2px 2px hsla(0, 0%, 0%, 0.75);
    margin-bottom: 25px;
    color: var(--time);
    transition: background-color 0.5s ease;
}
#controls button{
    transform: translateY(230%);
    font-family: curvyText;
    font-style: italic;
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 20px;
    margin: 5px;
    min-width: 2em;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    color: rgb(255, 255, 255);
    transition: background-color 0.5s ease;
}
#startButton{
    background-color: hsl(115, 88%, 38%);
}
#startButton:hover{
    background-color: hsl(115, 96%, 27%);
}
#stopButton{
    background-color: hsla(3, 67%, 46%, 0.9);
}
#stopButton:hover{
    background-color: hsla(349, 98%, 24%, 0.9);
}
#resetButton{
    background-color: #f7b538;
}
#resetButton:hover{
    background-color: goldenrod ;
}



#container {
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#container::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 30px;
    background-color: #333;
    border-radius: 10px 10px 0 0;
}

#container::after {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: #333;
    border-radius: 50%;
}
:root{
    --w:120px;
}
}