html, body {
  width: 100%;
  height: 100%;
}
body{
  font-family:  sans-serif;
  font-size: 24px;
  color:#842129;
}
.grid-container {
  display: grid;
  gap: 50px;
  grid-template-areas:
  'header header'
  'main main main'
  'footer';
}
.item1 { grid-area: header; }
.item2 { grid-area: main; }
.item3 { grid-area: footer; }

.row::after {
  content: "";
  clear: both;
  display: flex;
}
/* For mobile phones: */
[class*="col-"] {
  width: 100%;
  float: left;
  padding: 10px;
}

@media only screen and (min-width: 768px) {
  /* For desktop: */
  .col-1 {width: 8.33%;}
  .col-2 {width: 16.66%;}
  .col-3 {width: 25%;}
  .col-4 {width: 33.33%;}
  .col-5 {width: 41.66%;}
  .col-6 {width: 50%;}
  .col-7 {width: 58.33%;}
  .col-8 {width: 66.66%;}
  .col-9 {width: 75%;}
  .col-10 {width: 83.33%;}
  .col-11 {width: 91.66%;}
  .col-12 {width: 100%;}
}

@media screen and (min-width: 1100px) {
#custom{
    left: 70%;
}
}
.logo img{
    width: 30px;
    margin-left: 50px;
}
header {
  display: grid;
  grid-template-columns: 60% auto;
  font-size: 24px;
  padding: 8px 0px ;
}
header nav{
    display: block;   
}
.img-circle{
  border-radius: 50%;
  width: 400px;
}
main {
  background-color: #fffbfb;
  flex: 1;
  padding: 20px 50px;
}
.intro {
    height: 600px;
    max-width: 100%;
    flex-flow: wrap;
    justify-content: center;
    display: flex;
}
.intro_1 {
  color: #842129;
  text-align: right;
  flex: 0 auto;
  justify-content: center;
  align-self: flex-end;
  align-items: flex-end;
  font-family: Aeonikprotrial, sans-serif;
  font-size: 120px;
  font-weight: 300;
  line-height: 120%;
  display: flex;
}
.intro_2{
  color: #313131;
  text-align: left;
  margin-top: 20px;
  margin-bottom: 40px;
  font-family: Aeonikprotrial, sans-serif;
  font-size: 45px;
  font-weight: 100;
  line-height: 140%;
}



/* Navbar container */
.navbar {
  overflow: hidden;
}

/* Links inside the navbar */
.navbar a {
  float: left;
  font-size: 24px;
  color: #842129;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* The dropdown container */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Dropdown button */
.dropdown .dropbtn {
  font-size: inherit;
  border: none;
  outline: none;
  color: #842129;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

/* Add a red background color to navbar links on hover */
.navbar a:hover, .dropdown:hover .dropbtn {
  font-weight: bold;
  border-bottom: #842129 solid 3px;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  float: none;
  font-size: 20px;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
  font-weight: bold;
  border: none;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

#memory_header img{
      cursor: pointer;
}
p{
    display: inline-table;
}


/* Some media queries for responsiveness */
@media screen and (max-height: 450px) {

}

.copyright{
   font-family: Helvetica;
   font-size: 22px;
}
aside {
  color: white;
  padding: 20px;
  background-color: #936;
  width: fit-content;
  position: absolute;
  z-index: 1;
  left: 60%;
  top: 10%;
}


footer {
  padding: 5px;
  text-align: center;
}

#memory{
max-width: 300px;
margin: auto;
}
.sidenav{
  color: #db62ff;
  font-weight: bold;
  padding: 10px 0 0 0;
}
.sidenav div a{

}
.boxes{
background-color: rgb(242, 156, 255);
width: /*290px;*/ 400px;
padding: 0px 10px;
display: block;
margin: auto;
}

h3{
    opacity: 0.3;
}
h2{
vertical-align: left;
}

#level{
height: 50px;
padding-top: 20px;
padding-bottom: 0px;
}
fieldset{
    border-color: #ffe1e1;
    margin-bottom: 5px;
}
fieldset input{
margin: auto;
width: 300px;
display: block;
float: left;
}

fieldset input{
	background-color: #ffe1e1;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	border:0px;
	cursor:pointer;
	color:#382338;
	font-family:Arial;
	font-size:15px;
	text-decoration:none;
	height: 100px;
	width: 115px;
	margin: 5px;
        text-align: center;
}
.myButton{
        height: 30px;
        width: 30px;
	cursor:pointer;
        margin: 0px 10px;
}

