/*================== RESET =================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/*================== VARIABLES ================*/
:root {

  /*===== Colors =====*/

  --intro-till: url(../assets/images/fondo_lindo.png);
  --light-mode-background: linear-gradient(to bottom, #faf8f3, #F3EEE1);
  --inv-light-mode-background: linear-gradient(to top, #faf8f3, #F3EEE1);

  --light-h2h3: #c1ad7a;
  /* #c9b278; */
  --color-gray: #63615d;
  /* #878580; */
  --dark-text-color: #60553c;
  --medium-dark-text-color: #81734f;
  --dark-mode-gradient: linear-gradient(to bottom, #333333d9, #000000d9), url(../assets/images/bckgd.jpg);
  --dark-mode-inverse: linear-gradient(to top, #333333d9, #000000d9), url(../assets/images/bckgd.jpg);
  --dark-mode-color: #000;
  /*#66BFBF*/
  ;

  --span-color: #FFA1A1;
  --a-font-color: whitesmoke;

  --shadow: 0 8px 15px rgba(240, 240, 240, 0.7);
  --btn-shadow: 0 8px 15px rgb(8, 102, 125, 0.8);
  --lite-mode-shadow: 0 8px 15px #81734fee;


  /* TEAL PALETTE */
  --light-bckgd-teal: linear-gradient(to bottom, #b8f2e6D9, #E4F9F5D9), url(../assets/images/white-noise.jpg);
  --inv-bckgd-teal: linear-gradient(to top, #b8f2e6D9, #E4F9F5D9), url(../assets/images/white-noise.jpg);
  /*--h3-color: #11999E;*/
  --h3-color: #11CDD4;
  --h3-light-mode-color: #08777d;
  --main-h1h2-color: #78c997;
  /* #11CDD4; */
  --old-btn-color: #11CDD4;
  --glow-color: #11CDD4;
  /*--glow-color: hsl(186 100% 69%);*/
  --main-lite-color: #b8f2e6;
  --transition-color: linear-gradient(180deg,
      #E4F9F5 0%,
      #a8d5d1 15%,
      #6b9b9a 30%,
      #2d4a49 45%,
      #000000 60%,
      #000000 100%);


  /* ==== FONTS ==== */
  --main-font: 'Montserrat', 'Helvetica', 'sans-serif';
  --title-font: 'Sacramento', 'cursive';
  --font-size-base: 1.8rem;

}

/* ========================================================= */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: -10;
}

body {
  margin-top: 100vh;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  font-size: var(--font-size-base);
}


/* ================ DOTTED LINE ================ */
hr {
  border: dotted #bbb 8px;
  border-bottom: none;
  display: block;
  width: 4%;
  margin: 3rem auto;

}

.hr {
  padding: 1rem;
  margin: 0 auto;
  z-index: 10;
}

/*================ DARK MODE ====================*/

/* Cambia el color del texto de párrafos y tablas en modo oscuro */
body.dark-mode p,
body.dark-mode td {
  color: var(--a-font-color);
}

body.dark-mode .top_container {
  background-image: url(../assets/images/Sirius.jpg);
  background-size: cover;
  background-position: center;
}

body.dark-mode .middle-container,
body.dark-mode #skills,
body.dark-mode #repositories-main,
body.dark-mode .contact-me {
  background: var(--dark-mode-gradient);
}

body.dark-mode #hobbies-container,
body.dark-mode #technologies,
body.dark-mode .about-me,
body.dark-mode footer {
  background: var(--dark-mode-inverse);
}

body.dark-mode .about-me {
  background: url(../assets/images/Foto_oficina.png);
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(0.75);
  padding: 10rem 0;

}

body.dark-mode .about-me-table {
  background-color: #222222dd;
  /* #c9b278dd; */
}

body.dark-mode .about-me-table td {
  color: #f7f2e8;
  font-weight: 500;
  /* font-size: 1.8rem; */
  letter-spacing: 0.5px;
}

body.dark-mode #about-me-middle_text {
  color: #c9b278;
  font-weight: 600;
  letter-spacing: 0.6px;

}

body.dark-mode .skill-item {
  background-color: var(--dark-mode-color);
}

body.dark-mode .tech-category {
  color: #c9b278;
  /*#11999E*/
  ;
}

body.dark-mode .tech-table th {
  color: var(--a-font-color);
  background: linear-gradient(135deg, #a49263, #c9b278,
      #d3be8e,
      #dccba4,
      #e6d8ba,
      #eee5d1,
      #f7f2e8,
      #ffffff);

}

body.dark-mode footer {
  background-color: var(--dark-mode-color);
}

/*================ LIGHT MODE ====================*/

/* Cambia el color del texto de párrafos y tablas en modo claro */
body.light-mode p,
body.light-mode td,
body.light-mode .sample {
  color: var(--dark-text-color);
  font-weight: 500;
}

body.light-mode h1 {
  text-shadow: var(--shadow);
}

body.light-mode .programmer {
  color: var(--main-h1h2-color);
}

body.light-mode h2,
body.light-mode h3,
body.light-mode #I-am h2,
body.light-mode #I-am h3 {
  color: var(--light-h2h3);
}


body.light-mode .top_container {
  background: var(--intro-till);
  background-size: cover;
  background-position: center;
}

body.light-mode .middle-container,


body.light-mode .tech-table,
body.light-mode #technologies,
body.light-mode #hobbies-container {
  background: var(--light-mode-background);
}

body.light-mode .contact-me,
body.light-mode #skills,
body.light-mode #repositories-main {
  background: var(--inv-light-mode-background);
}

body.light-mode .about-me {
  background: url(../assets/images/Foto_oficina.png);
  background-size: cover;
  background-repeat: no-repeat;
  padding: 10rem 0;

}

body.light-mode .about-me-table {
  background-color: #c9b278dd;
}

body.light-mode .about-me-table td {
  color: var(--dark-text-color);
  font-weight: 600;

}

body.light-mode .about-me-table #about-me-middle_text {
  color: var(--a-font-color);
  font-weight: 600;

}

body.light-mode hr {
  background-color: var(--light-mode-background);
}

body.light-mode .tech-table {
  box-shadow: var(--lite-mode-shadow);
}

body.light-mode .tech-table th {

  background: linear-gradient(135deg, #c9b278, #a49263, #81734f, #60553c, #40392a, #232019, #000000);
  /*#66BFBF, #11999E*/

  color: var(--a-font-color);
}

body.light-mode .tech-table td {
  border-bottom: 1px solid #eee;
}

body.light-mode .tech-table tr:nth-child(even) {
  background: #f8fdfc;
  background-color: #bbb
}

body.light-mode .tech-table tr:nth-child(odd) {
  background: #ddd;
}

body.light-mode .tech-table tr:hover {
  background: var(--a-font-color);
}

body.light-mode .more {
  box-shadow: var(--lite-mode-shadow);
  color: var(--dark-text-color);
  border: 0.5px solid lightgray;
}

body.light-mode .more:hover {
  color: var(--light-h2h3);
}

body.light-mode .contact-p {
  font-family: var(--main-font);
  color: var(--medium-dark-text-color) !important;
  font-size: 1.6rem;;
}

/* =========== FRONT PAGE & ANIMATIONS ========== */
.top_container {
  position: fixed;
  padding-top: 100px;
  text-align: center;
  height: 100vh;
  width: 100%;
  padding-bottom: 0;
  margin-bottom: 0;
  top: 0;
  left: 0;
}


/* ================ GENERAL =================== */

h1 {
  margin: 0 auto 0 auto;
  border: 0;
  padding-bottom: 0;
  padding-top: 0;
  font-family: var(--title-font);
  font-weight: bolder;
  z-index: 3;
  font-size: 9rem;
  color: var(--light-h2h3);
  text-shadow: var(--shadow);
  /* color: var(--main-h1h2-color); */
}

.programmer {
  color: var(--main-h1h2-color);
  font-weight: 400;
}

h2 {
  font-family: var(--main-font);
  font-size: 3.5rem;
  color: var(--light-h2h3);
  font-weight: 600;
}

h3 {
  font-family: var(--main-font);
  color: var(--light-h2h3);
  font-weight: 600;
}

h4 {
  font-family: var(--main-font);
  color: var(--medium-dark-text-color);
  font-size: 1.9rem;
  font-weight: 500;
}

p {
  line-height: 2;
  font-family: var(--main-font);
  font-size: var(--font-size-base);
  font-weight: 500;
  letter-spacing: 0.6px;
}

a {
  font-family: var(--main-font);
  color: var(--a-font-color);
  font-weight: normal;
  margin: 10px 20px;
  text-decoration: none;
}

a:hover {
  /* color: #FFF; */
  font-weight: bold;
}

td {
  font-size: var(--font-size-base);
  font-family: var(--main-font);
}

/* =========== FRONT PAGE & ANIMATIONS ========== */
.fill,
.top_container {
  position: fixed;
  padding-top: 100px;
  text-align: center;
  height: 100vh;
  width: 100%;
  padding-bottom: 0;
  margin-bottom: 0;
  top: 0;
  left: 0;
}

.animate__animated {
  animation-duration: 6s;
  animation-delay: 0.1s;
  --animate__slower: 5s;
}

.animate__rubberBand {
  animation-duration: 4s;
  animation-delay: 1.3s;
  --animate__slower: 4s
}

.animate__rotateIn {
  animation-duration: 2s;
  animation-delay: 0.1s;
}

.inblock {
  display: inline-block;
}

.top_cloud {
  position: absolute;
  top: 150px;
  right: 280px;
}

.sun {
  position: absolute;
  z-index: 2;
  top: 30px;
  right: 120px;
  animation-delay: 0.6s;
}

.bottom_cloud {
  position: absolute;
  bottom: 320px;
  left: 200px;
}

.mountains {
  border: 0;
  margin: 0 auto;
  position: fixed bottom;
}

.pro {
  color: var(--span-color);
  margin-right: -8px;
}

.brillo {
  font-size: 9rem;
  line-height: 1.4;
  font-weight: bold;
  color: #fff;
  position: relative;
  background: linear-gradient(120deg, #c1ad7a 45%, #fff 60%, #c1ad7a 75%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brillo 3s linear 0s 2 forwards;
  animation-direction: reverse;
}

@keyframes brillo {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}


.names::after {
  content: "  Lore.";
  margin-left: 5px;
}

body.dark-mode .names::after {
  content: "  Alexa.";
  margin-left: 5px;
}

/* ========== TOGGLE SWITCH ========== */
.switch {
  position: fixed;
  top: 0.8rem;
  right: 0;
  display: inline-block;
  width: 60px;
  height: 34px;
  z-index: 100;
}

/* Ocultar checkbox original */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* Deslizador */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--light-h2h3);
  transition: 0.4s;
  border-radius: 34px;
}

.slider::before {
  content: "🌞";
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  position: absolute;
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: var(--a-font-color);
  transition: 0.4s;
  border-radius: 50%;
}

input:checked+.slider::before {
  transform: translateX(26px);
  content: "🌙";
}


/* Activado */
input:checked+.slider {
  background-color: var(--light-h2h3);
  /* #2196F3;*/
  background-image: 🌞🌙;
}



/* ============== HAMBURGER MENU ============= */
.toggle-mode {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  height: 1rem;
}

.topnav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  overflow: visible;
  background-color: var(--);
  width: 80px;
  height: auto;
}


/* ============= HAMBURGER ICON ================ */
.fa,
.fa-bars {
  position: relative;
  text-align: left !important;
  display: block;
}

.topnav #myLinks {
  display: none;
  background-color: transparent !important;

}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

