/*
Author:  Leonard Garcia
All Rights Reserved
Created on February 8, 2025
*/
:root {
    margin: 0;
    padding: 0;
    color: #0000FF;
    font-family: "Helvetica", "Arial", sans-serif;
    line-height: 1.5;
}

body{
    margin: 0;
    color: darkgreen;
    background-color: black;
    overflow-x: hidden; /* To prevent horizontal scroll */
}

::-webkit-scrollbar {
    width: 1.5em;
    height: 1em;
}

::-webkit-scrollbar-track {
  background-color: hsl(120 75% 50%/1);
  border-radius: 100vw;
  margin-block: 0.5em;
}

::-webkit-scrollbar-thumb {
  background: hsl(120 100% 20% / 1);
  border: 0.25em solid hsl(120 100% 20% / 1);
  border-radius: 100vw;
}

::-webkit-scrollbar-thumb:hover {
  background: hsl(120 100% 10% / 1);
}

h1{
    color: gold;
    background-color: darkgreen;
    border: 4px;
    border-style: solid;
    border-radius: 2%;
    padding:       .4rem;
    margin-left:   3rem;
}

h2{
    font-family: "Bungee Spice", serif;
    font-weight: 400;
    font-style: normal;
}
span{
    color: red;
    font-family: Arial, Helvetica, sans-serif; 
}
/* Flex Styles */
 
.container {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
    width: clamp(260px, 900px, 1200px);
}
.titlebox{
    font-size: 1.5rem;
    color: yellow;
    background-color: black;
    margin-top: -5rem;
    margin-left: 40%;
}
.boxBordered{
    border:4px;
    border-color: gold;
    border-style: solid;
    border-radius: 2%;
    padding: 1.5rem;
    margin-left: 5rem;
    width: 70%;
}
.norm{
    color: white;
    font-size: 1rem;
}

#theme{
    align-self: center;
    width: 70%; height: 70%;
    margin-bottom: -5rem;
}

#addy{
   float: left; 
   padding: .5rem;  
   border: 4px;
   border-style: hidden;
   border-radius: 10%;
}
#story{
    font-family: 'Comic Sans MS', cursive;
    font-weight: 200;
    font-style: normal;
    font-size: 1.6rem;
    color: white;
}

.video {
     width: 400px;
     aspect-ratio: 16/ 9;
     margin-top: 2rem;
     margin-left: 60px;
     border: 8px;
     border-style: solid;
     border-color:#3399ff;
     border-radius: 5%;
     outline: 10px groove blueviolet;
     outline-offset: -1px;
     background-position: 0 0;
     background: rgb(2,0,36);
     background: linear-gradient(90deg, rgba(14,136,201,0.004639355742296902) 20%, rgba(58,133,135,0.8897934173669468) 31%, rgba(0,212,255,1) 100%);
     background-size: 140% 140%; 
}

ol{
    color: yellow;
}
ul{
    color: white;
}
#monitor{
    float:left;
    margin-right:.3rem;
}
/*****************************************************************************/
/**************************Styles for Drag & Drop*****************************/
/****************************************************************************/
.sub-container{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.draggable-words {
  display: flex;
  margin-bottom: 10px;
}

div #word1, #word2, #word3, #word4, #word5, 
		    #word6, #word7, #word8, #word9, #word10,
                    #word11, #word12, #word13, #word14, #word15,
                    #word16, #word17, #word18, #word19, #word20,
                    #word21, #word22, #word23, #word24, #word25
{
    display: inline-block;
    border: 1px;
    border-style: solid;
    width: fit-content;
}

#set1, #set2, #set3, set#4, #set5 {
    margin: 10px;
}
    
.word {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
    user-select: none;
}

.droppable-boxes {
    display: flex;
    justify-content: space-between;
    width: 80%;
}

