* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: rgb(255, 152, 0);
  --secondary-color: rgba(63, 63, 63, 1);

  --bg-body-color: rgba(11, 9, 12, 1);
  --text-color: rgb(255, 255, 255);

  --bg-button-color-hover: rgb(160, 101, 13);

  
  font-family: "Work Sans", sans-serif;
  font-size: 62.5%;

  --fs-body: 1.6rem;
  
}

body {
  background: var(--bg-body-color)
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: solid;
  border-radius: 1.0rem;

  margin: 1.0rem;
  padding:0 1.0rem 0 1.0rem;
  background:var(--secondary-color);
  opacity: 0.8;
}

.home {
  animation: top-down 900ms 0.3s ease-in-out both;
}

.sobre {
  animation: top-down 900ms 0.6s ease-in-out both;
}

.projetos {
  animation: top-down 900ms 0.9s ease-in-out both;
}

.contato {
  animation: top-down 900ms 1.2s ease-in-out both;
}

.box-logo {
  height:18.0rem;
}

.letter-D {
  position: absolute;
  font-size: 11.0rem;
  color: var(--primary-color);
  font-family: "Noto Sans Bassa Vah", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  animation: slide-br 700ms ease-in-out both;
}

.letter-M {
  font-size: 11.0rem;

  font-family: "Noto Sans Bassa Vah", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;

  position: absolute;
  top: 9.5rem;
  left: 10.0rem;
  z-index: 1;
  
  -webkit-animation: slide-tl 800ms ease-in-out both;
  animation: slide-tl 1400ms 0.5s ease-in-out both;
  
  color: var(--primary-color);
  text-shadow: -4px -4px 0 rgba(63, 63, 63, 1),  
                  4px -4px 0 rgba(63, 63, 63, 1),
                  -4px 4px 0 rgba(63, 63, 63, 1),
                 4px 4px 0 rgba(63, 63, 63, 1);
}

#word-DEVMAROTO {
  font-family: "Noto Sans Bassa Vah", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  font-size: 1.1rem;
  border: none;
  padding: 0.5rem;
  border-radius: 1.0rem;
  position: absolute;
  left: 4.8rem;
  top: 10.0rem;
  z-index: 2;
  color: var(--primary-color);
  background: var(--secondary-color);
  animation: bounce-in-fwd 3500ms 1.2s ease-in-out both;
}


.box-img-logo .logo {
 width: 15.0rem;
 height: 15.0rem;
}

 h1, h2, h3, h4, h5 {
  font-size: 3.9rem;
  color: var(--text-color);
  text-transform: uppercase;
 }
 
 p {
  color: var(--text-color);
  font-size: clamp(1.6rem, 1vw, 2rem);
 }
 
 #nav-main {
  display: flex;
  gap: 5.0rem;
  list-style: none;
  margin-left: 13rem;
 }

 a {
  text-decoration: none;
  color: var(--text-color);
  font-size: var(--fs-body);
  text-transform: uppercase
 }
 
 a:hover {
  color: var(--primary-color);
 }

 #nav-main li a {
  font-weight: bold;
  transition: 0.7s;
 }

 #nav-main li a:hover {
   text-shadow: 0 0 10px var(--primary-color);
   transition: 0.5s;
 }

 .checkbox-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.checkbox-wrapper {
  height: 10.0rem;
  width: 10.0rem;
  display: flex;
  cursor: pointer;
  transition: 400ms ease-in-out 0s;
}

.checkbox {
  height: 10.0rem;
  width: 10.0rem;
  display: flex;
  cursor: pointer;
  transition: 400ms ease-in-out 0s;
  position: absolute;
  margin-right: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#toggle {
  display: none;
}

.checkbox .trace {
  width: 5.0rem;
  height: 0.4rem;
  background-color: var(--primary-color);
  position: absolute;
  border-radius: 4px;
  transition: 0.5s ease-in-out;
}

 main {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10.0rem 5.0rem 5.0rem 5.0rem;
  gap: 10rem;
 }

 .box-img {
  display: flex;
  justify-content: center
}

  .img-main {
  border-radius: 100.0rem;
  animation: glow 2s infinite alternate;
 } 

 .box-about-photo {
  display: flex;
  justify-content: center
 }

 .box-main strong {
  color: var(--primary-color);
  text-shadow: 0 0 10px var(--primary-color);
  animation: glow-text 2s infinite alternate;
 }

 #container-about {
  display:flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30.0rem;
  padding: 10.0rem 5.0rem 5.0rem 5.0rem;
  gap: 10rem;
 }

 .img-about {
  border-radius: 100.0rem;
  animation: glow 2s infinite alternate;
 }

 .box-main {
  display: flex;
  width: 48.0rem;
  flex-direction: column;
  gap: 2.0rem;
  animation: slide-right 3s 1.0s ease-in-out both;
 }

 .box-description {
  display: flex;
  width: 48.0rem;
  flex-direction: column;
  gap: 2.0rem;
  animation: slide-left 8s 1.0s ease-in-out both;
 }