li a {
  display: block;
  background-color: transparent !important;
  padding: 0;
}


.topnav a {
  text-align: left;
  text-transform: uppercase;
  color: var(--color-gray);
  padding: 0;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 500;
  display: block;
  width: 150px;
}

.topnav a.icon {
  position: relative;
  float: left;
  font-size: 20px;
  background-color: transparent;
  color: var(--light-h2h3);
  padding: 5px;
}

.topnav a:hover {
  font-weight: bold;
}

.contact-me {
  position: relative;
}

#myLinks.open {
  display: block;
  background-color: var(--a-font-color) !important;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
  padding: 10px 0 10px 10px;
  width: 16rem;
  border-radius: 0 0 5px 5px;

}

/* Ícono hamburguesa  abierto */
.topnav a.icon.open {
  /* background-color: transparent; */
  border-radius: 5px;
  padding: 5px;
  color: var(--color-gray);
}



/* ==== ORIGINAL HORIZONTAL NAV BAR (just in case) ======= */
/*nav { 
    box-sizing: border-box;
    background-color:white;
    position: sticky;
    top: 0;
    z-index: 2;
    height: 60px;
    box-shadow: 0 1px grey;
}
  
nav a {
  vertical-align: middle;
  color: gray !important; 
  text-decoration: none !important;  
} 

.nav-link  {
    width:100%; 
    white-space: nowrap ; 
    text-decoration: none!important; 
    color: darkslategrey !important;
  }

.nav-link:hover{
    color:  var(--h3-color) !important;
    text-decoration: none !important;
    transform: scale(1.15) ;
}
*/

