/*=========================================
        RESPONSIVE CSS
==========================================*/

/*=========================================
        Large Desktop
==========================================*/

@media (min-width: 1400px) {
  .hero h1 {
    font-size: 78px;
  }

  .id-card {
    width: 320px;
  }

  .card-photo img {
    width: 150px;
    height: 185px;
  }
}

/*=========================================
        Laptop
==========================================*/

@media (max-width: 1200px) {
  .hero h1 {
    font-size: 58px;
  }

  .hero h3 {
    font-size: 25px;
  }
}

/*=========================================
        Tablet Landscape
==========================================*/

@media (max-width: 992px) {
  section {
    padding: 90px 0;
  }

  .custom-navbar {
    background: #07111f;
  }

  .navbar-collapse {
    margin-top: 20px;
  }

  .navbar-nav {
    text-align: center;
  }

  .navbar-nav .nav-link {
    margin: 15px 0;
  }

  .hero {
    padding-top: 130px;

    text-align: center;
  }

  .hero-text {
    margin: auto;
  }

  .hero-button {
    justify-content: center;
  }

  .social {
    text-align: center;
  }

  .hero-image {
    margin-top: 70px;
  }

  .id-card {
    width: 270px;
  }

  .card-photo img {
    width: 120px;
    height: 150px;
  }

  .lanyard-strap {
    top: -10px;
    height: 130px;
  }

  .strap-line {
    height: 100px;
  }

  .section-title h2 {
    font-size: 34px;
  }

  .contact-info {
    margin-bottom: 40px;
  }
}

/*=========================================
        Tablet
==========================================*/

@media (max-width: 768px) {
  .hero h1 {
    font-size: 48px;
  }

  .hero h3 {
    font-size: 22px;
  }

  .hero-text {
    font-size: 15px;
  }

  .btn-custom,
  .btn-custom2 {
    padding: 13px 24px;
  }

  .project-card img {
    height: 220px;
  }

  .contact-form {
    padding: 28px;
  }

  .section-title {
    margin-bottom: 55px;
  }
}

/*=========================================
        Mobile
==========================================*/

@media (max-width: 576px) {
  section {
    padding: 80px 0;
  }

  .logo {
    font-size: 24px;
  }

  .hero {
    min-height: auto;

    padding-top: 120px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero h3 {
    font-size: 19px;
  }

  .hero-text {
    font-size: 14px;

    line-height: 1.8;
  }

  .hero-button {
    display: flex;

    flex-direction: column;

    gap: 15px;
  }

  .btn-custom {
    width: 100%;

    margin-right: 0;
  }

  .btn-custom2 {
    width: 100%;
  }

  .social {
    margin-top: 30px;
  }

  .social a {
    width: 45px;

    height: 45px;

    font-size: 18px;

    margin: 5px;
  }

  .hero-image {
    margin-top: 50px;
  }

  .id-card {
    width: 240px;
  }

  .card-photo img {
    width: 100px;
    height: 130px;
  }

  .card-topbar {
    height: 38px;
  }

  .card-topbar::after {
    font-size: 9px;
  }

  .card-info h5 {
    font-size: 17px;
  }

  .card-info p {
    font-size: 12px;
  }

  .lanyard-strap {
    top: 0;
    height: 110px;
  }

  .strap-line {
    height: 80px;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .skill-card {
    padding: 28px 15px;
  }

  .skill-card i {
    font-size: 45px;
  }

  .project-card img {
    height: 200px;
  }

  .project-content {
    padding: 22px;
  }

  .project-content h4 {
    font-size: 22px;
  }

  .project-btn {
    flex-direction: column;
  }

  .contact-item {
    padding: 18px;
  }

  .contact-item span {
    font-size: 14px;
  }

  .contact-form {
    padding: 25px;
  }

  footer {
    font-size: 14px;
  }
}

/*=========================================
        Small Mobile
==========================================*/

@media (max-width: 400px) {
  .hero h1 {
    font-size: 34px;
  }

  .hero h3 {
    font-size: 17px;
  }

  .id-card {
    width: 200px;
  }

  .card-photo img {
    width: 85px;
    height: 110px;
  }

  .card-topbar {
    height: 32px;
  }

  .card-topbar::after {
    font-size: 8px;
    letter-spacing: 2px;
  }

  .card-info h5 {
    font-size: 15px;
  }

  .card-info {
    padding: 0 12px 18px;
  }

  .lanyard-strap {
    height: 90px;
  }

  .strap-line {
    height: 65px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .skill-card {
    padding: 22px 10px;
  }

  .skill-card i {
    font-size: 38px;
  }

  .project-card img {
    height: 180px;
  }

  .contact-form {
    padding: 20px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 13px;
  }

  .contact-item {
    flex-direction: column;

    text-align: center;

    gap: 10px;
  }
}

/*=========================================
        Ultra Small
==========================================*/

@media (max-width: 320px) {
  .hero h1 {
    font-size: 28px;
  }

  .hero h3 {
    font-size: 15px;
  }

  .id-card {
    width: 170px;
  }

  .card-photo img {
    width: 70px;
    height: 95px;
  }

  .card-topbar {
    height: 28px;
  }

  .card-topbar::after {
    font-size: 7px;
    letter-spacing: 1px;
  }

  .card-info h5 {
    font-size: 13px;
  }

  .card-info p {
    font-size: 10px;
  }

  .lanyard-strap {
    height: 75px;
  }

  .strap-line {
    height: 50px;
  }

  .clip {
    width: 36px;
    height: 22px;
  }

  .logo {
    font-size: 22px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .hero-button {
    gap: 12px;
  }

  .btn-custom,
  .btn-custom2 {
    padding: 12px;
  }
}
