Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Details

Privacy

Go PRO Window blinds lowered to protect code. Code Editor with window blinds (raised) and a light blub turned on.

Keep it secret; keep it safe.

Private Pens are hidden everywhere on CodePen, except to you. You can still share them and other people can see them, they just can't find them through searching or browsing.

Upgrade to PRO

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

Template

Make Template?

Templates are Pens that can be used to start other Pens quickly from the create menu. The new Pen will copy all the code and settings from the template and make a new Pen (that is not a fork). You can view all of your templates, or learn more in the documentation.

Template URL

Any Pen can act as a template (even if you don't flip the toggle above) with a special URL you can use yourself or share with others. Here's this Pen's template URL:

Screenshot

Screenshot or Custom Thumbnail

Screenshots of Pens are shown in mobile browsers, RSS feeds, to users who chose images instead of iframes, and in social media sharing.

This Pen is using the default Screenshot, generated by CodePen. Upgrade to PRO to upload your own thumbnail that will be displayed on previews of this pen throughout the site and when sharing to social media.

Upgrade to PRO

HTML

              
                <head>
  <meta charset="utf-8">
  <title>Nerds</title>
  <link href="https://fonts.googleapis.com/css?family=Roboto:400,500&subset=latin,cyrillic" rel="stylesheet">
  <link rel="stylesheet" href="css/normalize.css">
  <link rel="stylesheet" href="css/style.css">
</head>

<body>
  <header class="main-header">
    <div class="container">
      <div class="header-top clearfix">
        <div class="logo-img">
          <img src="img/logo.png" width="139" height="56" alt="logo nerds">
        </div>
        <nav class="main-menu">
          <ul>
            <li>
              <a href="#">Студия</a>
            </li>
            <li>
              <a href="#">Клиенты</a>
            </li>
            <li>
              <a href="catalog.html">Магазин</a>
            </li>
            <li>
              <a href="#">Контакты</a>
            </li>
          </ul>
        </nav>
        <div class="basket">
          <a class="a-basket" href="#">Корзина</a>
        </div>
      </div>
    <div class="header-slider">
      <div class="slider">
        <input type="radio" id="btn-1" name="toggle" checked>
        <input type="radio" id="btn-2" name="toggle">
        <input type="radio" id="btn-3" name="toggle">
        <div class="slider-controls">
          <label for="btn-1"></label>
          <label for="btn-2"></label>
          <label for="btn-3"></label>
        </div>
        <div class="slides">
          <div class="slide">
            <div class="slide-text">
              <div class="slide-title">Долго, дорого, скрупулезно</div>
              <p>Математически выверенный дизайн<br>
    для вашего сайта или мобильного приложения.</p>
              <a class="btn" href="#">Узнать больше</a>
            </div>
          </div>
          <div class="slide">
            <div class="slide-text">
              <div class="slide-title">Дорого, скрупулезно</div>
              <p>Математически выверенный дизайн<br>
  для вашего сайта или мобильного приложения.</p>
              <a class="btn" href="#">Узнать больше</a>
            </div>
          </div>
          <div class="slide">
            <div class="slide-text">
              <div class="slide-title">Скрупулезно</div>
              <p>Математически выверенный дизайн<br>
  для вашего сайта или мобильного приложения.</p>
              <a class="btn" href="#">Узнать больше</a>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  </header>
  <main class="container">
    <section class="content-services clearfix">
      <div class="content-services-order">
        <img src="img/content-pc.jpg" width="240" height="124" alt="Web sites">
        <h2 class="web-sites">Веб сайты</h2>
        <p>Мир никогда не будет прежним после того как увидит ваш сайт!</p>
        <a class="btn btn-red" href="#">Заказать</a>
      </div>
      <div class="content-services-order">
        <img src="img/content-app.jpg" width="240" height="124" alt="applications">
       <h2 class="applications">Приложения</h2>
        <p>Покорите топ-10 приложений в AppStrore и Google Play</p>
        <a class="btn btn-green" href="#">Заказать</a>
      </div>
      <div class="content-services-order">
        <img src="img/content-presentation.jpg" width="240" height="124" alt="presentation">
        <h2 class="presentation">Презентации</h2>
        <p>Вы даже не подозреваете, насколько вы изумительны!</p>
        <a class="btn btn-yellow" href="#">Заказать</a>
      </div>
    </section>
 <div class="line"></div>
    <div class="content-description clearfix">
      <div class="content-description-left">
         <h1>Мы — маленькая, но гордая дизайн-студия из Краснодара.</h1>
        <p>Исповедуем принципы минимализма и чистоты. Ставим математический расчет выше креатива. Работаем не покладая рук, как роботы.</p>
        <h2>Выполняем заказы на разработку:</h2>
        <ul class="content-list-2">
          <li>
            Веб-сайтов любой сложности
          </li>
          <li>
            Мобильных приложений для iOS и Android
          </li>
          <li>
            Слайдшоу и видео для корпоративных презентаций
          </li>
        </ul>
      </div>
      <div class="content-description-right">
        <figure class="content-img">
          <img src="img/content-logo.png" width="187" height="119" alt="logotype">
        </figure>
        <h2>Как мы работаем:</h2>
        <ul class="content-list">
          <li>
            С самоотдачей 146%
          </li>
          <li>
            Соблюдая сроки на 100%
          </li>
          <li>
            По предоплате 50%
          </li>
        </ul>
      </div>
    </div>
    <div class="content-partners">
       <a class="content-partner" href="#"><img src="img/content-glukhanko.png" width="198" height="37" alt="Logotype"></a>
       <a class="content-partner" href="#"><img src="img/content-html-academy.png" width="199" height="68" alt="Logotype"></a>
       <a class="content-partner" href="#"><img src="img/content-borodisnki.png" width="209" height="86" alt="Logotype"></a>
     </div>

  </main>
  <div class="map">
    <div class="form">
      <h2>NЁRDS DESIGN STUDIO</h2>
      <p>191186, Санкт-Петербург, ул. Б. Конюшенная, д. 19/8</p>
      <p>тел. +7 (812) 275-75-75</p>
      <a class="btn btn-form" href="#">Напишите нам</a>
    </div>
  </div>
  <footer class="main-footer">
    <div class="container clearfix">
      <div class="footer-social">
        <a class="social-btn social-btn-vk" href="#">Вконтакте</a>
        <a class="social-btn social-btn-fb" href="#">Фейсбук</a>
        <a class="social-btn social-btn-inst" href="#">Инстаграм</a>
      </div>
      <div class="footer-text">
        <h2>Давайте дружить, это выгодно!</h2>
        <p>Скидка 10% для друзей из социальных сетей.</p>
      </div>
    </div>
  </footer>
  <div class="modal-content">
    <form action="#" method="get">
      <div class="name">
        <p>Ваше имя:</p>
        <input id="name" type="text" value="Представьтесь, пожалуйста">
      </div>
      <div class="email">
        <p>Ваш e-mail:</p>
        <input id="e-mail" type="email" value="Для отправки ответа">
      </div>
      <div class="text-msg">
        <p>Текс письма:</p>
        <textarea>В свободной форме</textarea>
      </div>

      <div class="buttons clearfix">
        <button class="btn btn-dispatch" type="submit">Отправить</button>
        <button class="btn btn-cancel" type="submit">Отмена</button>
      </div>
    </form>
     <button class="modal-content-close" type="button" title="Закрыть">Закрыть</button>
  </div>



              
            
!

CSS

              
                body {
  min-width: 900px;
  font-family: "Roboto", "Arial", sans-serif;
  color: #000000;
  font-size: 16px;
  font-weight: 300;
  font-style: normal;
  background: #ffffff;
}
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
.container {
  width: 880px;
  margin: 0 auto;
  padding: 0 10px;
}
.main-header {

  background: #eeeeee;
  padding-top: 27px;
}
.catalog-header {
  background: #eeeeee;
  margin-bottom: 80px;
}
.main-menu {
  float: left;
  width: 430px;
  margin-top: 27px;
  margin-left: 180px;
  margin-bottom: 60px;

}
.main-menu a {
  color: #000000;
  text-decoration: none;
}

.main-menu a:hover {
  color: #fb565a;
}
.main-menu a:active {
  color: #8f8f8f;
}
.main-menu ul {
  margin: 0;
  padding: 0;
  font-size: 0;
  list-style: none;
}
.main-menu li {
  display: inline-block;
  vertical-align: top;
  font-size: 14px;
  line-height: 30px;
  padding-right: 46px;
  font-weight: 600;
  text-transform: uppercase;
}
.main-menu li:last-child {
  padding: 0;
}
.logo-img {
  float: left;
  width: 140px;
}

.basket {
  float: right;
  max-width: 100px;
  margin-top: 5px;
}
.a-basket {
  display: inline-block;
  vertical-align: top;
  position: relative;
  padding: 0 20px;
  padding-top: 25px;
  padding-left: 50px;
  font-size: 14px;
  line-height: 30px;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  text-transform: uppercase;

}
.a-basket:hover {
  color: #fb565a;
}
.a-basket:active {
   color: #8f8f8f;
}
.a-basket::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 20px;
  background: url("../img/sprite.png") no-repeat;
  width: 15px;
  height: 15px;
  background-position: -5px -62px;
}
.a-basket:hover::before {

   background-position: -5px -5px;
}