.colorverde {
  color: #04AA6D;
}


/*=====================  BODY ================*/

.middle-container {
  min-height: 100vh;
  max-width: 90%;
  position: relative;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  z-index: 3;
  padding: 2rem;
  padding: 2rem;
}


.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* Centra el texto dentro de los hijos */
  background-color: transparent !important;
}

#I-am {
  width: 61.5%;
  height: 100%;
  vertical-align: baseline;
  display: inline-block;
  position: relative;
  line-height: 2rem;
  padding-top: 2rem;
  text-align: center;
  background-color: transparent !important;
}

#I-am h2,
#welcome {
  margin-bottom: 1.5rem;
}

#I-am h3 {
  margin-bottom: 2.5rem auto;
}

#I-am img {
  margin: 1.5rem auto;
}

/* ================ CAROUSEL ================ */

.carousel-caption {
  color: #c9b278;
  position: absolute;
  left: 0%;
  bottom: 0;
  padding: 0;
  /*transform: translateY(-100%);*/
}

.carousel-text {
  color: var(--light-h2h3);
  width: fit-content;
}

.carousel-indicators {
  width: 20%;
  position: absolute;
  bottom: 15%;
  left: 40%;
  margin: 0;
  display: inline-block;
}

.carousel-control {
  overflow: visible;
  background-image: none !important;

}

