/* General */

/* CSS Variables - Color Scheme */
:root {
  /* Primary Colors */
  --primary-blue: #B0E0E6;        /* Current powder blue (navbar) */
  --primary-gold: #FEDC72;        /* Current gold (borders, accents) */
  --button-gold: #f6d161;         /* Current button yellow */
  
  /* Blue Variations */
  --light-blue: #B0E0E6;          /* Powder blue */
  --medium-blue: #4895ef;         /* Your current blue buttons */
  --dark-blue: #071c2e;           /* Your current dark text/borders */
  --accent-blue: #a5d8ff;         /* Your current info backgrounds */
  
  /* Gold/Yellow Variations */
  --light-gold: #FFF4D6;          /* Light gold backgrounds */
  --border-gold: #FEDC72;         /* Border accent */
  --button-gold-hover: #f7cf5a;   /* Button hover state */
  --button-gold-active: #FFB000;  /* Button active state */
  
  /* Neutral Colors */
  --background-light: #f8f9fa;    /* Main backgrounds */
  --background-gray: #f1f1f1;     /* Sidebar backgrounds */
  --background-darker: #e9ecef;   /* Hover states */
  --background-blue-light: #d3e8fa; /* Light blue backgrounds */
  
  /* Text Colors */
  --text-primary: #071c2e;        /* Main text */
  --text-white: #ffffff;          /* White text */
  --text-gray: #868e96;           /* Gray text */
  --text-gray-dark: #656b73;      /* Darker gray */
  
  /* Status Colors */
  --success-bg: #d3f9d8;          /* Success message background */
  --success-text: #2f9e44;        /* Success message text */
  --error-bg: #ffe3e3;            /* Error message background */
  --error-text: #e03131;          /* Error message text */
  --info-bg: #a5d8ff;             /* Info message background */
  --info-text: #1864ab;           /* Info message text */
  
  /* Border Colors */
  --border-primary: var(--text-primary);      /* Main borders */
  --border-light: #ADD8E6;        /* Light borders */
  --border-gold: #FEDC72;         /* Gold borders */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  position: relative;
  min-height: 100vh;
}

body {
  font-family: Noto Sans Japanese;
  line-height: 1.5rem;
  color: var(--text-primary); 
  margin: 0 auto;
  font-size: 16px;
  background-color: var(--background-light);
  max-width: 2100px;
  min-height: 870;
}

#id_topic,
#id_location { color: var(--text-primary); }

#home-page-welcome{ 
  font-size: 1.7rem;
  padding-bottom: 9px;
}

.page-top-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-items: center;
  align-items: center;
}

.welcome-newstar {
  margin: 35px 0px;
  grid-column: 2/3;
  text-align: center;
  /* margin-top: 60px; Fixing side minimize jumping issue. 
  min-height: 400px; */
}

.friends-section {
  background-color: var(--background-gray);
  grid-row: 1/4;
  grid-column: 3/4;
  text-align: center;
  width: 195px;
  border: #ADD8E6, 1px, solid;
  padding: 12px 14px;
  margin-top: 95px;
  border-radius: 5px;
  align-self: start;
}

.search-friends {
  margin-top: 10px;
}

.search-friends input[type="text"] {
  width: 83%; /* Half the size of the original width */
  transition: width 0.3s; /* Transition for smooth resizing */

}

.search-friends input[type="text"]:focus {
  width: 100%; /* Increase the size when focused */
}

#search-friends-btn {
  background-color: var(--medium-blue);
  color: #fff;
  border: none;
  margin-top: 5px;
  padding: 105x 20px;
  border-radius: 5px;
}


.share-list {
  display: none;
  position: fixed;
  top:200px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  margin-top: 14px;
  background-color:  #F0F8FF;
  border: 1px solid  #D3D3D3 ;
  border-radius: 3px;
  padding: 3px 0px 10px 0px;
}

.share-list h2{
  text-align: center;
  margin: 11px;
}

.friend-share--list {
  margin: 17px;
  margin-top: 22px;
  padding: 3px 5px;
}

.sRoot-sender {
  font-size: 1.1rem;
}

.share-root {
  display: block;
  text-align: end;
}

.share-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  vertical-align: 0px;
  text-align: end;
}

.share-button ion-icon {
  font-size: 20px;
  color: #333;
}


.share-button:hover ion-icon {
  color: var(--text-primary);
}


.welcome-message {
  padding: 20px 5px;
  border-bottom:var(--border-gold) 1px solid;
  line-height: 31px;
  font-size: 1.5rem;
}

.hero-title { 
  font-size: 1.6rem; 
  width: 75%;
  margin: 3px auto 5px auto;
  line-height: 110%;
  text-align: center;
  font-size: 2.3em;
  font-family: 'Merriweather', serif;
}

.hero {  
  width: 50%;
  margin: 0 auto;
  display: block;
  text-align: center;
  padding: 20px;
  margin-bottom: 20px;
}

