@media only screen and (min-width: 415px) and (max-width: 800px) {
  #main-header {
    padding-top: 30px;
    text-align: center;
    font-size: 30px;
    color: rgb(0, 0, 61);
    font-family: "MyFont2";
  }

  #ps {
    padding-top: 10px;
    padding-bottom: 20px;
    text-align: center;
    font-size: 20px;
    color: rgb(0, 0, 61);
    font-family: "MyFont2";
  }

  /* Start of Navbar Styles*/
  .scrolled {
    background-color: var(--primary-color) !important;
    opacity: 0.9;
  }

  .navbar {
    position: fixed;
    height: 10vh;
    width: 100vw;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0;
    display: flex;
    align-items: center;
    z-index: 3;
    transition: background-color 0.5s ease-in-out;
  }

  #menu-button {
    display: none;
  }

  .navbar ul {
    width: 100%;
    height: 100%;
    list-style: none;
    display: flex;
    justify-content: right;
    margin-right: 40px;
    user-select: none;
  }

  .navbar li {
    display: inline-block;
    transition: background-color 0.4s ease-in-out;
  }

  .navbar li a {
    text-align: center;
    line-height: 10vh;
    padding: 20px;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: aliceblue;
    font-family: "MyFont2";
    font-size: 20px;
  }

  .navbar li:hover {
    background-color: rgb(8, 2, 32);
  }

  .navbar > a {
    text-decoration: none;
    height: 10vh;
  }

  #logo {
    height: 100%;
    margin-left: 10px;
    padding: 0;
  }
  /* End of Navbar Styles*/

  /* Start of Main screen Styles*/
  #video-div {
    max-width: 100%;
    max-height: 100%;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
  }

  video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
    filter: blur(1px);
    transform: scale(1.01);
    overflow: hidden;
  }

  #main-text-div {
    position: absolute;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    user-select: none;
    z-index: 1;
  }

  #main-text {
    margin: 0;
    font-size: 9vw;
    font-weight: 300;
    color: rgb(255, 255, 255);
    font-family: "MyFont", sans-serif;
  }

  #sub-text {
    margin: 0;
    font-size: 4vw;
    font-weight: 200;
    color: rgb(182, 182, 214);
    font-family: "MyFont", sans-serif;
  }

  /* Start of Main screen Styles*/

  /* Start of Scroll Buttons Code*/

  .center-con {
    margin-left: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    cursor: pointer;
  }

  .round {
    position: absolute;
    border: 2px solid #3c2e5e;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    background-color: #232b58;
  }

  #cta {
    width: 100%;
    cursor: pointer;
    position: absolute;
  }

  #cta .arrow {
    left: 30%;
  }
  .arrow {
    position: absolute;
    bottom: 0;
    margin-left: 0px;
    width: 12px;
    height: 12px;
    background-size: contain;
    top: 12px;
  }
  .segunda {
    margin-left: 8px;
  }
  .next {
    background-image: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+PHN0eWxlPi5zdDB7ZmlsbDojZmZmfTwvc3R5bGU+PHBhdGggY2xhc3M9InN0MCIgZD0iTTMxOS4xIDIxN2MyMC4yIDIwLjIgMTkuOSA1My4yLS42IDczLjdzLTUzLjUgMjAuOC03My43LjZsLTE5MC0xOTBjLTIwLjEtMjAuMi0xOS44LTUzLjIuNy03My43UzEwOSA2LjggMTI5LjEgMjdsMTkwIDE5MHoiLz48cGF0aCBjbGFzcz0ic3QwIiBkPSJNMzE5LjEgMjkwLjVjMjAuMi0yMC4yIDE5LjktNTMuMi0uNi03My43cy01My41LTIwLjgtNzMuNy0uNmwtMTkwIDE5MGMtMjAuMiAyMC4yLTE5LjkgNTMuMi42IDczLjdzNTMuNSAyMC44IDczLjcuNmwxOTAtMTkweiIvPjwvc3ZnPg==);
  }

  @keyframes bounceAlpha {
    0% {
      opacity: 1;
      transform: translateX(0px) scale(1);
    }
    25% {
      opacity: 0;
      transform: translateX(10px) scale(0.9);
    }
    26% {
      opacity: 0;
      transform: translateX(-10px) scale(0.9);
    }
    55% {
      opacity: 1;
      transform: translateX(0px) scale(1);
    }
  }

  .bounceAlpha {
    animation-name: bounceAlpha;
    animation-duration: 1.4s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
  }

  .arrow.primera.bounceAlpha {
    animation-name: bounceAlpha;
    animation-duration: 1.4s;
    animation-delay: 0.2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
  }

  .round:hover .arrow {
    animation-name: bounceAlpha;
    animation-duration: 1.4s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
  }
  .round:hover .arrow.primera {
    animation-name: bounceAlpha;
    animation-duration: 1.4s;
    animation-delay: 0.2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
  }

  .mouse_scroll {
    position: absolute;
    cursor: pointer;
    top: 70vh;
    left: calc(50vw - 12px);
    margin: 0 auto;
    z-index: 2;
  }

  .m_scroll_arrows {
    display: block;
    width: 5px;
    height: 5px;
    -ms-transform: rotate(45deg);
    /* IE 9 */
    -webkit-transform: rotate(45deg);
    /* Chrome, Safari, Opera */
    transform: rotate(45deg);

    border-right: 2px solid white;
    border-bottom: 2px solid white;
    margin: 0 0 3px 4px;

    width: 16px;
    height: 16px;
  }

  .unu {
    margin-top: 1px;
  }

  .unu,
  .doi,
  .trei {
    -webkit-animation: mouse-scroll 1s infinite;
    -moz-animation: mouse-scroll 1s infinite;
    animation: mouse-scroll 1s infinite;
  }

  .unu {
    -webkit-animation-delay: 0.1s;
    -moz-animation-delay: 0.1s;
    -webkit-animation-direction: alternate;

    animation-direction: alternate;
    animation-delay: alternate;
  }

  .doi {
    -webkit-animation-delay: 0.2s;
    -moz-animation-delay: 0.2s;
    -webkit-animation-direction: alternate;

    animation-delay: 0.2s;
    animation-direction: alternate;

    margin-top: -6px;
  }

  .trei {
    -webkit-animation-delay: 0.3s;
    -moz-animation-delay: 0.3s;
    -webkit-animation-direction: alternate;

    animation-delay: 0.3s;
    animation-direction: alternate;

    margin-top: -6px;
  }

  .mouse {
    height: 42px;
    width: 24px;
    border-radius: 14px;
    transform: none;
    border: 2px solid white;
    top: 170px;
  }

  .wheel {
    display: block;
    margin: 5px auto;
    background: white;
    position: relative;
    height: 4px;
    width: 4px;
    border: 2px solid #fff;
    -webkit-border-radius: 8px;
    border-radius: 8px;
  }

  .wheel {
    -webkit-animation: mouse-wheel 0.6s linear infinite;
    -moz-animation: mouse-wheel 0.6s linear infinite;
    animation: mouse-wheel 0.6s linear infinite;
  }

  @-webkit-keyframes mouse-wheel {
    0% {
      opacity: 1;
      -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
      transform: translateY(0);
    }

    100% {
      opacity: 0;
      -webkit-transform: translateY(6px);
      -ms-transform: translateY(6px);
      transform: translateY(6px);
    }
  }

  @-moz-keyframes mouse-wheel {
    0% {
      top: 1px;
    }

    25% {
      top: 2px;
    }

    50% {
      top: 3px;
    }

    75% {
      top: 2px;
    }

    100% {
      top: 1px;
    }
  }

  @-o-keyframes mouse-wheel {
    0% {
      top: 1px;
    }

    25% {
      top: 2px;
    }

    50% {
      top: 3px;
    }

    75% {
      top: 2px;
    }

    100% {
      top: 1px;
    }
  }

  @keyframes mouse-wheel {
    0% {
      top: 1px;
    }

    25% {
      top: 2px;
    }

    50% {
      top: 3px;
    }

    75% {
      top: 2px;
    }

    100% {
      top: 1px;
    }
  }

  @-webkit-keyframes mouse-scroll {
    0% {
      opacity: 0;
    }

    50% {
      opacity: 0.5;
    }

    100% {
      opacity: 1;
    }
  }

  @-moz-keyframes mouse-scroll {
    0% {
      opacity: 0;
    }

    50% {
      opacity: 0.5;
    }

    100% {
      opacity: 1;
    }
  }

  @-o-keyframes mouse-scroll {
    0% {
      opacity: 0;
    }

    50% {
      opacity: 0.5;
    }

    100% {
      opacity: 1;
    }
  }

  @keyframes mouse-scroll {
    0% {
      opacity: 0;
    }

    50% {
      opacity: 0.5;
    }

    100% {
      opacity: 1;
    }
  }

  /* End of Scroll Buttons Code*/

  /* Start of services*/

  #services-main-header {
    padding: 10px 20px 0 20px;
    text-align: center;
    font-size: 30px;
    color: rgb(0, 0, 61);
    font-family: "MyFont2";
  }

  .services-buttons {
    width: 70%;
    height: 20px;
    margin: 0 auto;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .services-button {
    width: 250px;
    height: 40px;
    margin-top: 20px;
    padding: 5px;
    border-radius: 20px;
    font-size: 12px;
    border: none;
    background-color: #474d70;
    color: white;
    font-family: "MyFont3";
    cursor: pointer;
    transition: all 0.5s ease-in-out;
    z-index: 2;
  }

  .services-button-active {
    margin-top: 0 !important;
  }

  #info-tabs-section {
    width: 100%;
  }

  .tab {
    background-color: #cbc6d1;
    display: none;
    transition: all 0.5s ease-in-out;
    margin: 0 auto;
    width: 85%;
  }

  .tab-active {
    display: block !important;
  }

  .tab img {
    width: 100%;
    margin: 0 auto;
    display: block;
    background-color: #cbc6d1;
  }

  .tab p {
    padding: 20px 50px;
    margin-bottom: 30px;
    font-size: 15px;
    font-family: "MyFont1";
  }

  .tab > p:nth-child(3) {
    padding-top: 0;
  }

  /* End of services*/

  /* Start of Articles*/

  #main-section {
    background-color: rgb(224, 224, 224);
  }

  #articles-header {
    padding: 20px 20px 0 20px;
    text-align: center;
    font-size: 30px;
    color: rgb(0, 0, 61);
    font-family: "MyFont2";
  }

  #articles-main-header {
    padding: 10px 20px 20px 20px;
    text-align: center;
    font-size: 25px;
    color: rgb(0, 0, 61);
    font-family: "MyFont2";
  }

  #articles-subheader {
    padding-top: 10px;
    padding-bottom: 20px;
    text-align: center;
    font-size: 20px;
    color: rgb(0, 0, 61);
    font-family: "MyFont2";
  }

  #articles-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .article {
    width: 240px;
    height: 300px;
    text-decoration: none;
    background-color: #cbc6d1;
    overflow: hidden;
    margin: 20px;
    user-select: none;
    transition: all 0.3s ease-in-out;
  }

  .article:hover {
    border-radius: 5px;
  }

  .article img {
    width: 100%;
    height: 80%;
    object-fit: cover;
  }

  .article div {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 20%;
  }

  .article h2 {
    font-family: myfont1;
    text-align: center;
    font-size: 12px;
    color: #0a2c52;
    margin: 3px;
    margin-top: -15px;
  }
  article {
    padding-top: 5px;
    padding-bottom: 40px;
    margin: 0 auto;
    width: 80%;
    font-size: 20px;
    font-family: "MyFont1";
  }

  article ul {
    margin: 0 auto;
    width: 90%;
  }

  article p,
  article li {
    text-align: justify;
    list-style: numeric;
    padding-bottom: 5px;
  }

  article p {
    margin: 20px 0;
    text-indent: 10px;
  }

  /* End of Articles*/

  /* Start of Templates */
  #filter {
    border: none;
    padding-top: 20px;
    width: 80%;
    height: 30vw;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    font-family: "MyFont2";
  }

  #filter label {
    font-size: 4vw;
  }

  #filter select {
    height: 5vw;
    width: 30vw;
    font-size: 3.5vw;
    border: none;
    background-color: #afd3e2;
    border-radius: 5px;
    font-family: inherit;
  }

  #filter select:hover {
    cursor: pointer;
  }

  #filter button {
    width: 28vw;
    height: 6vw;
    font-size: 3.5vw;
    background-color: #88c5df;
    transition: background-color 0.5s ease-in-out;
    border: none;
    border-radius: 5px;
    font-family: inherit;
  }

  #filter button:hover {
    background-color: #7784f8;
    cursor: pointer;
  }

  #filter option {
    background-color: #e3eaec;
  }

  #filter option:hover {
    cursor: pointer;
  }

  .nothingFound {
    font-size: 20px;
    color: #ff6161;
    margin: 40px 0;
  }

  #work {
    width: 100%;
    padding-top: 12vh;
    background: linear-gradient(62deg, #dee3e7 0%, #edeaf0 100%);
  }

  #site-template-list {
    display: flex;
    flex-wrap: wrap;
    padding: 30px 30px;
    justify-content: center;
    align-items: center;
    gap: 35px;
  }

  #site-template-list a {
    width: 280px;
    height: 350px;
    text-decoration: none;
    background-color: #afd3e2;
    padding: 10px;
    transition: all 0.3s ease-in-out;
  }

  #site-template-list a:hover {
    background-color: #7784f8;
    border-radius: 5px;
  }

  #site-template-list a div {
    height: 15%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #site-template-list a h2 {
    font-family: "MyFont2";
    font-size: 20px;
    text-align: center;
    color: #020003;
  }

  #site-template-list a img {
    width: 100%;
    height: 85%;
  }

  .blur {
    filter: blur(5px);
  }

  /* End of Templates */

  /* Start Of Contacts*/
  #main-contact-header {
    text-align: center;
    font-size: 40px;
    color: rgb(0, 0, 61);
    font-family: "MyFont2";
  }

  form {
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    width: 40vw;
    height: 70vh;
    justify-content: space-evenly;
    align-items: center;
    background-color: rgba(61, 60, 110, 0.3);
    padding: 10px 40px;
    border-radius: 15px;
  }

  form input {
    border-radius: 5px;
    height: 40px;
    padding: 3px;
    outline: none;
    width: 100%;
    background-color: var(--contact-form-color);
    border: 2px solid var(--form-field-borders);
  }

  form textarea {
    border-radius: 5px;
    padding: 3px;
    outline: none;
    width: 100%;
    height: 40%;
    background-color: var(--contact-form-color);
    border: 2px solid var(--form-field-borders);
  }

  form button {
    cursor: pointer;
    width: 120px;
    height: 30px;
    border: 2px solid var(--form-field-borders);
    border-radius: 5px;
    font-weight: 600;
    background-color: rgb(216, 215, 215);
    letter-spacing: 0.8px;
    font-size: 16px;
    user-select: none;
    transition: background-color 0.3s ease-in-out;
  }

  form button:hover {
    background-color: #60457a;
  }

  #contact {
    width: 100%;
    padding-top: 12vh;
    position: relative;
  }

  #contact img {
    margin-top: -12vh;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: blur(2px);
  }

  #contact-list {
    background-color: rgb(147, 172, 255);
    display: flex;
    flex-wrap: wrap;
    padding: 30px 150px;
    justify-content: center;
    align-items: center;
    gap: 50px;
  }

  #contact-list a {
    font-size: 20px;
    text-decoration: none;
    color: #0a2c52;
    transition: all 0.2s ease-in-out;
  }

  #contact-list a:hover {
    color: #0b1cb9;
  }

  /* End Of Contacts*/

  /* Start of Footer Styles*/
  footer {
    position: relative;
    height: 150px;
    background-color: var(--primary-color);
    overflow: hidden;
  }

  footer h1 {
    position: absolute;
    width: 100%;
    text-align: center;
    margin-top: 12px;
    font-family: "MyFont2";
    color: rgb(216, 223, 230);
    font-weight: 400;
    font-size: 25px;
  }

  footer #logo {
    position: absolute;
    height: 100px;
    left: 5vw;
    top: 40px;
    user-select: none;
    border-radius: 10px;
  }

  .scroll-up i {
    position: absolute;
    font-size: 5vw;
    color: rgb(216, 203, 203);
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
  }

  .scroll-up i:first-child {
    animation-name: anim1;
  }

  .scroll-up i:nth-child(2) {
    animation-name: anim2;
  }

  .scroll-up i:last-child {
    animation-name: anim3;
  }

  @keyframes anim1 {
    0% {
      top: 60px;
      right: var(--arrows-right);
    }

    25% {
      top: 40px;
      right: var(--arrows-right);
    }

    50% {
      top: 40px;
      right: var(--arrows-right);
    }

    75% {
      top: 40px;
      right: var(--arrows-right);
    }

    100% {
      top: 60px;
      right: var(--arrows-right);
    }
  }

  @keyframes anim2 {
    0% {
      top: 75px;
      right: var(--arrows-right);
    }

    25% {
      top: 75px;
      right: var(--arrows-right);
    }

    50% {
      top: 55px;
      right: var(--arrows-right);
    }

    75% {
      top: 55px;
      right: var(--arrows-right);
    }

    100% {
      top: 75px;
      right: var(--arrows-right);
    }
  }

  @keyframes anim3 {
    0% {
      top: 90px;
      right: var(--arrows-right);
    }

    25% {
      top: 90px;
      right: var(--arrows-right);
    }

    50% {
      top: 90px;
      right: var(--arrows-right);
    }

    75% {
      top: 70px;
      right: var(--arrows-right);
    }

    100% {
      top: 90px;
      right: var(--arrows-right);
    }
  }

  .social-icons {
    margin: 0 auto;
    padding-top: 20px;
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    list-style: none;
  }

  .social-icons i {
    font-size: 7vw;
    color: #fff;
  }

  /* End of Footer Styles*/
}
