*{
    margin: 0;
    padding: 0;
}
html::-webkit-scrollbar{
    display:none;
}

body{
    background-color: #efeeef;
}

.topbar {
    background: linear-gradient(135deg, #f15b0e, #ff7e5f); 
    padding: 20px;
  }
  
  #logo {
    margin-left: 47%;
    height: 80px; 
  }
  
  h3 {
    text-align: center;
    color: white;
    font-size: 24px;
  }

  p{
    display: inline-block;
    margin-left: 95%;
    color: white;
    padding: 5px;
  }

  p:hover{
   border-bottom: 2px solid #fff;
  }

  #logout{
    color: white;
    font-size: 16px;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid white;
    padding: 4px;
    border-radius: 3px;
    margin-left: 95%;
  }

 .max
{
    width: 90%;
    margin: auto;
    margin-top: 20px;
    background-color: white;
    box-shadow: 5px 5px 10px rgb(0,0,0,0.2);
    padding: 10px;
    transition: 1s ease;
}

 .min{

    display: flex;
    justify-content: center;
    background-color: white;
    padding: 10px;
 }

.fancy {
    background-color: transparent;
    border: 2px solid #000;
    border-radius: 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    /* float: left; */
    font-weight: 700;
    letter-spacing: 0.05em;
    margin:0;
    outline: none;
    overflow: visible;
    padding: 1.25em 2em;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    transition: all 0.3s ease-in-out;
    user-select: none;
    font-size: 13px;
   }
   
   .fancy::before {
    content: " ";
    width: 1.5625rem;
    height: 2px;
    background: #efeeef;
    top: 50%;
    left: 1.5em;
    position: absolute;
    transform: translateY(-50%);
    transform-origin: center;
    transition: background 0.3s linear, width 0.3s linear;
   }
   
   .fancy .text {
    font-size: 1.125em;
    line-height: 1.33333em;
    padding-left: 2em;
    display: block;
    text-align: left;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    text-decoration: none;
    color: black;
   }
   
   .fancy .top-key {
    height: 2px;
    width: 1.5625rem;
    top: -2px;
    left: 0.625rem;
    position: absolute;
    background: #e8e8e8;
    transition: width 0.5s ease-out, left 0.3s ease-out;
   }
   
   .fancy .bottom-key-1 {
    height: 2px;
    width: 1.5625rem;
    right: 1.875rem;
    bottom: -2px;
    position: absolute;
    background: #e8e8e8;
    transition: width 0.5s ease-out, right 0.3s ease-out;
   }
   
   .fancy .bottom-key-2 {
    height: 2px;
    width: 0.625rem;
    right: 0.625rem;
    bottom: -2px;
    position: absolute;
    background: #e8e8e8;
    transition: width 0.5s ease-out, right 0.3s ease-out;
   }
   
   .fancy:hover {
    color: white;
    background: #f15b0e;
    border: 2px solid white;
   }
   
   .fancy:hover::before {
    width: 0.9375rem;
    background: white;
   }
   
   .fancy:hover .text {
    color: white;
    padding-left: 1.5em;
   }
   
   .fancy:hover .top-key {
    left: -2px;
    width: 0px;
   }
   
   .fancy:hover .bottom-key-1,
    .fancy:hover .bottom-key-2 {
    right: 0;
    width: 0;
   }

  
#contentDisplay {
    width: auto;
    height: auto;
    background-color: #ffffff; 
    border: 1px solid #ccc; 
    border-radius: 8px; 
    padding: 15px; 
    margin: 10px 0; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
    font-family: 'Arial', sans-serif; 
    transition: 1s ease;
}

#contentDisplay strong {
    color: #f15b0e; 
}


hr {
    border: 0; 
    height: 1px; 
    background: #f15b0e; 
    margin: 10px 0;
}

/* Media Query for devices with a max width of 768px */
@media (max-width: 768px) {
    .topbar{
        padding: 10px;

    }
    .min{
        padding: 5px;
    }
    #logo {
        margin-left: 45%; /* Adjust logo positioning */
        height: 60px; /* Reduce logo size */
    }

    h3 {
        font-size: 16px;
        padding: 0; /* Decrease heading size */
    }

    p, #logout {
        margin-left: 0%; /* Adjust margins */
        font-size: 14px; /* Decrease font size */
    }

    .max {
        width: 95%; /* Make the container wider on small screens */
        margin-top: 10px; /* Reduce top margin */
    }

    .fancy {
        font-size: 12px; /* Reduce button font size */
        padding: 0.5em 1em; /* Adjust padding */
    }

    #contentDisplay {
        padding: 5px; /* Reduce padding */
        font-size: 12px; /* Decrease font size */
    }

    .fancy::before{
        width: 0.5rem;
    }

    .fancy:hover::before{
        width:0.5rem;
    }
}