.hero-quote {
  border-radius: 17px;
  padding: 15px;
  padding-bottom: 1px;
}

ul { list-style: none; }

.SRoot-display-options {
  display: none;
  justify-self: center;
  margin: 5px;
  margin-right: 20px;
  grid-column: 2/3;
  text-align: center;
}

#sort-by {
  margin-left: 2px;
  border-radius: 2px;
}

.share-button ion-icon{
  color:var(--border-gold);  
}


          /* ////////////////////// */
          /*  Stones of Remembrance */

.stones--section {
    background-color: var(--background-gray);
    grid-row: 2/4;
    grid-column: 3/4;
    text-align: center;
    max-width: 195px;
    border: #ADD8E6, 1px, solid;
    padding: 12px 14px;
    margin-top: 30px;
    border-radius: 5px;
    align-self: start;
}


.add-new--stoneheep {
  margin: 50px auto;
  display: block;
  text-align: center;
}

.add-new--stoneheep h1 {
  line-height: 1.5rem;
}

          


                          /* //////////////////// */
                            /*       About      */

.about-container {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 50px;
  padding: 20px;
  background-color: #f5f5f5;
  border-radius: 5px;
}

.about-container h1, h2, p {
  margin: 0 0 10px;
}
.about-container h1, h2 {
  text-align: center;
}

.about-container h2 {
  margin-bottom: 18px;
}

.about-container p {
  line-height: 1.5;
  font-size: 1.1rem;
}

.about-container a {
  color: #007bff;
}

.about-title {
  margin-top: 30px;

}

.process-user-container {
  text-align: center;
}

.helptext {
  display: block;
}




                                  /* /////////////// */
                                  /*       Links     */

#reg--link {
  color: #0000EE;
}

h2 a {
  text-decoration: none;
  color: #f1f3f5;
  padding: 5px;
}

a {
  text-decoration: none;
  color: var(--text-primary);
}

a:hover {
  color: #114673;
  border-bottom: 1px solid var(--text-primary);
  cursor: pointer;
  transition: color 0.3s border 1s;
  border-bottom: none;
}

input {
  padding: 5px;
  border-radius: 4px;
  border: 1px solid var(--text-primary);
  background-color: #fff;
}

input[type="button"],
#delete--anchor-tag:link,
input[type="submit"] {
  background: var(--background-light);
  cursor: pointer;
  border-radius: 3px;
  padding: 6px 8px;
  border: 1px solid var(--text-primary);
}

input[type="button"]:hover,
input[type="submit"]:hover {
  background-color: #e9ecef;
  transition: background-color 0.1s;
}


.form-selector {
  border: none; 
}

                          /* //////////////////// */
                          /*    Dropdown menu    */

.dropdown {
  position: relative;
  display: inline-block;
  justify-content: center;
  z-index: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #7ab9f0;
  background-color: #e6e8ea;
  min-width: 160px;
  box-shadow: 0px 2px 3px 0px;
  z-index: 99999;
  border-radius: 5px;
  padding: 3px;
  justify-content: center;
}

.dropdown-menu-center {
  left: 50% !important;
  right: auto !important;
  text-align: center !important;
  transform: translate(-50%, 0) !important;
}

.dropdown-content a {
  padding: 6px 4px;
  display: inline-block;
}

.menu-seperator:hover { cursor: default; }



                          /* ///////////////// */
                          /*    Navigation    */

.navbar {
  background-color: var(--primary-blue);
  
  display: flex;
  height: 80px;
  font-size: 1.3rem;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--border-gold) 1px solid;
  z-index: 100;
  position: relative;
}

.navbar img {
  width: 170px;
  padding-left: 40px;
}

.navbar--links {
  list-style-type: none;
  text-align: right;
  margin-right: 40px;
  padding: 10px;
}

.navbar--links li {
  display: inline-block;
  padding: 8px;
}

.icon--anchor {
  position: relative;
  top: 3px;
} 

.icon--anchor:hover { border-bottom: hidden; }


                      /* ////////////////////////// */
                      /*     MOBILE NAGIVATION    */

.btn-mobile-nav {
  border: none;
  background: none;
  cursor: pointer;
  display: none;
}

.icon-mobile-nav {
  height: 2rem;
  width: 2rem;
  color: var(--text-primary);
}

.icon-mobile-nav[name="close-outline"] { display: none; }


                              /* ///////////// */
                              /*   Messages   */

.messages {
  text-align: center;
  font-size: 1.3rem;
}

.message--box {
  display: flex;
  justify-content: center;
  border-radius: 2px;
  padding: 5px;


  /* NOT SURE ABOUT THESE LINES UNTIL 442 */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5; /* Ensure the messages are on top of other elements */
}

.error {
  background-color: var(--error-bg);
  padding: 10px;
  color: #e03131;
  border-radius: 3px;
}