#container-project {
  display: grid;
  width: 34rem;
  margin: 0 auto;
}

.project-wrapper {
  display: grid;
  gap: 3.0rem
}
 

.box-h3 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.box-h4 {
  margin-top: 63px;
  display: flex;
  flex-direction: column;
  gap: 2.0rem;
}


.box-project-video {
  width: 34.0rem;
  height: 40.0rem;
  border-radius: 1.0rem;
  border: 0.5rem solid var(--primary-color);
  box-shadow: 0 0 10px var(--primary-color);
  overflow: hidden;
  transition: 0.5s;
  background: var(--secondary-color);
  display: flex;
  flex-direction: column;

  padding-right: 1rem;
}

.box-project {
  width: 34.0rem;
  height: 40.0rem;
  border-radius: 1.0rem;
  border: 0.5rem solid var(--primary-color);
  box-shadow: 0 0 10px var(--primary-color);
  overflow: hidden;
  transition: 0.5s;
  background: var(--secondary-color);
  display: flex;
  flex-direction: column;

  padding: 0.6rem;
}

.text-wrapper {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  gap: 0.5rem;
  height: 21.5rem;
  justify-content: space-between;
}

.title-project {
  font-weight: 800;
}

.description-title {
  font-weight: 700;
  font-size: 1.5rem;
}

.container-button {
  display: flex;
  justify-content: center;
  gap: 2.0rem;
}

#button-play, #button-github {
  border: none;
  background: transparent;
  width: 2.5rem;
  height: 2.5rem;
}

.ph-play {
  color: var(--text-color);
  font-size: 2.5rem;
  transition: 0.7s;
}
.ph-play:hover {
  color: var(--primary-color);
  transition: 0.5s;
}

.ph-github-logo {
  color: var(--text-color);
  font-size: 2.5rem;
  transition: 0.7s;
}

.ph-github-logo:hover {
 color: var(--primary-color);
 transition: 0.5s;
}

.box-project-video:hover {
  transform: scale(1.1);
  cursor: pointer;
  transition: 0.5s;
}

.box-project:hover {
  transform: scale(1.1);
  cursor: pointer;
  transition: 0.5s;
}


.container-tech-language {
  position: relative;
  padding: 1.5rem;
  max-width: 84rem;
  margin: 3rem auto 0;
}

.gallery-wrapper {
  overflow-x: auto;
}

.gallery-tech-language {
  display: flex;
  flex-flow: row nowrap;
  gap: 1.5rem;
}

.arrow-left,
.arrow-right {
  position: absolute;
  top: 0;
  left: -2.0rem;
  right: auto;
  bottom: 0;
  font-size: 2.0rem;
  line-height: 15.0rem;
  width: 4.0rem;
  text-align: center;
  color: var(--text-color);
  cursor: pointer;
  border: none;
  background: linear-gradient(to left, transparent 0%, var(--bg-body-color) 200%);
  transition: all 600ms ease-in-out;
}

.arrow-right {
  left: auto;
  right: -2.0rem;
  background: linear-gradient(to right, transparent 0%, var(--bg-body-color) 200%);
}


.arrow-left:hover,
.arrow-right:hover {
  opacity: 1;
}

.item {
  width: 15.0rem;
  height: 11.5rem;
  flex-shrink: 0;
  opacity: 0.5;
  border: 0.5rem solid var(--text-color);
  transition: all 600ms ease-in-out;
  object-fit: contain;
}

.current-item {
  opacity: 1;
  border: 0.5rem solid var(--primary-color);
  box-shadow: 0 0 10px var(--primary-color);
}

.gallery-wrapper::-webkit-scrollbar {
  display: none;
}


.gallery-wrapper {
  -ms-overflow-style: none;
  scrollbar-width: none; 
}

#container-contact {
  width: 51.5rem;
  margin: 0 auto;
  padding: 30.0rem 0 30.0rem 0;
}