.intro {
  text-align: right;
  vertical-align: baseline;
}

#myprofile {
  position: relative;
  width: 100%;
}

.item {
  vertical-align: -20%;
  padding: 0;
  margin: 0;
}

.item img {
  max-height: 620px;
  width: auto;
  display: block;
  margin: 0 auto;
}


/* ==================== ABOUT ME ===================== */
.about-me {
  padding: 2rem;
  max-width: 90%;
  margin: 0 auto;
}

.about-me-table {
  width: 80%;
  border-collapse: collapse;
  margin: 0 auto;
  font-family: var(--main-font);
  font-size: medium;
  font-weight: 400;
  line-height: 2;
}

.about-me-table td {
  padding: 1rem;
  vertical-align: top;
  font-family: var(--main-font);
  text-align: left;
  white-space: pre-line;
  text-wrap: pretty;
}


.about-me-table tr:nth-child(2) td {
  text-align: right;
  white-space: pre-line;
  text-wrap: pretty;
}

.about-me-table tr:nth-child(3) td {
  text-align: left;
  white-space: pre-line;
  text-wrap: pretty;
}


/* ================ SKILLS ================= */

#skills {
  padding: 2rem 0;
  max-width: 90%;
  margin: 0 auto;
}

.skills-container {
  display: flex;
  flex-direction: column;
  align-self: center;
  gap: 5rem;
  max-width: 70%;
  margin: 2rem auto;
  padding: 0 1rem;
}

.skill-item {
  display: flex;
  margin: 1rem auto;
  align-items: center;
  background-color: var(--a-font-color);
  gap: 2rem;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(100, 100, 100, 0.5);
  transition: all 0.3s ease;
  overflow: hidden;
  text-wrap: pretty;
}

.skill-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--lite-mode-shadow);
}

.skill-item:nth-child(even) {
  flex-direction: row-reverse;
}

.skill-img {
  max-width: 30%;
  object-fit: contain;
  flex-shrink: 1;

}

.skill-content {
  flex: 1;
  min-width: 0;
  /* evita que se rompa el layout en flexbox */
  text-align: left;
  background-color: transparent;
}