.success {
  background-color: var(--success-bg);
  padding: 10px;
  color: #2f9e44;
  border-radius: 3px;
}


.info {
  background-color: #a5d8ff;
  padding: 10px;
  color: #1864ab;
  border-radius: 3px;
}

.error, .success, .info {
  margin-top: 81px;
}

                          /* ///////////////////////// */
                          /*   Topics Grid Components */


.scripture-box {
  background-color: var(--background-light);
  border: var(--text-primary) 1px solid;
  text-align: center;
  width: 580px;
  padding: 14px;
  border-radius: 3px;
}

.scripture-box li {
  margin: 0;
  padding: 3px;
  list-style: none;
  text-align: left;
}

.scripture-box--main { margin: 0 auto; }

.topic {
  font-size: 1.3rem;
  width: fit-content;
  margin: 0 auto;
  padding: 10px;
  letter-spacing: 0.8px;
}

                        /* ///////////////////////// */
                        /*    Login/Register Page   */


.login-register--container {
  border: var(--text-primary) 1px solid;
  background-color: var(--background-light);
  


  display: block;
  justify-content: end;
  text-align: center;

  width: 390px;
  height: fit-content;
  padding: 40px;
  margin: 100px auto;
  border-radius: 3px;
  list-style: none;
}

.login-register--container p { margin-top: 15px; }

.login-register--container p:last-child { margin-top: 20px; }

.login-register--container h1 { margin-bottom: 20px; }

.login-or-reset { display: inline-block; }

.login-register--container input[type="submit"] { margin: 15px 10px 0px 10px; }

.login-register--container a {
  color:#0000EE;
}


                        /* ///////////////////////// */
                        /*       Settings page      */


.settings-box {
  display: block;
  border: var(--text-primary) 1px solid;
  background-color: var(--background-light);
  margin-top: 200px;
  padding: 25px 20px 20px 20px;
  text-align: center;
  border-radius: 5px; 
  width: 250px;
}

.settings-box h2 {
  margin: 0;
}

.settings-list {
  list-style-type: none;
  padding: 0;
}

.settings-list li {
  margin: 15px auto;
}

.settings-list li a {
  text-decoration: none; /* Remove the underline */
}

.settings-list li button {
  background-color: #868e96; 
  color: #fff; 
  border: none;
  padding: 8px 20px;
  border-radius: 3px; 
  cursor: pointer;
  transition: background-color 0.3s;
  width: 160px;
}

.settings-list li button:hover {
  background-color: #656b73; 
}

.settings-list li a {
  background-color: #868e96; 
  color: #fff; 
  border: none;
  padding: 8px 20px;
  border-radius: 3px; 
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 1rem;
  width: 160px;
}

.manage-friends {
  display: none;
  position: fixed;
  top:130px;
  width: 220px;
  margin-top: 14px;
  background-color: #a5d8ff;

  border-radius: 8px;

  border: var(--text-primary) 1px solid;
  width: 250px;
  padding: 15px;
  left: 50%;
  transform: translateX(-50%);
  
}

#gift-button-accept, #gift-button-decline {
  display: inline-block;
  padding: 1px 6px;
  background-color: #4CAF50;
  color: white;
  text-decoration: none;
  border-radius: 3px;
  margin: 5px;
}

#gift-button-decline {
  background-color: #f84f43;
}

#gift-button-accept:hover {
  background-color: #3e8e41;
}

#gift-button-decline:hover {
  background-color: #f12c1e;
}



                      /* ///////////////////////// */
                      /*    Scripture Map Page    */

.home-page--container { position: absolute; }

.dragscroll {
  width: 100%;
  cursor: grab;
}

.return-to-home {
  position: absolute;
  text-align: center;
  font-size: 2rem;
  margin-top: 1rem;
  left: 2550px;
}

.home-page--container {
  display: grid;
  grid-template-columns: 580px 580px 580px 580px 580px 580px 580px 580px;
  grid-template-rows: auto auto auto;
  grid-gap: 60px;
  margin: 100px;
  width: 3806px;
  overflow: visible;
  font: 1.3rem;
}

.entire--center {
  display: flex;
  flex-direction: row;
  width: auto;
  justify-content: center;
  align-items: center;
}

.home--power-box { margin: 50px; }


                 /* Lines shooting off of Power div */

.top--line--div,
.bottom--line--div {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
}

.middle--line--divs {
  font-size: 2rem;
  margin: 25px;
}

.home--top-row {
  display: grid;
  margin: 15px;
}

