
body {
    margin: 0;
  }

.titles {
  color: snow;
}

.header {
    background-color: #03536b;
    text-align: center;
    padding: 20px;
    color: snow;
  }

  .nav {
    overflow: hidden;
    background-color: #333;
  }

  .nav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    width: 30.5%;
    padding: 20px;
    text-decoration: none;

  }

  .nav a:hover {
    background-color: #ddd;
    color: black;
  }

  .column {
    float: center;
    padding: 10px ;
  }

  .column.side {

    width: 25%;


  }

  .column.main {
    width: 65%;

  }

  @media screen and (max-width: 600px) {
    .column.side, .column.main {
      width: 100%;
    }
  }
  .card {
    background-color: #505050;
    padding: 20px;
    margin-top: 20px;
  }

  .card2 {
    background-color:  	#DCDCDC;
    padding:  50px;
    width: 70%;
    height:200px;
    margin-top: 20px;
    border:3px;
    border-color:#03536b ;
    border-radius: 15px;
    border-top-left-radius: 50px;
    border-style: solid;
    transition: 100ms;

  }

  .card2:hover {
    border-bottom-right-radius: 50px;
    box-shadow: 2px 2px 2px ;
    transform: scale(1.1);

  }

  /* Clear floats after the columns */
  .row:after {
    content: "";
    display: table;
    clear: both;
  }



#word_text {
color:#03536b
  }

#word_list {
  color: black;
}

  form.example input[type=search] {
    padding: 10px;
    font-size: 17px;
    border: 3px solid #03536b;
    border-top-left-radius: 10px;
    float: left;
    width: 0.05%;
    background: #f1f1f1;
    animation-name: animates;
    animation-duration: 1000ms;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
  }

  @keyframes animates{
    0%{width:0.05%;}
    100%{width:70%;}
  }


  form.example button[type="submit"] {
    float: left;
    width: 20%;
    padding: 10px;
    background: #03536b;
    color: white;
    font-size: 17px;
    border: 3px solid #03536b ;
    border-left: none;
    cursor: pointer;
  }

  form.example button:hover {
    background: #f1f1f1;
  }

  img {
    width: 22px;
    height: 17px;
    color: white;
  }

  form.dict input[name=word]{
    border:none;
    border-color: #DCDCDC;
    background-color: #DCDCDC;
    font-family: sans-serif;
    font-size: 30px;
    color:#03536b;
    display: inline-block;
    text-align: center;
    float: center;
  }
  textarea{
    border-style: none; 
    border-color: Transparent; 
    overflow: auto;  
    border-color: #DCDCDC;
    background-color: #DCDCDC;
    font-family: monospace;
    font-size: 20px;
    color:#050505;
    width:70%;
    display: inline-block;
		text-align: center;
		float:center;
  }
  form.dict input[name=rel]{
    border:none;
    border-color: #DCDCDC;
    background-color: #DCDCDC;
    font-family: sans-serif;
    font-size: 15px;
    color:black;
    float:center;
  }
  form.dict input[name=type]{
    border:none;
    border-color: #DCDCDC;
    background-color: #DCDCDC;
    font-family: sans-serif;
    font-size: 18px;
    font-style: italic;
    color:grey;
    display: inline-block;
    text-align: center;
    float: center;
  }


  .footer {
    width:30%;
    background-color:#505050;
    padding: 0.5px;
    margin: 50px 10px 10px 490px;
    text-align: center;
    font-family: monospace;

  }

.footer a{
  color:#357EC7;
}
.footer a:hover{
  color:#C77E36;
}

.popup {
  position: relative;
  display: inherit;
  cursor: pointer;

}


.popup .popuptext {
    visibility: hidden;
    width: 160px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -80px;

}

.popup .popuptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: 0.3625%;
  border-width: 0.3625%;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}
.popup .show {
  visibility: visible;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
}

#terms_list{
  margin: auto;
  margin-top: 20px;
  border:3px;
  border-style: solid;
  border-color: #03536b;
  font-family: Verdana;
}

#terms_list tr {
  background-color: whitesmoke;
  height: 25px;
}

#terms_list #terms_list_word {
  width: 150px;
}
#terms_list #terms_list_type {
  width: 200px;
}
#terms_list #terms_list_def {
  width: 400px;
}
#terms_list #terms_list_rel {
  width: 150px;
}

#terms_list td {
  padding: 10px;
}

#terms_list th {
  padding: 15px;
  height: 10px;
  background-color: rgb(202, 202, 202);
}

@-webkit-keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity:1 ;}
}

@media screen and (max-width: 1300px) {
  .column.side, .column.main, .card, .header{
    width: 100%;
    align-items: left;

  }

  @media screen and (max-width: 1250px) {
    .nav a {
    display:none;
    }
  }


  }

  @media screen and (max-width: 1200px) {
    .footer {
      display:none;
    }
  }