@import url("MontserratPoppins.css");
* {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    border: none;
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    min-height: 100vh;
}
section.main{
  padding-top: 7.5rem;
  padding-bottom: 1rem;
}
section{
  min-height: 5vh;
  padding: 0 5%;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.hid{
  max-width: 220px;
  color: #fff;
}

.hid:hover{
  color: #000;
}

.content-nav{
    max-width: 1250px;
    margin: auto;
    padding: 0 30px;
}
.navbar {
    position: fixed;
    width: 100%;
    z-index: 2;
    padding: 25px 0;
    transition: all 0.3s ease;
    font-family: "Poppins", sans-serif;
    color: #00152e;
}
.navbar.sticky {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 0.5rem 0.5rem rgba(255, 255, 255, 0.05);
    color: #00152e;
}
.navbar .content-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar .logo {
    position: relative;
    color: #0DB760;
    font-weight: 700;
    font-size: 25px;
}
.navbar .menu-list {
    display: inline-flex;
}
.menu-list li {
    list-style: none;
}
.menu-list li a {
    color: #000;
    font-size: 18px;
    margin-left: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    opacity: 100%;
    cursor: pointer;
}
.menu-list li .ac:hover {color: #ff0000;}
.menu-list li .ex:hover {color: #9bcfb7;}
.menu-list li .ex:active {color: #579e9f;}
.icon {
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    display: none;
}
.menu-list .cancel-btn {
    color: #fff;
    position: absolute;
    right: 30px;
    top: 20px;
}
.menu-list .cancel-btn:hover{color: #ff5e00;}
.menu-list .cancel-btn:active{color: #ff0000;}
.menu-btn{color: #000;}
.menu-btn:hover{color: #0ecb73;}
.menu-btn:active{color: #088e50;}
.container {
  padding: 2px 16px;
}
section .content h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 4rem;
  font-weight: 600;
}
section .content p {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  max-width: 80%;
  font-size: 1.2rem;
  opacity: 50%;
  padding: 1rem 0;
}
.prj{
  position: relative;
  display: inline-block;
  margin-right: 40px;
  margin-bottom: 40px;
  width: 400px;
  background-color: #f5f5f5;
  border-radius: 5px;
  transition: all 0.2s ease-in;
  box-shadow: 0 4px 20px 0 rgba(200, 200, 200, 0.8);
}
.prj:hover{box-shadow: 0 8px 40px -10px rgba(0, 221, 255, 0.5);transition: all 0.2s ease-out;}
.prj .container{
  background-color: #fafafa;
  height: 70px;
}
model-viewer{
  width: 400px;
  height: 400px;
}
.disc{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(98, 98, 98, 0.5);
  padding: 20px 100%;
}
footer{
  text-align: center;
  padding: 10px;
  background-color: #0ecb73;
}
@media (max-width: 1200px) {
  .content-nav {
    padding: 0 60px;
  }
}
@media (max-width: 991px) {
  .content-nav {
    padding: 0 30px;
  }
  .btn {
    font-size: 1.2rem;
  }
  .home .content h1 {
    font-size: 4rem;
  }
  .home .content p {
    font-size: 1.4rem;
  }
}
@media (max-width: 767px) {
  body.disabled {
    overflow: hidden;
  }
  .icon {
    display: block;
  }
  .icon.hide {
    display: none;
  }
  .btn {
    font-size: 1rem;
  }
  .navbar .menu-list {
    position: fixed;
    height: 100vh;
    width: 100%;
    max-width: 300px;
    left: -100%;
    top: 0px;
    display: block;
    padding: 40px 0;
    text-align: center;
    background: #0f8f53;
    transition: all 0.3s ease;
  }
  .navbar.show .menu-list {
    left: 0%;
  }
  .navbar .menu-list li {
    margin-top: 45px;
  }
  .navbar .menu-list li a {
    color: #fff;
    font-size: 23px;
    margin-left: -100%;
    transition: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }
  .navbar.show .menu-list li a {
    margin-left: 0px;
  }
  .navbar.show .menu-list li .ac:hover {color: #ff0000;}
  .navbar.show .menu-list li .ac:active {color: #ff0000;}
  .navbar.show .menu-list li .ex:hover{color: #efff42;}
  .navbar.show .menu-list li .ex:active{color: #c5b100;}
  .home {
    flex-flow: column-reverse;
  }
  .home .image img {
    display: inline-block;
    width: 100%;
    text-align: center;
  }
  .home .content h1 {
    font-size: 3rem;
  }
  .home .content p {
    font-size: 1.2rem;
    max-width: 100%;
  }
  .prj{
    margin-right: 20px;
  }
}
@media (max-width: 500px) {
  .home .content h1 {
    font-size: 2.5rem;
  }
}
@media (max-width: 440px) {
  .home .content h1 {
    font-size: 2rem;
  }
  .prj{
    width: 90vw;
    margin-right: 10px;
  }
  model-viewer{
    width: 90vw;
    height: 90vw;
  }
}