.home--top--0 {
  grid-column: 1/2;
  grid-row: 1/2;
  align-self: center;
}
.home--top--1 {
  grid-column: 2/3;
  grid-row: 1/2;
  align-self: center;
}
.home--top--2 {
  grid-column: 3/4;
  grid-row: 1/2;
  align-self: center;
}
.home--top--3 {
  grid-column: 4/5;
  grid-row: 1/2;
  align-self: end;
}
.home--top--4 {
  grid-column: 5/6;
  grid-row: 1/2;
  align-self: end;
}
.home--top--5 {
  grid-column: 6/7;
  grid-row: 1/2;
  align-self: end;
}
.home--top--6 {
  grid-column: 7/8;
  grid-row: 1/3;
  align-self: end;
}
.home--top--7 {
  grid-column: 8/9;
  align-self: center;
}

.home--middle--0 {
  grid-column: 1/2;
  grid-row: 2/3;
  align-self: center;
}
.home--middle--1 {
  grid-column: 2/3;
  grid-row: 2/3;
  align-self: center;
}
.home--middle--2 {
  grid-column: 3/4;
  grid-row: 2/3;
  align-self: center;
}
.home--middle--3 {
  grid-column: 4/6;
  grid-row: 2/3;
  justify-self: center;
}
.home--middle--4 {
  grid-column: 6/7;
  grid-row: 2/3;
  justify-self: center;
}
.home--middle--5 {
  grid-column: 8/9;
  grid-row: 2/3;
  align-self: center;
}
.home--middle--6 {
  grid-column: 9/10;
  grid-row: 2/3;
  align-self: center;
}

.home--bottom--0 {
  grid-column: 2/3;
  grid-row: 3/4;
  align-self: start;
}

.home--bottom--1 {
  grid-column: 3/4;
  grid-row: 3/4;
  align-self: start;
}

.home--bottom--2 {
  grid-column: 4/5;
  grid-row: 3/4;
  justify-self: center;
}

.home--bottom--3 {
  grid-column: 5/6;
  grid-row: 3/4;
  align-self: start;
}

.home--bottom--4 {
  grid-column: 6/7;
  grid-row: 3/4;
  align-self: start;
}

.home--bottom--5 {
  grid-column: 7/8;
  grid-row: 3/4;
  align-self: start;
}

                      /* ///////////////////////// */
                      /*        Home Page       */


.topics {
  text-align: center;
  margin: 20px auto 0px auto;
  font-size: 1.2rem;
}

.topics-container li {
  font-size: 1.8rem;
  padding: 10px;
}

.topics-container {
  padding-top: 23px;
  padding-bottom: 50px;
}


                        /* ///////////////////////// */
                        /*        Topic Page         */

/* Connectors for mobile */
.vertical--connection { display: none; }

svg { display: block; }

.grid-container {
  display: grid;
  position: relative;
  grid-template-columns: 580px 25px 580px 25px 580px;
  grid-template-rows: auto 25px auto 25px auto;
  grid-gap: 10px;
  justify-content: center;
  align-items: center;
  margin: 70px auto;
  grid-gap: 25px;
}

.el--0 {
  grid-column: 1/2;
  grid-row: 1/2;
  align-self: center;
}

.el--1 {
  grid-column: 3/4;
  grid-row: 1/2;
  align-self: center;
}

.el--2 {
  grid-column: 5/6;
  grid-row: 1/2;
  align-self: center;
}

.el--3 {
  grid-column: 1/2;
  grid-row: 3/4;
  justify-self: end;
}

.el--4 {
  grid-column: 3/4;
  grid-row: 3/4;
}

.el--5 {
  grid-column: 5/6;
  grid-row: 3/4;
  justify-self: start;
}

.el--6 {
  grid-column: 1/2;
  grid-row: 5/6;
  align-self: start;
}

.el--7 {
  grid-column: 3/4;
  grid-row: 5/6;
  align-self: start;
}

.el--8 {
  grid-column: 5/6;
  grid-row: 5/6;
  align-self: start;
}

/*    Gridbox connection lines   */
.connection { display: none; }

/* Why is the height not default 25px? */
.top--left {
  grid-column: 2/3;
  grid-row: 2/3;
  height: 25px;
}

.top--middle {
  grid-column: 3/4;
  grid-row: 2/3;
  justify-self: center;
}

.top--right {
  grid-column: 4/5;
  grid-row: 2/3;
}

.middle--left {
  grid-column: 2/3;
  grid-row: 3/4;
  align-items: center;
}

.middle--right {
  grid-column: 4/5;
  grid-row: 3/4;
}

.bottom--left {
  grid-column: 2/3;
  grid-row: 4/5;
}

.bottom--middle {
  grid-column: 3/4;
  grid-row: 4/5;
  justify-self: center;
}

.bottom--right {
  grid-column: 4/5;
  grid-row: 4/5;
}

                      /* ///////////////////////// */
                      /*       Account Page       */

.account-welcome {
  display: flex;
  justify-content: center;
  padding-top: 20px;
  font-size: 1.7rem;
  /* margin-top: 40px; */
  line-height: 1;
}

.divider {
  text-align: center;
  font-size: 1.9rem;
  line-height: 100%;
}

