/* css variables */
:root {
  --light-gray: #efefef;
  --dark-gray: #a9a9a9;
  --light-blue: #caebf2;
  --red: #ff3b3f;
  --font-0x: 13px;
  --font-1x: 20px;
  --font-2x: 33px;
  --font-3x: 53px;
  --font-4x: 86px;
  --font-5x: 139px;
}

body {
  background-color: var(--light-gray);
  background-image: url('./images/bg.jpg');
  background-repeat: repeat;
  font-family: 'Open Sans', Arial, sans-serif;
  margin: 0 0 0 0;
  padding: 25px 35px;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  }

  h1 {
    font-family: 'Ubuntu', Helvetica, Arial, sans-serif;
    font-size: var(--font-3x);
    text-align: left;
    }
    h1 > span {
      color: #5f5f5f;
      font-family: 'Open Sans', Arial, sans-serif;
      font-size: var(--font-1x);
      font-weight: normal;
      display: block;
    }

  .cta {
    background-color: #0966c2;
    border-bottom: 15px solid #0a58a5;
    border-left: 5px solid #1282f1;
    border-right: 5px solid #1282f1;
    border-top: 5px solid #0a58a5;
    border-radius: none;
    color: white;
    display: inline-block;
    margin: 0 0 0 0;
    padding: 20px 20px;
    position: absolute;
    text-decoration: none;
    text-shadow: 1px 1px 1px #083d71;
    text-transform: uppercase;
    transition: border 0.1s ease;
    }
    @media screen and (max-width: 500px) {
      .cta {
        border: none;
        box-sizing: border-box;
        display: block;
        position: relative;
        text-align: center;
        width: 100%;
        }
        .cta:hover {
          border-bottom: none !important;
          border-top: none !important;
        }
    }
    .cta:hover {
      border-bottom: 13px solid #0a58a5;
      border-top: 7px solid #0a58a5;
      text-shadow: -1px -1px 1px #083d71;
    }

  .description {
    font-size: var(--font-2x);
    line-height: 1.5;
    margin-top: 100px;
    max-width: 35em;
    width: 70%;
    }
    .description em {
      color: #003e7b;
    }
    @media only screen and (max-width: 680px) {
      .description {
        font-size: var(--font-1x);
        width: 100%;
      }
    }
  .triangles {
    background-image: url('./images/arrows.png');
    bottom: -50px;
    height: 335px;
    opacity: 1;
    position: fixed;
    right: 5%;
    transition: all 0.5s ease;
    width: 102px;
    }
    @media screen and (max-width: 900px) {
      .triangles {
        display: none;
      }
    }
    .triangles:hover {
      opacity: 0.5;
      bottom: -60px;
    }

  .projects {
    margin-top: 500px;
    width: 100%;
    }
    @media screen and (max-width: 900px) {
      .projects {
        margin-top: 125px;
      }
    }
    @media screen and (max-width: 500px) {
      .projects {
        margin-top: 50px;
      }
    }
    .projects::before {
      content: 'Projects';
      color: #f5f5f5;
      font-family: Helvetica, Arial, sans-serif;
      font-size: 139px;
      margin-top: -175px;
      position: absolute;
      text-transform: uppercase;
      }
      @media screen and (max-width: 900px) {
        .projects::before {
          display: none;
        }
      }
      @media screen and (max-width: 600px) {
        .projects::before {
          font-size: 50px;
        }
      }
    .project-container {
      border-bottom: 1px solid #e8e8e8;
      clear: both;
      display: inline-block;
      float: none;
      margin-top: 100px;
      padding-bottom: 100px;
      width: 100%;
      }
      @media screen and (max-width: 900px) {
        .project-container {
          margin-top: 50px;
          padding-bottom: 50px;
        }
      }
      .project-thumbnail {
        border: 10px solid #fff;
        box-shadow: 0px 1px 1px 2px #e4e4e4;
        display: block;
        float: left;
        margin-top: 10px;
        width: 30%;
      }
      .project-text-content {
        float: left;
        margin-left: 5%;
        width: 60%;
        }
        @media screen and (max-width: 750px) {
          .project-text-content {
            float: none;
            margin-left: 0;
            width: 100%;
          }
        }
        .project-title {
          font-family: 'Ubuntu', Helvetica, Arial, sans-serif;
          margin-bottom: 0;
          margin-top: 5px;
          text-transform: uppercase;
        }
        .project-link {
          border-bottom: 2px solid #0966c2;
          color: #0966c2;
          display: inline-block;
          font-weight: bold;
          padding-left: 10px;
          padding-right: 10px;
          position: relative;
          text-decoration: none;
          }
          .project-link::after {
            content: '';
            border-bottom: 10px solid transparent;
            border-left-color: transparent;
            border-left-style: solid;
            border-left-width: 10px;
            border-right: 10px solid transparent;
            border-top: 10px solid transparent;
            bottom: -10px;
            display: inline-block;
            position: absolute;
            right: -14px;
            transition: all 0.3s ease;
            }
            .project-link:hover:after {
              border-left-color: #0966c2;
              right: -20px;
            }
        .projects img {
          display: block;
          float: left;
        }
        @media screen and (max-width: 750px) {
          .projects img {
            border: none;
            box-shadow: none;
            float: none;
            width: 100%;
          }
        }
        .project-container h3 {
          clear: both;
          color: #292929;
          margin-bottom: 5px;
        }
        .project-description {
          color: #505050;
          float: left;
          font-size: var(--font-1x);
          line-height: 1.5;
          }
          @media screen and (max-width: 900px) {
            .project-description {
              font-size: var(--font-0x);
            }
          }
          .project-description a {
            border-bottom: 1px solid #e6e6e6;
            color: #505050;
            text-decoration: none;
          }
        .project-technologies {
          float: left;
          list-style-type: none;
          margin: 0 0 0 0;
          padding: 0 0 0 0;
          }
          .project-technologies li {
            display: inline;
            font-size: var(--font-0x);
            }
            .project-technologies li:after {
              content: '-';
              margin: 0 0 0 5px;
            }
            .project-technologies li:last-child:after {
              display: none;
            }

  footer {
    clear: both;
    display: block;
    float: none;
    margin-top: 200px;
    width: 100%;
    }
    footer small {
      display: block;
      font-size: var(--font-0x);
    }
