#index-rotator
{
    font-family: 'Comfortaa', cursive;
    font-size: 30px;
    font-weight: bold;

}

#code-frame
{
    
    font-weight: bold;

}
#header-background
{
    background-image: url(img/head.png);
    background-size:contain;

}

#main-background
{
    background: #fff;
    

}

.logo
{
    padding-left: 15%;
}


#ex
{
    color: #324785; /* Цвет ссылок задач */
}

a
{
  text-decoration: none; /* Отменяем подчеркивание у ссылки */
  color:#0000CD;
}

a:hover
{
  color: #FF8C00;
  text-decoration: underline;
}

a:active
{
  color:#4169E1;
}

a:visited
{
  color:#324685;
}
body
{
    color: #333E85;
   
     text-align: justify;
    font-family: "Real";
}

nav li
{
  text-align: left;
  font-size: 15px;
}
#header-text
{
    font-family: 'Amatic SC', cursive;
    color: #DEB887;
    font-weight: bold;
    font-size: 40px;
    text-align:center;
    padding-left: 10%;
    
}

table
{
border: 0px solid #373737 ; /* цвет боковых */
border-collapse: collapse;
}

tr
{
    border-bottom: none; 
}

td 
{
    border-right:none; 
    vertical-align: middle;
    margin: none;
    color:#000;
    

}
tr td:first-child
{
    border-left: none;
}

tr td:last-child 
{
    border-right: none;
}

#size-slogan
{
    padding-left:15%;
    font-size: 100%;
    font-family: 'Amatic SC', cursive;
    font-size: 20px;
    color: #fff;
}


#advertising
{
    content: "Здесь может быть Ваша реклама.";
}

#top-border
{
    border-bottom:none;
    border-left:none;
    border-right:none;
    font-size: 15px;

}

p
{
    text-indent: 40px;
    padding-left: 20px;
    margin-right: 20px;
    font-size: 25px;
    text-align: justify;
    font-family: 'Yanone Kaffeesatz', sans-serif;
}

#author
 {
    font-family: 'real', cursive;
    font-size: 20px;
    text-align: center;
    color: #fff;
 }

#author a:hover
{
  color:green;
}

.logo 
{
    padding-left: 15%;
}

.text-area {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

.text-area h1,
h2,
h3 {
    
}

.benefits {
    width: 100%;
    
}

.benefits__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 60px 0;
}

.benefits__header {
    width: 100%;
    
    line-height: 1.3;
    padding: 0 15px 60px;
    color: #e2e2e2;
    font-size: 2rem;
    text-transform: uppercase;
}

.benefits__element {
    width: 30%;
}

.benefits__icon {
    display: block;
    width: 80px;
    height: 70px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.benefits__element p {
    color: #cdcdcd;
    
    line-height: 1.3;
}

.benefits__number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    opacity: 0;
    padding-right: 40px;
}

.benefits__title {
    font-size: 1.125rem;
}

.text-typing
{
    width: 55em;
    color:green;
    font-size: 22px;
    font-family: 'Marck Script', cursive;
    white-space:nowrap;
    overflow:hidden;
    -webkit-animation: type 5s steps(50, end);
    animation: type 5s steps(50, end);
}
@keyframes type{
    from { width: 0; }
}
 
@-webkit-keyframes type{
    from { width: 0; }
}


a:hover
{
   color: #B5522D;
}

textarea {
    width: 90%; 
    height: 150px;
    resize: none; /* Запрещаем изменять размер */
    background: #222;
    color:#FFF;
    border:none;
    margin-left:50px;
    outline: none;
    cursor: default;
    background: #191919;
    padding-left: 15px;
    padding-top: 15px;
    -webkit-box-shadow: 0px -2px 30px 0px rgba(57, 50, 50, 1);
    -moz-box-shadow:    0px -2px 30px 0px rgba(57, 50, 50, 1);
    box-shadow:         0px -2px 30px 0px rgba(57, 50, 50, 1);
      -moz-border-radius: 10px; /* Firefox */
    -webkit-border-radius: 10px; /* Safari, Chrome */
    -khtml-border-radius: 10px; /* KHTML */
    border-radius: 10px; /* CSS3 */
    /* Для плохих IE */
    behavior: url(border-radius.htc); /* учим IE border-radius */

} 

textarea:focus, input:focus
{
    outline: none;   
    cursor: default;
    background: #191919;
}



#randomlist
{
    font-family: 'Caveat', 'Gabriola'; 
    font-size: 30px;

}

hr
{
    
    height: 12px;
    border: 0;
    box-shadow: inset 0 12px 12px -12px rgba(0,0,0,0.5);
}

#mathtable tr td
{
    box-shadow: inset 0 0 3px;
}

#mathtable 
{
    padding-bottom: 10px;
}

h2
{
    font-weight: bold;
    font-family: 'tahoma', 'Real'; 
    font-size: 30px;
    text-align: center; 
    color:#4169E1;
}