.create-new-star {
  display: block;
  margin: 70px 0px 20px 0px;
  text-align: center;
  size: 1.5rem;
}


.create-star--button {
  padding: 8px 10px;
  border-radius: 5px;
  box-shadow: 2px 2px;
  background-color:var(--button-gold); 
  color:var(--text-primary);
}

.create-star--button:hover {
  color:#4d3825;;
  border: none;
  background-color: #f7cf5a;
}

.create-star--button:active {
  background-color: #FFB000; /* Darker yellow */
  box-shadow: 1px 1px;
}

.account-star-section {
  grid-column: 2/3;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: top;
  margin: 0 auto 20px auto;
  justify-items: center;
  margin-top: 60px;
}

.star--container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: top;
  margin: 0 auto 20px auto;
  justify-items: center;

}

.star--grid-container-1 {
  display: grid;
  grid-template-columns: auto;
  border-radius: 5px;
  align-content: flex-start;
  vertical-align: top;
}

.star--grid-container-2 {
  display: grid;
  grid-template-columns: auto;
  border-radius: 5px;
  align-content: flex-start;
  vertical-align: top;
}

.star--grid-container h1 {
  font-size: 2.3rem;
  padding: 18px;
  text-align: center;
}

.star-edit--box {
  background-color: #d3e8fa;
  background-color: var(--medium-blue);
  margin: 0 auto;
  border-radius: 10px;
  text-align: center;
}

.star-edit--box h2 {
  color: var(--text-primary);
  
  text-align: center;
  padding: 6px 5px 10px 5px;
  padding: 18px;
}

.star-edit--box h3 {
  color: var(--text-primary);
  color: var(--text-white);
  text-align: center;
  padding: 12px 6px 8px 6px;
}

.star-edit--box .gui--button {
  background-color: var(--background-light)
}

h4 {
  margin: 8px;
  font-size: 1.1rem;
  cursor: default;
}

.add-margin--bottom { margin-bottom: 7px; }

.add-margin--top { margin-top: 8px; }

.gui--button {
  background-color: var(--background-light);
  background-color: #f1f3f5;
  border-radius: 8px;
  padding: 5px 8px;
  margin: 5px;
}

.gui--button:hover {
  background-color: #dee2e6;
  border: none;
}

ion-icon { vertical-align: -3px; }

.dropdown.gui--button {
  font-size: 1.1rem;
}

.edit-dots--symbol {
  padding: 2px;
  border-radius: 15px;
}

.star--grid-header {
  grid-column: 1/3;
  grid-row: 1/2;
}

.star--grid-item {
  width: 260px;
  margin: 14px;
  padding: 15px;
  padding-top: 5px;
}


         /*/////////////////*/
         /*  Flashcard box  */


/* .show-gui {
  padding:0px;
  margin: 0px;
} */

.right-side-of-page {
  flex-direction: column;
  align-items: flex-start;

  /* grid-row: 1/2; */
  grid-row: 1/3;
  grid-column: 3/3;
  margin: 2px;
  align-self: normal;

}

/* Put - symbols to the right */
.div-right-align {
  text-align: end;
  font-size: 1.5rem !important;
}

.flashcard-gui-box {
  align-self: start;
  grid-row: 1/4;
  text-align: center;
  align-items: center;
  width:195px;
  background-color: var(--background-gray);
  border: #ADD8E6, 1px, solid;
  border-radius: 5px;
  margin: 95px 10px 20px 10px;
  padding: 18px;
}


#minimize-friends {
  text-align: right;
}

.flashcards-gui-content, .stones-gui--content, .friends-gui--content {
  display: none;
}

#flashcards-banner {
  display: flex;
  margin-top: 5px;
}

.flashcard-dropdown {
  display: none;
  position: absolute;
  background-color: var(--background-gray);
  border-radius: 5px;
  padding: 18px;
  border: #ADD8E6, 1px, solid;
  max-width: 150px;
} 


#minimize-flashcard-gui {
  /* position: absolute; */
  right: 10px;
  top: 10px;
}

.standard-button {
  display: none;
  position: absolute;
  background-color: var(--background-gray);
  border-radius: 5px;
  padding: 18px;
  border: #ADD8E6, 1px, solid;
}

#add-flashcard-btn, #start-flashcards-btn,
#manually-add-flashcard-btn, #add-stone-btn,
#view-stone-heeps-btn {
  background-color: var(--medium-blue);
  color: #fff;
  padding: 4px 6px;
  border-radius: 3px;
  text-align: center;
  margin: 0 auto;
}

#add-flashcard-btn {
  margin-top: 3px;
  /* padding: 3px 6px; */
}

#start-flashcards-btn {
  padding-top:2px;
  padding-bottom:2px;
}
/* make it so the button doesnt change its color when its clicked */

.flashcard-button:active {
  background-color: #143f64;
  text-decoration: none;
}