.skill-content h3 {
  margin: 0 0 1rem 0;
}

.skill-content p {
  margin: 0;
  color: var(--a-font-color);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}


/*================= TECHNOLOGIES ================*/
#technologies {
  max-width: 90%;
  padding: 4rem 5%;
  margin: 0 auto;
  z-index: 2;
}

.tech-table {
  width: 70%;
  margin: 5rem auto;
  border-collapse: collapse;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 15px rgba(240, 240, 240, 0.2);
}

.tech-table th {
  color: #666;
  padding: 1rem;
  font-size: 2rem;
  text-align: left;
}

.tech-table td {
  padding: 1rem;
  text-align: left;
  /*border-bottom: 1px solid #eee;*/
}

.tech-description {
  color: #eee;
}

.tech-table tr:nth-child(even) {
  background: transparent;
}

.tech-table tr:nth-child(odd) {
  background: transparent;
}

.tech-table tr:hover {
  background: #444;
  transform: scale(1.02);
  transition: all 0.3s ease;
}

.tech-category {
  font-weight: bold;
  color: #c9b278;
  width: 25%;
}

.mobile-cards {
  display: none;
}

/* ================= CANVAS ====================*/

#myCanvasContainer {
  display: inline-block;
}

/* ================== HOBBIES ================ */

#hobbies-container {
  max-width: 90%;
  position: relative;
  margin: 0 auto;
  z-index: 3;
  padding: 2rem 0;
}


.hobby-img {
  margin: 45px 15px;
}

.hobby-img:hover {
  transform: scale(1.2);
  transition: 0.6s;
}

.hobbies-txt {
  width: 60%;
  margin: 0 auto;
}

.pro2 {
  margin-left: 1rem;
  margin-right: 1rem;
  color: var(--span-color);
  font-weight: 600;
}



/* ==================== CONTACT =====================*/

.contact-me {
  max-width: 90%;
  margin: 0 auto;
  padding-top: 1%;
}

.contact-me h2 {
  margin: 3rem auto;
}

.contact-me form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.form_field {
  margin: auto;
  border-radius: 8px;
  background-color: var(--a-font-color);
  border: 1px solid var(--light-h2h3);
  padding: 5px 10px;
  height: 5rem;
  width: 55%;
  font-family: var(--main-font);
  font-size: 2rem;
}


.form_field:focus {
  background-color: #ccc;
  outline: none;
  border: 2px solid var(--color-gray);
}


#contact_type {
  margin-bottom: 1.5rem;
  text-align: center;
  width: 55%;
}

#contact_type p {
  margin-bottom: 1rem;
  color: var(--a-font-color);
  font-family: var(--main-font);
  font-size: 1.8rem;
}


.radio-option {
  display: inline-block;
  margin-right: 20px;
  accent-color: var(--light-h2h3)
    /*#66bfbf*/
  ;
}


.radio-option label {
  color: var(--a-font-color);
  font-family: --var(--main-font);
  font-size: 1.3rem;
}

.message {
  height: 10rem;
}

#form-btns {
  display: flex;
  width: 57%;
  flex-direction: row;
  justify-content: space-between;
  margin: 3rem auto 7rem;
}

.form_btn {
  border: none;
  border-radius: 8px;
  font-family: var(--main-font);
  color: var(--a-font-color);
  font-size: 1.8rem;
  padding: 1%;
  margin: 1rem;
  width: 40%;
  height: 5rem;
  text-decoration: none;
}

.form_btn:hover {
  text-decoration: none;
  box-shadow: var(--lite-mode-shadow);
}



/* ================== FOOTER =================== */

footer {
  background-image: url(../assets/images/bckgd.jpg);
  max-width: 90%;
  margin: 0 auto;
  position: relative;
  padding: 5%;
}

.footer-link {
  margin-right: 40px;
  position: relative;
  top: 10px;
}

.copyright-me {
  color: #EAF6F6;
  font-size: 0.75rem;
  padding-top: 10px;
  margin: 0;
  position: relative;
}


/* ======================= REPOS ===================== */

#repositories-main {
  box-sizing: border-box;
  position: relative;
  max-width: 90%;
  margin: 0 auto;
  z-index: 3;
}