h3
{
    text-align: center;
    font-family: 'tahoma', 'Real';
    font-size: 27px;
    color:#4A76A8;
}

li
{
   font-family: 'Yanone Kaffeesatz', sans-serif;
    padding-left: 10px;
    font-size: 18px;
}

h1
{
    text-align: center;
    font-family: 'Montreal Sf', 'Gabriola'; 
    font-size: 50px;
    color:#4169E1;
}

th
{
    font-size: 80px;
    font-weight: bold;
    font-family: 'Montreal Sf', 'Gabriola';
}



/*input[type="text"]:focus {
  color: #fff;
  -webkit-box-shadow: 0px -2px 30px 0px rgba(57, 50, 70, 1);
    -moz-box-shadow:    0px -2px 30px 0px rgba(57, 50, 70, 1);
    box-shadow:         0px -2px 30px 0px rgba(57, 50,7 , 1);
}
*/

input[type="text"] {
 padding: 10px;
 font-size: 20px;
 border: 7px solid rgba(255, 255, 255, .5);
 @include box-shadow(
 0 2px 10px rgba(0, 0, 0, .25) inset,
 0 2px 10px rgba(0, 0, 0, .25));
 @include border-radius(10px);
 background: #191919;
 @include appearance(none);
 outline: none;
 color: #fff;
 width: 50%;
 margin-left: 20px;
 left: 25%;
   border: 2px solid #102C54;
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
  border-bottom-right-radius: 26px;
  border-bottom-left-radius: 26px;
  transition-duration: 1s;
}

input[type="text"]:focus
{

 box-shadow:5px 2px 19px 0px rgba(16,44,84,1);
-webkit-box-shadow:5px 2px 19px 0px rgba(16,44,84,1);
-moz-box-shadow:5px 2px 19px 0px rgba(16,44,84,1);

}

input[type="button"]
{
  margin-left: 15px;
  display: inline-block;
  color: black;
  font-size: 125%;
  font-weight: 700;
  text-decoration: none;
  user-select: none;
  padding: .25em .5em;
  outline: none;
  border: 1px solid rgb(250,172,17);
  border-radius: 7px;
  background: rgb(255,212,3) linear-gradient(rgb(255,212,3), rgb(248,157,23));
  box-shadow: inset 0 -2px 1px rgba(0,0,0,0), inset 0 1px 2px rgba(0,0,0,0), inset 0 0 0 60px rgba(255,255,0,0);
 

}

input[type="button"]:hover
{
  margin-left: 15px;
  display: inline-block;
  color: black;
  font-size: 125%;
  font-weight: 700;
  text-decoration: none;
  user-select: none;
  padding: .25em .5em;
  outline: none;
  border: 1px solid rgb(250,172,17);
  border-radius: 7px;
  background: rgb(255,212,3) linear-gradient(rgb(255,212,3), rgb(248,157,23));
  box-shadow: inset 0 -2px 1px rgba(0,0,0,0), inset 0 1px 2px rgba(0,0,0,0), inset 0 0 0 60px rgba(255,255,0,0);
    cursor: pointer;
}


.trigger {
  color: #777;
  padding: 10px;
  font-size: 16px;
  width: 50%;
  background: #222 url(../img/select-arrow-open.png) 98% center no-repeat;
  display: block;
  border: 1px solid #ccc;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease; 
  transition: all 0.5s ease;
  }

.trigger:hover {
  color: #808080;
  background: #161616 url(../img/select-arrow-open.png) 98% center no-repeat;
  }

.activetrigger {
  color: #777;
  padding: 10px;
  font-size: 16px;
  width: 50%;
  background: #314580 url(../img/select-arrow-close.png) 98% center no-repeat;
  display: block;
  border: 1px solid #314580;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  }

.activetrigger:hover {
  background: #3958B2 url(../img/select-arrow-close.png) 98% center no-repeat;
  color: #777;
  }

.activetrigger:active {
  background: #f5f5f5 url(../img/select-arrow-close.png) 98% center no-repeat;
  color: #777;
  }

.dropcontainer ul {
  font-size: 16px;
  border: 1px solid #ccc;
  border-top: none;
  background: #161616;
  list-style-type: none;
  padding: 10px;
  margin: 0;
  width: 50%;
  z-index: 100;
  -webkit-box-sizing: border-box; /* рамки в ровень со списком */
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  }

.dropcontainer ul li {
  padding: 5px;
  -webkit-transition: all 0.5s ease;  /* Анимация цвета выпадающего списка при наведении */
  -moz-transition: all 0.5s ease; 
  -o-transition: all 0.5s ease; 
  transition: all 0.5s ease;
  }

.dropcontainer ul li:hover { /* Цвет выпадающего */
  background: #314580;
  outline: none;
  }

.dropcontainer ul li:first-child {
  display: none;
  }

.dropcontainer ul li:last-child {
  border-bottom: none;
  }

.dropdownhidden {  /* Где будут находиться скрытые */
  display: none;
  }

.dropdownvisible {
  height: auto;
  }