/*Slider */
.slider {
    position: relative;
    width: 880px;
    height: 310px;
    margin: 0 auto;
}
.slider input[type=radio] {
    position: absolute;
    opacity: 0;
}
.slider-controls{
    position: absolute;
    bottom: 95px;
    left: 50%;
    width: 200px;
    height: 10px;
    margin-left: -100px;
    text-align: center;
    z-index: 1000;
}
.slider-controls label{
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 3px;
    background: #ffffff;
    border: 3px solid #ffffff;
    vertical-align: top;
    border-radius: 50%;
    cursor: pointer;
}
#btn-1:checked ~ .slider-controls label[for="btn-1"],
#btn-2:checked ~ .slider-controls label[for="btn-2"],
#btn-3:checked ~ .slider-controls label[for="btn-3"] {
    background: #c1c1c1;
}
.slide{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.slide-text{
    width: 380px;
    padding: 30px 0;
    color: #283136;
}
.slide-title{
    font-size: 36px;
    line-height: 36px;
    font-weight: normal;
    color: #000000;
}
.slide .btn{
    display: block;
    width: 240px;
    padding: 10px 0;
    margin-top: 25px;
    font-size: 12px;
    color: #ffffff;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    background: #fb565a;
    border-radius: 3px;
}
.slide:nth-child(1){
    background: url("../img/header-pc.png") no-repeat 100% 10px;

}
.slide:nth-child(2){
    background: url("../img/header-calculator.png") no-repeat 100% 10px;
}
.slide:nth-child(3){
    background: url("../img/header-robot.png") no-repeat 100% 0;
}
.slide{
    display: none;
}
#btn-1:checked ~ .slides .slide:nth-child(1) {
    display: block;
}
#btn-2:checked ~ .slides .slide:nth-child(2) {
    display: block;
}
#btn-3:checked ~ .slides .slide:nth-child(3) {
    display: block;
}

