/*!******************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/styles.css ***!
  \******************************************************************/
/* styles.css */

.c { 
  color: red;
}

body {
  font-family: "Lato", sans-serif;
}

.content-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  width: 100%;
}

.text-content {
  flex: 1;
}

.instagram-media-mobile {
  flex: 0 0 300px;
  display: none; /* Hide by default on desktop */
}

.instagram-media-desktop {
  flex: 0 0 300px;
  max-width: 300px;
  display: block; /* Show by default on desktop */
  margin-left: 10px;
  padding-left: 10px;
  align-self: flex-start; /* Prevent vertical stretching */
}

.sidebar {
  height: 100%;
  width: 30%; /* Default width for larger screens */
  margin-left: auto;
  margin-right: auto;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(255, 255, 255);
  overflow-x: hidden;
  padding-top: 60px;
  transition: width 0.3s ease-in-out, padding 0.3s ease-in-out 0.3s, visibility 0.3s ease-in-out;
  visibility: visible;
}

.sidebar.no-transition {
  transition: none;
}

.sidebar a {
  padding: 10px 8px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
  margin-left: 20%;
}

.sidebar a:first-of-type {
  margin-top: 4px;  /* Add space to first link to match h1 spacing */
}

.sidebar a:hover {
  color: #000000;
}

.sidebar .closeBtn {
  /* width: 0px; */
  display: none; /* Hide close button by default */
}

.main {
  margin-left: 30%; /* Default margin for larger screens */
  margin-right: 7.5%;
  padding: 16px;
  padding-top: 60px;
  transition: margin-left .5s;
}

h1.header { 
  margin-top: 0px;
}

.openBtn {
  display: none; /* Hide open button by default */
}

.status-pill {
  display: inline-block;
  padding: 0px;
  border-radius: 12px;
  background-color:#85da92;
  color: #ffffff;
  align-items: center;
  margin-left: 8px;
  margin-top: 0px;
}

.status-text { 
  font-size: 16px;
  font-weight: 700;
  margin: 4px 8px;
}

.body-content { 
  display: flex;
  flex-direction: row;
}

.body-text { 
  margin-right: 18px;
}

.inquiry-form { 
  display: grid;
  width: 50%;
}

.inquiry-form input, 
.inquiry-form textarea, 
.inquiry-form p, 
.inquiry-form select { 
  background-color: #000000;
  color: #ffffff;
  font-size: 16px;
  margin: 8px 0px;
}

.inquiry-form p { 
  font-size: 12px;
  margin: 8px 0px 2px 3px;
}

.inquiry-form textarea { 
  height: 80px;
}

.inquiry-form button { 
  margin-top: 16px;
  height: 30px;
  border-radius: 12px;
}

.diary-entry-text {
  margin: 0px; /* Apply 8px margin on mobile */
}

/* Media query for mobile devices */
@media screen and (max-width: 800px) {
  .sidebar {
    width: 0;
    visibility: hidden;
    padding-top: 16px;
    padding-left: 16px;
  }
  .sidebar.open {
    width: 175px;
    border-right: 1px solid #e0e0e0;
    visibility: visible;
  }
  .sidebar a {
    font-size: 18px;
    margin-left: 0%;
  }
  .sidebar .closeBtn {
    display: block; /* Show close button on mobile */
    margin-bottom: 27px;
  }
  .main {
    margin-left: 0; /* No margin on mobile */
    padding-top: 16px;
  }
  .openBtn  {
    display: block; /* Show open button on mobile */
    font-size: 20px;
    cursor: pointer;
    background-color: #111;
    color: white;
    padding: 15px 15px;
    margin: 16px;
    border: none;
  }
  .closeBtn  {
    display: block; /* Show open button on mobile */
    font-size: 20px;
    cursor: pointer;
    background-color: #111;
    color: white;
    padding: 15px 15px;
    margin-left: 8px;
    border: none;
  }
  .closeBtn:hover {
    background-color: #444;
  }
  .openBtn:hover {
    background-color: #444;
  }
  .text-content {
    margin-right: 0;
  }

  .body-content { 
    flex-direction: column;
  }
  
  .instagram-media-mobile {
    display: block; /* Show on mobile */
    width: 100%;
    max-width: 300px; /* Limit width to match desktop */
    margin: 2rem 0;
  }

  .instagram-media-desktop {
    display: none; /* Hide on mobile */
  }

  .diary-entry-text {
    margin-top: 16px; /* Apply 8px margin on mobile */
  }
}

/* Pronunciation */
.progress {
  position: relative;
  display: inline-block;
  line-height: 1; /* Ensures the icon is vertically centered */
}

.progress.playing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg); /* Center the circle */
  width: 40px; /* Adjust size as needed */
  height: 40px; /* Adjust size as needed */
  border: 2px solid transparent;
  border-radius: 50%;
  border-top-color: #000;
  animation: progress 4s linear forwards;
}

@keyframes progress {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Dark mode styles */
body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

body.dark-mode .sidebar {
  background-color: #1e1e1e;
}

body.dark-mode .sidebar a {
  color: #b0b0b0;
}

body.dark-mode .sidebar a:hover {
  color: #ffffff;
}

body.dark-mode .status-pill {
  background-color: #4a7d53;
}

body.dark-mode .openBtn,
body.dark-mode .closeBtn {
  background-color: #333;
  color: #e0e0e0;
}

body.dark-mode .openBtn:hover,
body.dark-mode .closeBtn:hover {
  background-color: #555;
}

/* Add more dark mode styles for other elements as needed */

/* Dark mode toggle button */
.dark-mode-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px;
  background-color: #f0f0f0;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1000;
}

body.dark-mode .dark-mode-toggle {
  background-color: #333;
  color: #e0e0e0;
}