.content {
width: 290px;
height: 100%;
padding-top: 10px;
margin: auto;
margin-bottom: 50px;
overflow: hidden;
}

.memory-container {
font-size: 20px;
}
.category_button{
  padding: 5px 0px 10px 0;
}
.category_button a{
  display: inline-block;
  text-decoration: none;
  font-size: 16px;
  color: white;
  border-radius: 20px;
  background-color: #db62ff;
  padding: 10px 15px;
  margin: 5px 5px;
}
.category_button a:hover{
  background-color: white;
  color:#db62ff;
  border:rgb(242, 156, 255) SOLID 1px;
}
#level{
height: 50px;
padding-top: 20px;
padding-bottom: 0px;
}
.memory{
margin: auto;
width: 300px;
display: block;
}
#button_place{
 text-align: center;
 margin-top: 45px;
}
.button_place{
  border:#db62ff SOLID 2px;
  background-color:#db62ff;
color: white;
  border-radius: 20px;
  margin: 0 10px 0 0;
  padding: 5px 10px;
display: inline;
}
.button_place:hover{
  border:#db62ff SOLID 2px;
  background-color:white;
  color: #db62ff;
  cursor: pointer;
}
.answer{
float: left;
}
.memory button{
	background-color: rgb(242, 156, 255);
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:10px;
	cursor:pointer;
	color:#382338;
  font-family: MV Boli;
	font-size:16px;
	text-decoration:none;
	height: 90px;
	width: 90px;
	margin: 3px;
	float: left;
}

.top_space{
	cursor:pointer;
	font-family:Arial;
	font-size:16px;
	text-decoration:none;
        padding: 2px;
        min-height: 20px;
        min-width: 60px;
	margin: 5px;
        margin-bottom: 15px;
        float:right;
}

#custom{
    padding: 5px;
    border: 3px dotted  #d23636;
    background-color: white;
    position: fixed;
    right: 0;
    top: 105px;
    text-align: center;
    max-width: 290px;
    height: 300px;   
}
.addword{
    height: 30px;
}
table{
    border-collapse: collapse;
   border: 1px solid #ffe1e1;
}
tr,td{
    padding: 5px; 
    border: 1px solid #ffe1e1;
}

.fox{
    padding-top: 5px;
    width: 70px;
    height: 70px;
    	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:10px;
}
#category{
    margin-top: 20px;
    float: left;    
}
.category {
    background-color:white;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:10px;
	cursor:pointer;
	color:#382338;
     font-family: MV Boli;
	font-size:16px;
	text-decoration:none;
	height: 30px;
	margin: 2px ;
	float: left;
}
#memory_main{
  text-align: center;
}

p.info{
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:10px;
	font-size:14px;
}
.title{
  font-weight: bold;
  font-size: 30px;
  padding: 10px 0 10px;
}
.images img{
  width: 100%;
}
.image_button{
 width: 20px;
 padding: 0 5px;
}

@media screen and (max-width: 991px) {
 /* .intro_1  {
      width: 100%;
      text-align: left;
      justify-content: flex-start;
      align-self: flex-start;
      font-size: 80px;
      display: flex;
  }
  .intro {
    justify-content: center;
    align-items: stretch;
    margin-top: 0;
    padding-top: 30px;
    padding-bottom: 0;
    padding-left: 0;
}*/
}
@media screen and (max-width: 767px) {
  .intro {
      flex-direction: column;
      align-items: stretch;
      padding-top: 0;
      padding-left: 0;
  }
  .logo img{
    width: 50px;
    margin-left: 50px;
  }
  .intro_1  {
      width: 100%;
      text-align: left;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      font-size: 80px;
      display: flex;
  }
  .intro_2  {
    font-size: 30px;

  }
  article{
    padding: 0px;
  }
  .img-circle{
    width: 300px;
  }
  aside {
   
    position: relative;
    z-index: 1;
    left: 0;
    top: 0;
  }
}

@media screen and (max-width: 700px) {
  header {
    grid-template-columns: 50% auto;
    font-size: 24px;
   }
   .logo img{
  text-align: center;
  margin-top: 30%;
  }
  main {
   padding: 10px 40px 0 10px;

  }

}