/*end of slider*/
.btn {
  display: inline;
  width: 140px;
  padding: 0 5px;
  vertical-align: top;
  text-align: center;
  font-size: 12px;
  border-radius: 3px;
  text-decoration: none;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 18px;
}
.btn-red {
  background-color: #fb565a;
  padding: 14px 40px;
  border-radius: 3px;
}
.btn-red a {
  display: block;
  width: 140px;
}
.btn-red:hover {
  background-color: #d6494d;
}
.btn-red:active {
  background-color: #b63538;
}

.btn-green {
  background-color: #00ca74;
  padding: 14px 40px;
  border-radius: 3px;
}
.btn-green a {
  display: block;
  width: 140px;
}
.btn-green:hover {
  background-color: #01a25e;
}
.btn-green:active {
  background-color: #009053;
}
.btn-yellow {
  background-color: #efc84a;
  padding: 14px 40px;
  border-radius: 3px;
}
.btn-yellow a {
  display: block;
  width: 140px;
}
.btn-yellow:hover {
  background-color: #d6ae2c;
}
.btn-yellow:active {
  background-color: #c09b24;
}
.btn-show {
  background-color: #f1f1f1;
  color:#000000;
  margin-top: 55px;
  padding: 14px 40px;
  border-radius: 5px;
  border: none;
}
.content-services-order {
  float: left;
  margin-right: 80px;
  margin-bottom: 70px;
  width: 240px;
}
.content-services h2 {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 18px;
  line-height: 30px;
}
.content-services p {
  font-size: 15px;
  line-height: 22px;
  margin-bottom: 23px;
}
.content-services-order:last-child {
  margin-right: 0;
}
.content-services {
  margin-top: 80px;
  margin-bottom: 30px;
}
.line {
  border-bottom: 2px solid #eeeeee;
  margin-bottom: 60px;
}
.content-description-left h1 {
  font-size: 30px;
  line-height: 30px;
}
.content-description-left {
  float:left;
  width: 550px;
}
.content-description-left h1 {
  margin-bottom: 25px;
}
.content-description-left p {
  margin-bottom: 50px;
}
.content-description-left h2 {
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 22px;
  text-transform: uppercase;
  font-weight: normal;
}
.content-img {
  padding: 0;
  margin: 0;
}
.content-img img {
  position: relative;
  display: inline;
  margin: 0;
  padding: 0 55px;
  text-align: center;

}

