/*
This page was Coded and created by:  
Sarah Alfowzan  
ID: 2410916 
*/

body{
  background-color:whitesmoke;
  color: black;
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
}

label{
  font-size: 18px;
}

.container{
  display: grid;
  grid-template-columns: 250px 1fr;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  background-color:#f5f5f5;
}

/*  SIDEBAR and its content  */
.sidebar{
  grid-row: 3/5;
  border: 5px solid #aa8fd0;
}
.buttons{
  background-color: rgb(225, 205, 245);
  color: black;
  margin: 10px;
  padding: 10px;
  width: 100px;
  height: 50px;
  border: 2px solid rgb(165, 112, 162);
  border-radius: 25px;
  font-family: 'Courier New', Courier, monospace;
  transition: transform 0.3s;
}
/*transitions were taken from a tutrial in youtube  https://youtu.be/SgmNxE9lWcY?si=8qcBkELukyybknr9 */
.buttons:hover{
  transform: translateY(5px);
  background-color: rgb(201, 180, 222);
}
.Selectors{
  background-color: rgb(225, 205, 245);
  border: none;
  border-radius: 10px;
}
/*   SIDEBAR ends   */


/*header */
.header{
  grid-column: 1/3;
  background-color: #7851a9;
  height: auto;
  padding: 13px;
  width: 98%;
}
.header a{
  color: whitesmoke;
  font-size: 35px;
  font-weight: bold;
}


.headLinks{
  grid-column: 1/3;
  font-size: 20PX;
  padding: 13px;
  width: 98%;
  height: auto;
  background-color: white;
}
.headLinks a{
  color: #7851a9;
  padding: 10px;
  font-weight: bold;
}
.headLinks a:hover{
  color: black;
}


/* live screen !!!!!!!!!!!!!!!!!!!!!!*/
#previewArea {
  width: 98%;
  min-height: 200px;
  border: 2px dashed #aaa;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.foteer{
  grid-column: 2/3;
  background-color: #7851a9;
  color: whitesmoke;
  padding: 15px;
  position: relative;
  bottom: 0;
  width: 98%;
}
  
/Text color table/
#textColor{
  display: none;
}

/*the paige is responsive in screen size 768px !!!! */
@media (max-width: 992px) {
  .container {
      display: grid;
      grid-template-columns: 1fr;
      grid-template-rows: 0.5fr 0.4fr 1fr 1fr 6fr;
      width: 98%;
  }

  .header, .headLinks, .foteer {
      grid-column: 1/2; 
      width: 98%;
  }

  .sidebar{
      width: 98%;
  }

  .sidebar *{
      display: inline-block;
      margin: 0;
      padding: 3px;
      vertical-align: middle;
  }

}
@media (max-width: 576px) {
  .container {
      display: grid;
      grid-template-columns: 1fr;
      grid-template-rows: 0.5fr 0.4fr 1fr 1fr 6fr;
      width: 98%;
  }
  .header, .headLinks, .foteer {
      grid-column: 1/2; 
      width: 98%;
  }
  .sidebar{
      width: 98%;
  }
  .sidebar *{
      display: inline-block;
      margin: 0;
      padding: 3px;
      vertical-align: middle;
  }
  .headLinks{
      font-size: 14px;
  }
  .buttons{
      margin: 5px;
      padding: 5px;
      width: 100px;
      height: 50px;
      border-radius: 25px;
  
  }
}
.heading {
  font-size: 32px;
  font-weight: bold;
}

.subheading {
  font-size: 24px;
  font-weight: bold;
}

.bodyText {
  font-size: 18px;
}