#form {
  margin-top: 6.3rem;
  width: 51.5rem;
  padding: 3.5rem;
  background: var(--secondary-color);
  border-radius: 1.0rem;
  border: solid 0.5rem var(--primary-color);
  box-shadow: 0 0 10px var(--primary-color);
}

fieldset {
  border: none;
}

.fieldset-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

legend {
  font-weight: bold;
  font-size: 2.0rem;
  color: var(--text-color);
  text-transform: uppercase;
}

label {
  color: var(--text-color);
  margin-bottom: 0.8rem;
  font-size: var(--fs-body);
}

.box-name, .box-email {
  display: flex;
  flex-direction: column;
}

.box-textarea {
  display: flex;
  flex-direction: column;
}

textarea {
  width: 100%;
  height: 15.0rem;
  border-radius: 1.0rem;
  padding: 1.0rem;
  border: none;
}

.box-button {
  height: 4.5rem;
  border-radius: 0 0 1.0rem 1.0rem;
  margin: 0 auto;
}

#button {
  width: 25.0rem;
  height: 3.5rem;
  font-weight: bold;
  text-transform: uppercase;
  border: none;
  border-radius: 1.0rem;
  padding: 0 1.0rem 0 1.0rem;
  transition: 0.6s;
  color: var(--text-color);
  background: var(--primary-color);
  box-shadow: 0 0 10px  var(--primary-color);
}

#button:hover {
  background-color: var(--bg-button-color-hover);
  box-shadow: 0 0 10px var(--bg-button-color-hover);
  transition: 0.3s;
}

#name, #email {
    width: 100%;
    height: 3.5rem;
    border-radius: 1.0rem;
    padding: 0 1.0rem 0 1.0rem;
    border: none;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 5.0rem;
  margin: 1.0rem;
  padding:0 1.0rem 0 1.0rem;
  border: solid;
  border-radius: 1.0rem;
  background: var(--secondary-color);
  opacity: 0.8;
}

footer p {
  font-size: 1.2rem;
}

/*animation letter and  word*/
@keyframes slide-tl {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  100% {
    transform: translateY(-4.0rem) translateX(-4.0rem);
    opacity: 1;
  }
}

 @keyframes slide-br {
  0% {
    transform: translateY(-1.5rem) translateX(-1.5rem);
    opacity: 0;
  }
  100% {
    transform: translateY(1.5rem) translateX(1.5rem);
    opacity: 1;
  }
}

 @keyframes bounce-in-fwd {
  0% {
    transform: scale(0);
    animation-timing-function: ease-in;
    opacity: 0;
  }
  38% {
    transform: scale(1);
    animation-timing-function: ease-out;
    opacity: 1;
  }
  55% {
    transform: scale(0.7);
    animation-timing-function: ease-in;
  }
  72% {
    transform: scale(1.5);
    animation-timing-function: ease-out;
  }
  81% {
    transform: scale(0.84);
    animation-timing-function: ease-in;
  }
  89% {
    transform: scale(1.5);
    animation-timing-function: ease-out;
  }
  95% {
    transform: scale(0.95);
    animation-timing-function: ease-in;
  }
  100% {
    transform: scale(1);
    animation-timing-function: ease-out;
  }
}


/*animation nav*/