#repos-contenedor {
  position: relative;
  width: 100%;
  z-index: 3;
  background-color: transparent;

}

.section-title {
  position: relative;
  width: 80%;
  margin-left: 10%;
}

.sample {
  color: white;
  font-weight: 500;
  margin: 5rem auto
}

.repos-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
}

.repos-main::before {
  content: none !important;
  display: none !important;
}

.repo-card {
  height: 48rem;
  /*  min-width: 15%;*/
  text-align: center;
  border-style: solid;
  border-width: 2px;
  border-color: lightgray;
  border-radius: 10px;
  margin: 2%;
  padding: 1%;

}

.repo-card:hover .repo-img {
  transform: scale(1.2);
  /* box-shadow: var(--shadow); */
  transition: 0.6s;

}

.online-img {
  width: 75%;
  border-radius: 10px;
}

.repo-img {
  width: 90%;
  transition: transform 0.6s ease;
}

.card-img {
  height: 40%;
  margin: 3% auto;
  border-radius: 10px;
  overflow: hidden;
}

.card-txt-div {
  height: 7rem;
  padding: 0 0.5rem;
}

.card-txt {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 2.2rem;
}

.card-title {
  height: 6rem;
  margin-top: 5rem;
}

.card-title h3 {
  font-weight: 600;
}

.more {
  background-color: transparent;
  color: var(--light-h2h3);
  font-family: var(--main-font);
  padding: 1rem;
  border-color: var(--a-font-color);
  border-radius: 8px;
  font-size: 2rem;
  box-shadow: var(--shadow);
}

.btn {
  margin: 5% auto;
  font-size: 1.7rem;
}


/* ============= SECTIONS ==============*/

#schedule {
  margin: 4rem auto;
}

#skills {
  position: relative;
  z-index: 2;
  padding: 2rem 0;

}

#technologies {
  position: relative;
  z-index: 3;
  padding: 2rem 0;
}

#repositories-main {
  position: relative;
  width: 100%;
  z-index: 4;
  padding: 2rem 0;
}

.contact-me {
  position: relative;
  padding: 2 rem 0;
}


/*=================== MEDIA QUERIES ================*/

/*------ Tablet horizontal ------*/
@media (max-width: 1080px) {
  body {
    font-size: 16px;
  }

  nav ul {
    gap: 10px;
  }

  h1 {
    font-size: 7rem;
  }

  .carousel {
    width: 99%;
  }

  .carousel-indicators {
    display: none;
  }

  .carousel-caption {
    font-size: 1rem;
    position: absolute;
    left: 0%;
    bottom: 0;
    padding: 0;
  }

  canvas {
    max-width: 99%;
    height: auto;
  }

  .mobile-cards {
    display: none;
  }

  .hobbies-txt {
    width: 80%;
    margin: 0 auto;
    font-size: 1.75rem;
  }

  .contact-me form {
    width: 80%;
    margin: auto;
  }

  .form_field {
    width: 80%;
  }

  #form-btns {
    width: 82%;
  }

  .form_btn {
    font-size: 2rem;
  }

  #contact_type {
    width: 80%;
  }

}



/*------- Tablet vertical -------*/

@media (max-width: 768px) {

  .top_cloud,
  .sun {
    width: 20%;
  }

  .mountains {
    width: 60%;
  }

  .bottom_cloud {
    display: none;
  }

  body {
    font-size: 15px;
    padding: 0 15px;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }

  .carousel {
    width: 95%;
  }

  .carousel-indicators {
    display: none;
  }

  .carousel-caption {
    font-size: 1rem;
    position: absolute;
    left: 0%;
    bottom: 0;
    padding: 0;
  }


  h1 {
    font-size: 5.5rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  h3 {
    font-size: 2rem;
  }

  p {
    font-size: 1.5rem;
  }

  .pro {
    margin-right: -3px;
  }

  canvas {
    max-width: 99%;
    height: auto;
  }

  .tech-table {
    max-width: 100%;
  }

  .tech-table td {
    font-size: 1.6rem;
  }

  .mobile-cards {
    display: none;
  }

  .hobbies-txt {
    width: 90%;
    margin: 0 auto;
    font-size: 1.75rem;
  }

  .contact-me form {
    width: 90%;
  }

  .form_field {
    width: 90%;
  }

  #contact_type {
    width: 90%;
  }

  #form-btns {
    width: 92%;
  }

  .form_btn {
    font-size: 2rem;

  }
}