.flashcard-button:focus {
  color: #fff;
  text-decoration: none;
}

.flashcard-button:hover {
  background-color: #0A2132;
}

.flashcard-content, .flashcard-controls {
  margin: 14px;
}

.potential-flashcards {
  max-height: 100px; 
  overflow-y: auto;
}


    /* /////////////////////////////// */
    /*  Stones Of Rememberance viewer */


/* #stones-content--gui {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  height:140px;

  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 390px;
  min-height: 450px;
  background-color: #fff;
  border: 1px solid #FEDC72;
  padding: 20px;
  transition: d 0.3s;
  border-radius: 2px;
} */

#stones-content--gui {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
  border: #cacaf3 1px solid;
  border-radius: 3px;
  max-width: 600px;
  margin: 40px auto;
}

.stones-current-item {
  width: 100%;
  max-width: 500px;
  padding: 20px;
  box-sizing: border-box;
  background-color: var(--background-gray);
  border-radius: 5px;
  margin-bottom: 20px;
}

.heep-title {
  font-weight: bold;
  margin-bottom: 10px;
}

.heep-content {
  overflow-y: auto;
  max-height: 200px;
}

.prev-next-div {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 500px;
  margin-bottom: 20px;
}

.flashcard-controls {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 500px;
}



      /* ////////////////////// */
      /* Flashcard window */

#flashcard-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 390px;
  min-height: 350px;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 20px;
  transition: d 0.3s;
  border-radius: 2px;
}


.hidden {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.1s ease-in-out;
}

.visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.1s ease-in-out;
}

.flashcard-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  height:140px;
}

.flashcard-location,
.flashcard-verse {
  margin-bottom: 10px;
}

.flashcard-controls {
  display: flex;
  justify-content: space-evenly;
}

.flashcard-add-verses {
  display: block;
}

.flashcard-controls:active {
  text-decoration: none;
}

#remove-flashcard-button {
  display: flex;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  background-color: var(--background-light);
  color: var(--text-primary);
  border: var(--border-gold) 1px solid;
  padding: 10px;
  border-radius: 5px;
  font-size: 1.06rem;
}

.flashcard-modal-button {
  background-color: var(--background-light);
  color: var(--text-primary);
  border: var(--border-gold) 1px solid;
  padding: 5px 8px;
  border-radius: 5px;
}

#flashcard-next-btn {
  text-align: right;
}

#prev-next-div {
  display: flex;
  justify-content: space-between;
  margin: 15px;
}

#flashcard-prev-btn, #flashcard-next-btn {
  /* margin: 30px 3px 0px 0px; */
  background-color: var(--background-light);
  border: var(--border-gold) 1px solid;
  border-radius: 5px;
  padding: 5px 8px 3px 7px;

}

.heep-scroll-btn {
  background-color: var(--background-light);
  border: var(--border-gold) 1px solid;
  border-radius: 5px;
  padding: 5px 8px;
}


                    /* ///////////////////////// */
                    /*       Star Form Page     */