.content-description-right {
  float:right;
  width: 300px;
}
.content-description-right h2 {
  font-size: 16px;
  line-height: 22px;
  padding: 0 55px;
  text-transform: uppercase;
  font-weight: normal;
}
.content-list {
  margin: 14px 0;
  padding: 0 55px;;
  list-style: none;
}
.content-list li {
  position: relative;
  margin-bottom: 30px;
  padding-left: 20px;
}
.content-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -10px;

  width: 25px;
  height: 2px;
  border-bottom: 2px solid #fb565a;

}
.content-list-2 {
  margin: 14px 0;
  padding: 0;
  list-style: none;
}
.content-list-2 li {
  position: relative;
  margin-bottom: 30px;
  padding-left: 20px;
}
.content-list-2 li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -10px;

  width: 25px;
  height: 2px;
  border-bottom: 2px solid #fb565a;

}
.content-partners {
  padding: 45px 0;
  font-size:0;
  text-align: center;
  border-top: 2px solid #eeeeee;
  border-bottom: 2px solid #eeeeee;

}
.content-partner {
  display: inline-block;
  vertical-align: middle;
  font-size: 18px;
}
.content-partner {
  opacity: 0.2;
}
.content-partner:hover {
  opacity: 100;
}
.content-partner:active {
  opacity: 100;
}
.content-partner:nth-child(2) {
  margin-right: 120px;
  margin-left: 120px;
}
.map {
  position: relative;
  height: 416px;
  background-color: #cecece;
  margin-bottom: 90px;
  background-image: url("../img/map.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin-top: 50px;

}
.form {
  width: 250px;
  height: 240px;
  position: absolute;
  padding: 25px 20px;
  top: 50%;
  left: 50%;
  transform: translate(-440px,-50%);
  background: #ffffff;
}
.form h2 {
  font-size: 16px;
  line-height: 30px;
}
.form p {
  font-size: 16px;
  line-height: 20px;
  margin:0;
  margin-bottom: 22px;
}
.form .tel {
  padding-bottom: 20px;
}
.btn-form {
  display: block;
  width: 240px;
  padding: 10px 0;
  margin-top: 25px;
  font-size: 12px;
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  background: #fb565a;
  border-radius: 3px;
}

.main-footer {
  margin-top: 85px;
}
.footer-social {
  float: left;
  text-align: center;
  margin-right: 35px;
  width: 250px;

}
.footer-text h2 {
  font-size: 36px;
  line-height: 36px;
  margin: 0;
}
.footer-text p {
  font-size: 16px;
  line-height: 22px;
}
.social-btn  {
  display: inline-block;
  vertical-align: top;
  width:60px;
  height: 60px;
  font-size: 0;
  text-decoration: none;
  margin: 0 2px;
  border-radius: 35px;
  background: #e1e1e1;
  position: relative;
  transition:
  background-position 0.5s,
  background-color 0.5s;
}
.social-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  background: url("../img/sprite.png") no-repeat center
}
.social-btn:hover {
    background-color: #fb565a;
}
.social-btn:active {
  background-color: #d6494d;
}
.social-btn-vk::before {
  width: 25px;
  height: 16px;
  background-position: -5px -377px;
}
.social-btn-fb::before {
  width: 12px;
  height: 22px;
  background-position: -5px -30px;
}
.social-btn-inst::before {
  width: 21px;
  height: 21px;
  background-position: -5px -346px;
}
.footer-text {
  float: right;
  display: inline-block;
  width: 550px;
}
.footer-text h2 {
  font-size: 36px;
  line-height: 36px;
}
.footer-text p {
  font-size: 16px;
  line-height: 22px;
}