/* -------- Mobile 1 ---------*/

@media (max-width: 480px) {

  .top_cloud,
  .sun {
    width: 20%;
  }

  .mountains {
    width: 60%;
  }

  .bottom_cloud {
    display: none;
  }

  body {
    font-size: 14px;
    padding: 0 10px;
  }

  /*  .carousel-inner img {
    max-height: 120px;
  }
*/
  .parallax {
    background-attachment: scroll;
    background-position: center;
    height: 250px;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  .pro {
    margin-right: -3px;
  }

  h3 {
    font-size: 2rem;
  }

  p {
    font-size: 1.6rem;
  }

  nav ul {
    display: none;
  }

  .hamburger {
    display: block;
  }

  nav ul.show {
    display: flex;
    flex-direction: column;
  }

  .carousel {
    width: 100%;
  }

  .carousel-indicators {
    display: none;
  }

  .carousel-caption {
    font-size: 1rem;
    position: absolute;
    left: 0%;
    bottom: 0;
    padding: 0;
    font-size: 1.8rem;
  }

  .skill-item {
    flex-direction: column !important;
    text-align: center;
  }

  .skill-img {
    max-width: 60%;
  }

  .skill-content {
    text-align: center;
  }

  canvas {
    max-width: 99%;
    height: auto;
  }

  .tech-table {
    display: none;
  }

  .mobile-cards {
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .tech-card {
    width: 98%;
    border-radius: 8px;
    box-shadow: var(--lite-mode-shadow);
    margin: 1rem auto;
    padding: 1rem;
  }

  .tech-category {
    font-weight: 600 !important;
    color: var(--medium-dark-text-color) !important;
    text-align: left;
  }

  .tech-level {
    text-align: right;
  }

  .hobbies-txt {
    width: 80%;
    margin: 0 auto;
    font-size: 1.75rem;
  }

  .contact-me form {
    width: 90%;
  }

  .form_field {
    width: 90%;
  }

  #contact_type {
    width: 90%;
  }

  #form-btns {
    width: 92%;
    flex-direction: column;
    align-items: center;
  }

  .form_btn {
    font-size: 2rem;
  }

}


/*-------- Mobile 2 ---------*/

@media (max-width: 375px) {

  .top_cloud,
  .sun,
  .mountains {
    width: 80px;
  }

  .mountains {
    width: 60%;
  }

  .top_cloud {
    position: absolute;
    top: 130px;
    right: 180px;
  }

  .bottom_cloud {
    display: none;
  }

  body {
    font-size: 13px;
  }

  h1 {
    font-size: 4rem;
  }

  .pro {
    margin-right: -3px;
  }

  h2 {
    font-size: 2.2rem;
  }

  h3 {
    font-size: 2rem;
  }

  p {
    font-size: 1.7rem;
  }

  .carousel img {
    height: auto;
    width: 100%
  }

  .carousel {
    width: 100%;
  }

  .carousel-indicators {
    display: none;
  }

  .carousel-caption {
    font-size: 1rem;
    position: absolute;
    left: 0%;
    bottom: 0;
    padding: 0;
  }

  nav ul {
    padding: 5px;
  }

  .tech-table {
    display: none;
  }

  canvas {
    max-width: 99%;
    height: auto;
  }


  .mobile-cards {
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .tech-card {
    width: 98%;
    border-radius: 8px;
    box-shadow: var(--lite-mode-shadow);
    margin: 1rem auto;
    padding: 1rem;
  }

  .tech-category {
    font-weight: 600 !important;
  }

  .tech-level {
    text-align: right;
  }

  .hobbies-txt {
    width: 90%;
    margin: 0 auto;
    font-size: 1.75rem;
  }

  .contact-me form {
    gap: 0.6rem;
  }

  .form_field {
    font-size: 0.9rem;
  }

  #contact_type p {
    font-size: 0.9rem;
  }

  .radio-option label {
    font-size: 0.85rem;
  }

  .form_btn {
    font-size: 0.9rem;
    padding: 6px 12px;
  }



}