.box {
    width: 115px;
    height: 40px;
    border: 2px solid #333;
    margin: 10px;
    text-align: center;
    line-height: 50px;
    color: black;
    font-weight: 600;
    background-color:burlywood;
    border-radius: 5px;
    padding: .5rem;
}

/*****************************************************************************/
/****************************End of Drag & Drop Styles************************/
/*****************************************************************************/

#trigger{
    color: black;
    background-color: white;
    border:4px;
    border-color: silver;
    border-style: solid;
    border-radius: 5%;
    margin-left: 40%;
}

#reveal{
   display: none; 
   margin-top: -2rem;
}

#gramIcon {
    display: block;
    cursor: pointer;
    width: fit-content;
    border-radius: 50%;
    padding:       4px;
    border: 5px solid yellow;
    margin-top:  1rem;
    margin-left: 5rem;
    opacity: .8;
}
#gramIcon:hover {
    opacity: 1;
}

#base {
    color: darkgreen;
    margin-left: 5.5rem;
    margin-top:  1rem;
}

#footer {
    position: relative;
    top: 90px;
    background-color:black;
    color:white;
    clear:both;
    margin-left: 15rem;
    padding:7px;
}

/**********************************************************************/
/***************************Smartphone**********************************/
/*********************************************************************/

@media only screen and (max-width: 600px) {
    :root{
        margin: 0; 
    }
    
    body{
        margin:0;
        color: darkgreen;
        background-color: black;
        box-sizing: border-box;
        overflow-x: hidden; /* To prevent horizontal scroll */
        max-width: 400px;
    }
 
    .container {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: flex-start;
        width: 400px;
        margin: 0;
    }
    .titlebox{
        font-size: 1.3rem;
        color: yellow;
        background-color: black;
        margin-top: -1rem;
        margin-left: 5rem;
        margin-bottom: 1rem;
        width: 270px;
    }
    .boxBordered{
        border:4px;
        border-color: gold;
        border-style: solid;
        border-radius: 2%;
        padding: 1rem;
        margin-left: 2rem;
        width: 66%;
    }
    .norm{
        color: white;
        font-size: .95rem;
    }

    #theme{
        align-self: center;
        width: 92%; height: 92%;
        margin-bottom: -3rem;
    }

    #addy{
       float: left; 
       padding: .5rem;  
       border: 4px;
       border-style: hidden;
       border-radius: 10%;
       width: 90%;
    }
    #story{
        font-family: Comic;
        font-size: 1.6rem;
        color: white;
    }

    .video {
        width: 245px;
        aspect-ratio: 16/ 9;
        margin-top: 2rem;
        margin-left: 5px;
        border: 8px;
        border-style: solid;
        border-color:#3399ff;
        border-radius: 5%;
        outline: 10px groove blueviolet;
        outline-offset: -1px;
        background-position: 0 0;
        background: rgb(2,0,36);
        background: linear-gradient(90deg, rgba(14,136,201,0.004639355742296902) 20%, rgba(58,133,135,0.8897934173669468) 31%, rgba(0,212,255,1) 100%);
        background-size: 140% 140%; 
   }
   
   #DOSA{
       width: 75%;
   }
   #chart{
       width: 92%;
   }
   
   .sub-container{
        display: flex;
        flex-direction: column;
        align-items:start;
    }
    
    .word{
        font-size: .7rem;
        padding:.3rem;
        margin-left: -3px;
    }
    
    .droppable-boxes {
        display: flex;
        justify-content:space-evenly;
        width: 98%;
    }
    
    .box {
        width: 135px;
        height: 40px;
        border: 2px solid #333;
        margin-left: -15px;
        text-align: left;
        line-height: 40px;
        color: black;
        font-size: .7rem;
        font-weight: 600;
        background-color:burlywood;
        border-radius: 5px;
        padding: .7rem;
    }
    
    #trigger{
         margin-left: 30%;
    }
    
    #footer{
       margin-left: 5rem;
       width: fit-content;
    }
}