.active {
  position: relative;

  background-color: none;
}
.active a:hover {
  color: #000000;
}
.active::after {
  content: "";
  position: absolute;
  right: 20px;
  bottom: 30px;
  left: 20px;

  height: 2px;

  background-color: #fb565a;
}
.active span {
  display: block;
  padding: 25px 20px;
}

.header-title {
  width: 665px;
  margin: 0 auto;
  font-size: 40px;
  line-height: 45px;
  padding-bottom: 90px;
  text-align: center;
}
.arrow::before {
  content: "";
  position: absolute;
  background: url("../img/sprite.png") no-repeat center
}
.arrow-up {
    margin-right: 10px;
    border:none;
}

.arrow-down a {
  padding-right: 10px;
  text-decoration: none;
  border: none;
}
.arrows .active::before {
  background-position: -5px -306px;
}
.arrow-up::before {
  width: 11px;
  height: 10px;
  background-position: -5px -266px;
}
.arrow-down::before {
  width: 11px;
  height: 10px;
  background-position: -5px -186px;
}
.arrow-up:hover::before {
    background-position: -5px -326px;
}
.arrow-down:hover::before {
   background-position: -5px -246px;
}
.arrow-up:active::before {
    background-position: -5px -286px;
}
.arrow-down:active::before {
   background-position: -5px -206px;
}
.arrows {
  float: right;
  margin-right: -25px;
}
.arrows li {
  padding: 0;
  margin: 0;
}


.content-selections {
  float: left;
  width: 250px;
}