@keyframes top-down {
  0% {
    opacity: 0;
    transform: translateY(-3.5rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/*animation box main*/
@keyframes slide-right {
  0% {
    opacity: 0;
    transform: translateX(-3.5rem);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-left {
  0% {
    opacity: 0;
    transform: translateX(3.5rem);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/*animation box*/
@keyframes glow-text {
  0% {
      text-shadow: 0 0 15px #FF9800;
  }
  100% {
      text-shadow: 0 0 80px #FF9800;
  }

}

@keyframes glow {
  0% {
      box-shadow: 0 0 15px #FF9800;
  }
  100% {
      box-shadow: 0 0 80px #FF9800;
  }

}

/* Responsivity */

@media (min-width:1118px) {
  .checkbox-container {
    visibility: hidden;
  }

  #container-project {
    margin: 0 auto;
    width: 113rem;
  }
  .project-wrapper {
    display: grid;
    flex-direction: column;
    grid-template-columns: repeat(3, 38.0rem);
    gap: 3.0rem 0.3rem;
    margin: 6.3rem auto 0;
    width: 111.6rem;
  }
  .container-tech-language {
    position: relative;
    padding: 1.5rem;
    max-width: 84rem;
    margin: 3rem auto 0;
  }
}

@media (min-width:769px) and (max-width:1118px) {

   .checkbox-container {
    visibility: hidden;
   } 

  #container-project {
    display: grid;
    width: 72rem;
    margin: 0 auto;
  }

  .project-wrapper {
    display: grid;
    flex-direction: column;
    grid-template-columns: repeat(2, 38.0rem);
    gap: 3.0rem 0.3rem;
    margin: 6.3rem auto 0;
    width: 111.6rem;
  }

  .container-tech-language {
    position: relative;
    padding: 1.5rem;
    max-width: 69rem;
    margin-left: 2rem;
  }
}

@media (max-width: 768px) {
   
  .checkbox-container {
    visibility: visible;
  }

  .box-logo {
    height: 13rem;
  }

  .letter-D {
    font-size: 7.5rem;
    z-index: 9999;
  }

  .letter-M {
    font-size: 7.5rem;
    top: 8.5rem;
    left: 9.1rem;
    z-index: 9999;
  }

  #word-DEVMAROTO {
    left: 4.6rem;
    top: 7.4rem;
    font-size: 0.7rem;
    z-index: 9999;
  }

  #nav-main {
    display: none;
  }

  .menu-items-hamburguer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 25vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition: 400ms ease-in-out 0s;
    background-color: var(--secondary-color);
  }

  .ul-menu-hamburguer{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 5rem;
    align-items: center;
    list-style-type: none;
  }

  .ul-menu-hamburguer a {
  list-style: none;
  color: var(--text-color);
  font-size: var(--fs-body);
  text-transform: uppercase;
  font-weight: bold;
  transition: 0.7s;
 }
 
 a:hover {
  color: var(--primary-color);
 }


 .ul-menu-hamburguer li a:hover {
   text-shadow: 0 0 10px var(--primary-color);
   transition: 0.5s;
 }

  h1, h2, h3, h4, h5, h6 {
    font-size: 2.8rem;
  }

  main {
    display: flex;
    flex-direction: column;
    gap: 6rem;
  }

  .box-main {
    padding: 0 10rem 0 10rem;
    z-index: -1;
  }
  
  #container-about {
    display: flex;
    flex-direction: column;
    gap: 6rem;
  }
  
  .img-main,.img-about {
    width: 80%;
  }

  .box-description {
    padding: 0 10rem 0  10rem;
    z-index: -1;
  }

  .box-h3 {
    margin-bottom: 3rem;
  }

  .box-project-video {
    max-width: 51.0rem;
  }

  .container-tech-language{
    position: relative;
    padding: 1.5rem;
    max-width: 31rem;
    margin: 3rem auto 0;
  }
  .current-item {
    z-index: -1;
  }

  #container-contact, #form {
    width: 32.5rem;
  }
}




input {
  width: 25.0rem;
  height: 3.5rem;
  border-radius: 1.0rem;
  padding: 0 1.0rem 0 1.0rem;
}



/* animation menu */
.checkbox .trace:nth-child(1) {
  top: 2.6rem;
  transform: rotate(0);
}
.checkbox .trace:nth-child(2) {
  top: 4.6rem;
  transform: rotate(0);
}
.checkbox .trace:nth-child(3) {
  top: 6.6rem;
  transform: rotate(0);
}

#toggle:checked + .checkbox .trace:nth-child(1) {
  transform: rotate(45deg);
  background-color: var(--primary-color);
  top: 4.7rem;
}

#toggle:checked + .checkbox .trace:nth-child(2) {
  transform: translateX(-100px);
  width: 3.0rem;
  visibility: hidden;
  opacity: 0;
}

#toggle:checked + .checkbox .trace:nth-child(3) {
  transform: rotate(-45deg);
  background-color: var(--primary-color);
  top: 4.8rem;
}

 #toggle:checked + .checkbox{
  background-color: var(--secondary-color);
}  

#toggle:checked ~ .menu-items-hamburguer {
  visibility: visible;
  opacity: 1;
}

 






 /* Color Theme Swatches in RGBA 
{ color: rgba(11, 9, 12, 1); }
{ color: rgba(240, 239, 242, 1); }
{ color: rgba(63, 63, 63, 1); }
{ color: rgba(8, 140, 54, 1); }
{ color: rgba(216, 212, 210, 1); } */

/* #f47401
#1b1b1b
#ffffff
#184cfc
#ea4506 */