:root{
    --pcolor:#16425B;
    --scolor:#2F6690;
    --tcolor:rgba(11, 39, 55, 0.887);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: sans-serif;
    background-color: #f0f0f0;
    position: relative;
}
img {
    width: 15px;
    margin-left: 5px;
}
label img{
    cursor: pointer;
}

/* custom css */

::-webkit-scrollbar{
    display: none;
}
input[type='text']{
    width: 100%;
    padding: 6px;
    margin: 10px 0;
    font-size: 15px;
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s, box-shadow 0.3s;
}
input[type='text']:focus{
    border-color: #16425B;
    box-shadow: 0 0 8px #16425B;
    outline: none;
}
input[type='text']::placeholder{
    color: #999;
}
/* custom css */

/* head css */
a {
    text-decoration: none;
    color: white;
}

.one-col {
    /* background-color: #3A7CA5; */
    background-color: #2F6690;
}

.two-col {
    background-color: #16425B;
}


.three-col {
    background-color: rgba(11, 39, 55, 0.887);
    padding: 5px;
    margin-top: 5px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header {
    width: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    min-height: 10vh;
    z-index: 99;
}

.head-div {
    width: 100%;
    background-color: #2F6690;
    height: 6vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.head-div h1 {
    text-align: center;
    color: white;
}

.connect {
    display: flex;
    position: absolute;
    top: 2vh;
    right: 2vw; 
   
}
.connect img{
    width: 20px;
}

/* .connect a {
     
} */
.about-link-icon{
    border-radius: 50%;
    height: 20px;
    width: 20px;
    border: 1px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-bar {
    background-color: #16425B;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4vh;
}

.nav-link {
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 0px;
    height: 4vh;
    cursor: pointer;
    
}
/* head css */

/* side bar */
.controlar-div{
    display: flex;
    flex-direction: column;
    width: 20%;
    padding: 10px;
    position: fixed;
    top: 0px;
    left: 0px;
    overflow: scroll;
    height: 90vh;
    background-color:#2F6690 ;
    margin-top: 10vh;
    padding-bottom: 20px;
    transition: left 0.3s ease;
}
textarea {
    /* width: 260px; */
    max-width: 100%;
    min-height: 200px;
    padding: 10px;
    font-family: monospace;
    font-size: 14px;
    margin-top: 5px;
}
#customText,#gridTemplateAreas{
    min-height: 100px;
}
button{
    border: none;
    padding: 10px;
    background-color: rgba(240, 255, 255, 0.634);
    border-radius: 10px;
    margin-top: 5px;
}

.hide-sidebar{
    left: -20%;
}
label{
    margin: 5px 0px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.color-box{
    min-width: 60px;
    min-height: 30px;
}

label, span{
    color: rgba(255, 255, 255, 0.812);
}
/* side bar */

#container {
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: -999;
    position: relative;
    padding-bottom: 20px;
    padding-top: 20vh;
    padding-bottom: 100px;
}
#customDiv {
    width: 100px;
    height: 100px;
    border: 1px solid #000;
    background-color: #94AF9F;
    margin-bottom: 20px;
   
}


/* range  */

input[type="range"] {
    -webkit-appearance: none; 
    appearance: none;
    width: 100%; 
    margin: 6px 0px;
    border-radius: 40px;
  }

  
  input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    background: #16425B;
    border-radius: 40px;
    cursor: pointer;
  }

  input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 17px;
    height: 17px;
    background: #16425B;
    cursor: pointer;
    border-radius: 50%;
    margin-top: -6.5px; 
  }

/* /check box */
  .checkbox {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #333;
    border-radius: 5px;
    background-color: #fff;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s, border-color 0.3s;
}

.checkbox::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 4px;
    width: 2px;
    height: 7px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s;
}

.checkbox:checked {
    background-color:#3A7CA5;
    border-color: #3A7CA5;
}

.checkbox:checked::after {
    opacity: 1;
}

.copy{
    position: fixed;
    bottom:0px;
    left: auto;
    font-size: 12px;
    background-color: #2F6690;
    color: white;
    width: 100%;
    text-align: center;
    z-index: 99;
}

.css-item {
    min-width:200px;
    max-width: 200px;
    margin-left: 10px;
    position: relative;
    flex-shrink: 0;
 }
 .cssList{
     margin-top: 10vh;
     display: flex;
     overflow-x: scroll;
     margin-left: 20vw;
     margin-bottom: 25px;
     position: relative;
 }
.showsavedata{
    min-height: 100px;
    background-color: #2F6690;
    border-radius: 10px;
    cursor: pointer;
}
.showsavedatabutton{
    position: absolute;
    top: 0px;
    right: 5px;
    background-color: rgba(11, 39, 55, 0.887);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    line-height: 1;
}


/* Style for the select element */
select {
    width: 100%;
    padding: 6px;
    margin: 5px 0;
    font-size: 15px;
    color: #333;
    background-color: white;
    border: 1px solid var(--tcolor);
    border-radius: 5px;
    box-shadow: inset 0 1px 3px var(--tcolor);
    appearance: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
    -moz-appearance: none; 
    -webkit-appearance: none;
}

/* Style for the select element when focused */
select:focus {
    border-color: var(--tcolor);
    box-shadow: 0 0 8px var(--tcolor);
    outline: none;
}

/* Style for the option elements */
select option {
    padding: 10px;
    background-color: var(--pcolor);
    color: white;
}


select::-ms-expand {
    display: none; 
}


select::after {
    content: '\25BC'; 
    position: absolute;
    right: 10px;
    pointer-events: none;
}