.range-filter{
    width:240px;
    margin-bottom: 50px;
}
.range-controls{
    position:relative;
    height:80px;
    margin-bottom:15px;
    padding:0 20px;
    background:#f1f1f1;
    border-radius:5px;
    overflow:hidden;
}
.range-controls .scale{
    margin-top:39px;
    height:2px;
    background:#d7dcde;
}
.range-controls .bar{
    height:2px;
    background:#00ca74;
}
.range-controls .toggle{
    position:absolute;
    top:30px;
    left:30px;
    width:4px;
    height:4px;
    border:8px solid white;
    background:#ababab;
    cursor:pointer;
    border-radius:50%;
    box-shadow:0 2px 1px 0 #cfcfcf;
}
.range-controls .min-toggle{
    left:10px;
}
.range-controls .max-toggle{
    left:165px;
}
.price-controls input{
    width:60px;
    padding:8px 10px;
    margin-left:10px;
    border:none;
    background:#f1f1f1;
    font-size:16px;
    font-family:'Roboto', sans-serif;
    font-weight:300;
    font-style:normal;
    text-align:center;
    color:#283136;
    border-radius:5px;
}
.price-controls .min-price{
    margin-right:14px;
}
.price-controls{
    white-space:nowrap;
}
.feature {
  margin-top: 50px;
}
.content-templates {
  float: right;
  width: 560px;
}
.card {
  position: relative;
  display: inline-block;
  vertical-align: top;
  margin-right: 80px;
  margin-bottom: 80px;
  font-size: 18px;
  width: 240px;
}
.browser {
  background-color: #f1f1f1;
  border-radius: 3px;
  padding: 5px;
  margin-bottom: 0;
  font-size:0;
}
.browser li {
  background-color: #ffffff;
  padding: 5px;
  margin-left: 5px;
  border-radius: 50%;
  display: inline-block;

}
.card-hidden .card-title {
  text-align: center;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 30px;
  font-weight: bold;

}

.card-hidden .card-p {
  text-align: center;
  padding-bottom: 10px;
  font-size: 14px;
  line-height: 18px;
}
.card-hidden .btn-red {
  padding-bottom: 16px;

}
.card-hidden {
  display: none;
  position: absolute;
  width: 200px;
  padding-left: 20px;
  background-color: #ffffff;
  transform: translate(-50%,-50%);
  left:50%;
  top:50%;
}
.card:hover .card-hidden {
   display: block;
 }
 .card:hover .browser {
   background-color: #797979;
 }
.cards {
  font-size: 0;
}
.card:nth-child(2n+2) {
  margin-right:0;
}

.content-sorting {
  font-size: 12px;
  padding: 0;
  line-height: 18px;
  text-transform: uppercase;
}
.content-sorting li {
  padding-right: 40px;
  display: inline-block;
  font-size: 12px;
  line-height: 18px;
  text-transform: uppercase;
  vertical-align: top;

}
.content-sorting a {
  border-bottom: 1px dotted #00ca74;
}

.content-sorting ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0;
}
.content-sorting a {
  text-decoration: none;
  color:#dbdbdb;
}
.content-sorting a:hover {
  border-bottom: 1px solid #00ca74;
  color:#000000;
}
.content-sorting a:active {
  border: none;
}

input[type="checkbox"] {
  display: none;
}
input[type="checkbox"] + label {
  display: block;
  margin: 10px 0;
  color: #61686c;
  line-height: 20px;
  padding-left: 40px;
  position: relative;
  cursor: pointer;
}
input[type="checkbox"] + label:hover {
  color: #000000;

}
input[type="checkbox"] + label:hover::before {
  border-color: #b5b5b5;
}
input[type="checkbox"] + label::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 10%;
  border: 3px solid #c1c1c1;
  position: absolute;
  top: -1px;
  left:-1px;
}
input[type="checkbox"]:checked + label::after {
  content: "";
  width: 27px;
  height: 23px;
  background-position: -5px -120px;
  position: absolute;
  top: -1px;
  left: -1px;
  background-image: url("../img/sprite.png");
  background-repeat: no-repeat;
}

input[type="checkbox"]:disabled + label {
  opacity: 0.5;
}

  /*Styles for radio */
 input[type="radio"] {
   display: none;
 }
 input[type="radio"] + label {
   display: block;
   margin: 10px 0;
   color: #61686c;
   line-height: 20px;
   padding-left: 40px;
   position: relative;
   cursor: pointer;
 }
 input[type="radio"]:disabled + label {
   opacity: 0.5;
 }
 input[type="radio"] + label:hover {
   color: #000000;
 }
 input[type="radio"] + label:hover::before {
   border-color: #b5b5b5;
 }
 input[type="radio"] + label::before {
  content: "";
  display: block;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  border: 3px solid #c1c1c1;
  position: absolute;
  top: 0;
  left:0;
 }
 input[type="radio"]:checked + label::after {
   content: "";
   position: absolute;
   top: 8px;
   left: 8px;
   width: 9px;
   height: 9px;
   border-radius: 50%;
   background-color: #c1c1c1;
   background-repeat: no-repeat;
 }
 /*end of styles */