.star-form--main {
  background-image: url("/static/images/starry.jpg");
  height: 800px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.star--input {
  background-color: #f1f3f5;
  border: 1px #212529 solid;
  border-radius: 10px;
  width: 315px;
  padding: 8px 6px;

  padding: 20px;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.star--input textarea {
  width: 100%;
  height: 100%;
}


.scripture-edit-form--box textarea {
  width: 100%;
  height: 100px;
  resize: vertical;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.scripture-edit-form--box textarea:focus {
  outline: none;
  border-color: #228be6;
  box-shadow: 0 0 0 3px rgba(34, 139, 230, 0.3);
}



.star--input label {
  display: inline-block;
  width: 60px;
  text-align: right;
}

.add-topic-header {
  margin: 4px;
}

.star--input input { margin: 0 auto; }

.star--input h4 {
  text-align: center;
  margin: 7px;
}

.star--input h2 {
  text-align: center;
  margin-top: 6px;
}

.star--input p {
  text-align: center;
  margin: 0 auto 10px auto;
}

.double-wave-line {
  display: block;
  width: 18rem;
  margin: 0 auto;
  padding: 70px;
}

.always-hidden { display: none; }

                        /* ///////////////////////// */
                        /*       Star Edit Page     */

.star--edit {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 400px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 5px;

  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.topic--edit-box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}


.edit--header {
  display: block;
  text-align: center;
  margin-top: 50px;
}

.update--row {
  display: flex;
  margin: 12px 5px 3px 5px;
  justify-content: center;
}

.update--row h4 { margin: 0px; }

.update--row input { margin-left: 5px; }

.topic--edit-box,
.scripture--edit-box {
  display: block;
  text-align: center;
  margin: 0 auto;
  width: 400px;
  justify-content: center;
}

.topic--edit-box {
  border-radius: 4px;
  justify-content: center;
  padding: 4px;
  margin-bottom: 5px;
}

.topic--edit-bo h4,
.scripture--edit-box h4 {
  display: block;
  text-align: center;
  margin: 3px;
  padding: 4px;
}

.scripture-edit-form--box {
  border-top: 2px solid #228be6;
  width: 290px;
  margin: 0 auto 10px auto;
  display: flex;
  padding: 5px;
}
.scripture-edit-form--box form { padding: 5px; }

.scripture-edit-form--box a {
  padding: 2px;
  border-radius: 3px;
  margin-left: 10px;
}
.scripture-edit-form--box a:hover {
  border-bottom: hidden;
  color: #f03e3e;
  padding: 2px;
  border-radius: 3px;
}

.scripture-edit-form--box input {
  display: inline-block;
  margin-top: 0px;
  justify-content: right;
}

/* move the trash icon down a bit to line up with update button */
#delete--anchor-tag ion-icon {
  position: relative;
  top: 0.5px;
}

/* prevents 'autofill' from changing the bg of login inputs */
input:-webkit-autofill {
  background-color: transparent !important;
  -webkit-box-shadow: 0 0 0 50px white inset;
}


                      /* ///////////////////////// */
                      /*      Reset Pass Pages    */

.reset-pass--banner,  .change-password-container,
.pass-reset-complete, .confirm-email-container,
.confirm-email-sent-container, .email-container{
  background-color: #f5f5f5;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  width: 600px;
  margin: 0 auto;
  margin-top: 40px;
  border: rgb(228, 227, 223) 1px double;
}

.reset-pass--form {
  text-align: center;
  padding: 20px;
  border-radius: 5px;
  max-width: 400px;
  margin: 20px auto;
  border: rgb(228, 227, 223) 1px double;
}

.pass-reset-complete, .confirm-email-sent-container { padding: 20px; }

.confirm-email-sent-container p { padding: 20px; }

.confirm-email-sent-container a, .email-body a { color:#0000EE; }

.form-group {
  margin-bottom: 15px;
}


.btn-primary {
  background-color: #228be6;
  color: #fff;
  border: none;
  padding: 7px 15px;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-primary:hover { background-color: #1e76d8; }


              /* //////////////// */
              /*      Footer      */

.footer {
  display: block;
  position:absolute;
  bottom: 0;
  width: 100%;
  height: 2.5rem;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  padding: 10px 0;
  text-align: end;
  font-size:.9rem;
  margin-top: 10px;
}

.footer ul.list-inline {
  display: inline-flex;
  margin-bottom: 0;

}

.footer ul.list-inline li.list-inline-item {
  margin-right: 12px;
}

.footer ul.list-inline li.list-inline-item a {
  color: #0000EE;
}

.footer .col-md-6.text-md-right {
  text-align: right;
}



                /* ///////////////// */
                /*     Site Info     */

.info-page {
  padding: 10px;
  margin:20px;
  margin-top: 40px;
}


.show { display: block; }


              /*    ///////////////////   */
              /*       Breakpoints       */


@media only screen and (max-width: 1900px) { /* Should this be default? */

  .scripture-box {
    text-align: center;
    width: 468px;
    padding: 12px;
  }

  .grid-container {
    grid-template-columns: 468px 4px 468px 4px 468px;
    grid-template-rows: auto 18px auto 18px auto;
    grid-gap: 7px;
    justify-content: center;
    align-items: center;
    margin: 70px auto;
    grid-gap: 25px;
  }
}


@media only screen and (max-width: 1700px) {
  .SRoot-display-options {
    justify-self: end;
  }
}

@media only screen and (max-width: 1540px) {

  .home-page-container {
    height: 100%;
    width: 100%;
  }

  .vertical--connection {
    display: grid;
    text-align: center;
    justify-content: center;
    margin: 10px;
  }

  .grid-container {
    display: block;
    position: relative;
    margin: 110px auto;
  }

  .scripture-box {
    justify-content: center;
    text-align: center;
    margin: 25px auto;
    width: 470px;
  }

  .topic--main { font-size: 160%; }

  .connection { position: relative; }

  svg { display: none; }
}

@media only screen and (max-width: 1530px) {

  .page-top-container {
    display: grid;
    justify-items: center;
    align-items: center;
  }
  
  .welcome-newstar {
    text-align: center;
  }
  
  .friends-section {
    text-align: center;
    max-width: 195px;
    margin-top: 70px;
    margin-bottom: 20px;
    right: 7px;
    top: 100px;
    align-self: start;
  }

  .friends-section h3 {
    font-size: 1rem;
  }
}


@media only screen and (max-width: 1005px) {

  .page-top-container {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
  }
  
  .welcome-newstar {
    grid-column: 1/1;
    text-align: center;
    margin-bottom: 0px;
    /* margin-top: 60px; fix jumping issue
    min-height: 400px; */
  }

  .flashcard-gui-box, .right-side-of-page {
    grid-column: 1/2;
    grid-row: 2/3;
    margin: 2px;
    margin-bottom: 0px;
  }

  .right-side-of-page {
    grid-column: 1/2;
    grid-row: 3/4;
    margin: 2px;
    margin-top: 0px;
  }

  .stones--section {
      grid-row: 4/4;
      grid-column: 1/2;
      margin: 2px;
  } 
  
  .friends-section {
    grid-column: 1/2;
    grid-row: 2/2;
    margin: 2px;
  }

  .account-star-section{
    grid-column: 1/3;
  }
  
  .SRoot-display-options {
    grid-column: 1/1;
    margin-right: 60px;
    justify-self: center;
  }

  .navbar--links {
    margin: 2px;
    margin-right: 10px;
  }

  .navbar--links li {
    padding: 3px;
  }



}

@media only screen and (max-width: 900px) {

  .page-top-container {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
  }

  .star--container {
    display: block;
  }

  .welcome-newstar {
    grid-column: 1/1;
    text-align: center;
    margin-bottom: 0px;
  }

  .friends-section {
    margin-top: 5px;
    margin-bottom: 5px;
    position: static;
  }

  .welcome-message {
    padding: 10px 3px;
    width: 350px;
    margin: 0 auto;
  }

  .account-welcome {
    font-size: 1.5rem;
  }

  .hero-title { width: 100%; }

  .hero {  
    width: 90%;
    margin: 0 auto;
    padding: 20px;
    margin-bottom: 20px;
  }

  .create-new-star {
    font-size: .8rem;
  }
}


@media only screen and (max-width: 800px) {

  /* Mobile navigation */
  .btn-mobile-nav {
    display: flex;
    align-self: center;
    padding-right: 60px;
  }

  .icon-mobile-nav[name="menu-outline"] {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .nav-list {
    background-color: rgba(224, 224, 224, 0.97);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 3rem;

    /* Hide visually */
    opacity: 0;

    /* Hide from keyboard and mouse */
    pointer-events: none;

    /* Hide from screen readers */
    visibility: hidden;
    z-index: 99999;
  }

  .nav-open .nav-list {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    
  }

  /* Open/close icon in mobile menu on click */
  .nav-open .icon-mobile-nav[name="close-outline"] { display: block; }
  .nav-open .icon-mobile-nav[name="menu-outline"] { display: none; }

  .main-nav a {
    border-bottom: none;
    font-size: 1.6rem;
    justify-items: center;
  }

  .main-nav a:hover,
  .main-nav a:active {
    background-color: transparent;
    transition: background-color 0.2s;
  }
}


@media only screen and (max-width: 693px) {

  .hero-title {
    font-size: 1.9rem;
    width: auto;
    margin: 3px auto 0px auto;
  }

  .about-title {
    margin-top: 40px;
  }
  #home-page-welcome { 
    padding: 0px;
    margin: 10px auto 8px auto; 
    font-size: 1.6rem;
  }

  .navbar {
  border-bottom: var(--border-gold) 1px solid;
  }

  #floating--back-button { display: none; }

  .topic { font-size: 1.5rem; }

  .return-to-home { font-size: 2rem; }

  .star--grid-container {
    display: block;
    margin: 25px auto;
  }

  .scripture-box { width: 390px; }

  .star--grid-item {
    width: 258px;
    margin: 5px;
    padding: 13px;
  }

  .star--edit { max-width: 400px; }

  .hero {  
    width: 98%;
    padding: 5px;
    margin-bottom: 5px;
  }

  .reset-pass--banner {
    text-align: center;
    width: auto;
  }
  
  .reset-pass--form {
    text-align: center;
    width: auto;
  }
}

@media only screen and (max-width: 590px) {

  .account-star-section {
    flex-direction: column;
    align-items: center;
  }

  .star--edit {
    display: grid;
    width: 330px;
    margin: 0 auto;
  
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 5px;
  }

}

@media only screen and (max-width: 430px) {

 .login-register--container {
  width:auto;
  margin:100px 12px;
  }

  .settings-box {
    max-width: 280px;
    margin: 100px auto;
  }
  
  .star-form--main { height: 780px; }

  .star--input { margin-bottom: 200px; }

  .scripture-box {
    width: auto;
  }

  .welcome-message {
    width: auto;
  }

  .hero-title {
    font-size: 1.8rem;
    width: auto;
  }

  .prev-next-div {
    display: flex;
    justify-content: space-between;
    margin: 7px;
    margin-bottom:30px;
    border-radius: 3px;
    font-size: 1.1rem;
  }

  #flashcard-box {
    width: 85%;
  }

  .flashcard-controls {
    margin-top: 10px;

    font-size: 1.1rem;
  }

  #remove-flashcard-button {
    font-size: 0.97rem;
  }
 
};