.links ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0;
}

.links li {
  display: inline-block;
  font-size: 12px;
  line-height: 18px;
  text-transform: uppercase;
  vertical-align: top;
}

.links a {
  border-radius: 3px;
  margin-right: 10px;
  display: block;
  padding:  15px 20px;
  background-color: #f1f1f1;
  color: #000000;
  text-decoration: none;
}
.links a:hover {
  background-color: #e5e5e5;
}
.links a:active {
  background-color: #d5d5d5;
}
.links ul:last-child {
  padding: 10px 30px;
}
.links .active-link {
  padding: 13px 18px;
  background-color: #ffffff;
  border: 2px solid #f2f2f2;
  border-radius: 5px;
}


.modal-content {
  position: absolute;
  top: 1777px;
  left: 50%;
  display: none;
  margin-left: -250px;
  width: 630px;
  padding: 20px 40px;
  background-color: #ffffff;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.7);
  color: #000000;

}

.modal-content p {
  font-weight: 500;
  margin: 0;
  margin-bottom: 14px;
}

.name {
  float: left;
  width: 230px;
}
.email {
  float: right;
  width: 230px;
  margin-left: 20px;
}
.modal-content .text-msg   {
  clear: both;
}
.name, .email {
  margin-bottom: 20px;
}
.buttons {
  margin-top: 50px;

}
.buttons:last-child {
  margin-right: 170px;
}
.modal-content input[type="text"],input[type="email"] {
  border: 2px solid #d7dcde;
  font-size: 12px;
  line-height: 18px;
  font-family: "Roboto", "Arial", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  border-radius: 5px;
  width: 230px;
  padding: 8px;
}
.modal-content input[type="text"]:hover,input[type="email"]:hover {
  border-color: #a2a9ac;
}
.modal-content input[type="text"]:focus,input[type="email"]:focus {
  border-color: #56bffb;
}
.modal-content input[type="email"] {
  margin-left: -130px;
}
.text-msg textarea {
  font-weight: 500;
  text-transform: uppercase;
  font-family: "Roboto", "Arial", sans-serif;
  width: 460px;
  border: 2px solid #d7dcde;
  border-radius: 5px;
  min-height: 110px;
  padding: 10px 20px;
}
.buttons .btn-dispatch {
  border: none;
  float: left;
  display: block;
  width: 220px;
  padding: 10px 0;
  margin-top: 25px;
  font-size: 12px;
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  background: #fb565a;
  border-radius: 3px;
}

.buttons .btn-cancel {
  border: none;
  float: right;
  display: block;
  width: 220px;
  min-height: 40px;
  padding: 10px 0;
  margin-top: 25px;
  font-size: 12px;
  color: #000000;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  background: #f1f1f1;
  border-radius: 3px;
}
.btn-cancel:hover {
  background-color: #e5e5e5;
}
.btn-cancel:active {
  background-color: #d5d5d5;
}
.modal-content-close {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 5px;
  right: 8px;
  font-size: 0;
  background-color: #fb565a;
  border: 0;
  outline: 0;
  cursor: pointer;
  border-radius: 50%;
}
.modal-content-close::before,
.modal-content-close::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 11px;
  width: 19px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 1px;
}
.modal-content-close::before {
  transform: rotate(45deg);
}

.modal-content-close::after {
  transform: rotate(-45deg);
}

              
            
!

JS

              
                
              
            
!
999px
What do you call a two-legged ghost cow? Boolean Beef.

Console