html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

#sectionpadre {
  overflow-y: scroll;
  height: 100vh;
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}
.section {
  scroll-snap-align: start;
}
header {
  display: flex;
  background-color: #333;
  color: #fff;
  text-align: center;
  justify-content: space-between;
  align-items: center;
  height: 10vh;
  position: fixed;
  width: 100%;
  z-index: 100; /* Opcional: ajusta la propiedad z-index si es necesario para superponer sobre otros elementos */
}

#h-izq,
#h-der {
  margin-right: 50px;
  margin-left: 50px;
}

#logo-empresa {
  width: 100px;
  height: 100px;
}

.enlace-scroll {
  color: white;
  text-decoration: none;
  font-size: 15px;
  padding: 15px;
}

.enlace-scroll:hover {
  background-color: #fff;
  opacity: 0.3;
  color: #333;
  border-radius: 500px;
}

#div-principal {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: url(../img/fondo.jpg);
  background-size: cover;
}

#amir {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  margin-right: 70px;
}

#presentacion {
  justify-content: center;
  align-items: center;
}

.p-presentacion {
  font-size: 30px;
  color: #fff;
  padding: 5px;
  font-weight: bold;
}
#letra-roja {
  color: rgb(248, 55, 55);
  font-size: 35px;
}

/*-----------*/
#acerca-de {
  display: flex;
  align-items: center;
  height: 100vh;
  background-image: url(../img/full-frame-folded-black-curtain.jpg);
  background-size: cover;
}

#skills {
  width: 50%;
  height: 100%;
  padding: 100px 60px 0 60px;
}

#cv {
  width: 50%;
  height: 100%;
  padding: 100px 60px 0 60px;
  display: flex;
  flex-direction: column;
}

.p-titulos {
  font-size: 30px;
  color: #809dac;
  font-weight: bold;
  margin: 40px 0 40px 0;
}

.quien-soy {
  font-size: 30px;
  color: #e4f2fa;
  margin: 20px 0 40px 0;
}

.texto {
  font-size: 20px;
  color: #e4f2fa;
  line-height: 1.5;
  text-align: justify;
  margin-bottom: 20px;
}

#descargar-cv {
  margin: 20px 0 40px 0;
  padding: 0 15px 0 15px;
  color: #e4f2fa;
  background-color: rgb(42, 82, 189);
  border-radius: 10px;
  height: 40px;
  width: 200px;
  justify-content: center;

  &:hover {
    cursor: pointer;
  }
}

#skills-1,
#skills-2 {
  display: flex;
  justify-content: space-between;
  margin-top: 10%;
}

.skill {
  width: 100px;
  height: 100px;
  margin: 10px;
}
.skill p {
  font-size: 20px;
  color: #809dac;
  text-align: center;
  margin-top: 10px;
}

.skill img {
  width: 100%;
  height: 100%;
}

/*-----------------*/

#portfolio {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url(../img/full-frame-folded-black-curtain.jpg);
  background-size: cover;
}

#proyectos {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  flex-direction: space-between;
}

.proyecto {
  width: 300px;
  height: 300px;
  margin: 50px;
  border-radius: 10px;
  background-color: #060606;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#contenedor-t-p {
  display: flex;
  padding: 60px 60px 0px 60px;
  flex-direction: column;
  margin-top: 10px;
}

#contenedor-t-p h3 {
  font-size: 30px;
  color: #809dac;

  font-weight: bold;
}

#contenedor-t-p p {
  font-size: 20px;
  color: #809dac;
  margin: 20px 20px 20px 0px;
  font-weight: bold;
}

.logo-contacto {
  width: 40px;
  height: 40px;
  margin: 30px;
  opacity: 0.7;
}

.logo-contacto:hover {
  opacity: 1;
}

.logo-contacto img {
  width: 100%;
  height: 100%;
}

#contenedor-info-contacto {
  padding: 30px 60px 0px 60px;
}

#contenedor-info-contacto h3 {
  font-size: 30px;
  color: #809dac;
  font-weight: bold;
}

#contenedor-info-contacto p {
  font-size: 20px;
  color: #809dac;
  margin: 10px 10px 10px 0px;
  font-weight: bold;
}

/* Estilos para pantallas pequeñas */
@media screen and (max-width: 768px) {
  #h-der {
    display: none;
  }
  #h-izq {
    margin-left: 10px;
  }

  #div-principal {
    flex-direction: column;
    width: auto;
  }

  #presentacion {
    text-align: center;
  }

  #amir {
    margin-right: 0px;
  }

  #acerca-de {
    flex-direction: column;
    width: auto;
    height: auto;
  }

  #skills,
  #cv {
    width: auto;
    padding: 0px;
  }

  #skills {
    justify-content: center;
    align-items: center;
  }

  #cv {
    padding: 10px;
  }

  #skills-1,
  #skills-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .skill {
    width: 50px;
    height: 50px;
    margin: 50px;
  }

  #proyectos {
    flex-direction: column;
    width: auto;
    height: auto;
  }

  .proyecto {
    width: 300px;
    height: 300px;
  }

  #sectionpadre {
    overflow-y: none;
    scroll-behavior: smooth;
    scroll-snap-type: none;
  }
  .section {
    scroll-snap-align: none;
  }
}

/* Estilos para tabletas */
@media screen and (max-width: 1300px) {
  #h-der {
    display: none;
  }
  #h-izq {
    margin-left: 10px;
  }

  #div-principal {
    flex-direction: column;
    width: auto;
  }

  #presentacion {
    text-align: center;
  }

  #amir {
    margin-right: 0px;
  }

  #acerca-de {
    flex-direction: column;
    width: auto;
    height: auto;
  }

  #skills,
  #cv {
    width: 90%;
  }

  #proyectos {
    display: grid;
    width: auto;
    height: auto;
  }

  .proyecto {
    width: 450px;
    height: 450px;
  }

  #column {
    grid-template-columns: 1fr 1fr;
  }

  #sectionpadre {
    overflow-y: none;
    scroll-behavior: smooth;
    scroll-snap-type: none;
  }
  .section {
    scroll-snap-align: none;
  }

  .proyecto-portfolio {
    min-width: 90%;
  }

  .containeryarrows {
    min-width: 100%;
  }
  .tituloytecnologias {
    min-width: 100%;
  }
}

@media screen and (max-width: 430px) {
  .proyecto {
    width: 200px;
    height: 200px;
  }

  .proyecto-portfolio {
    flex-direction: column;
    width: 90%; /* Ajusta el ancho del contenedor según sea necesario */
  }

  .tituloytecnologias {
    width: 100%;
  }

  .inline-list li {
    margin-right: 5px; /* Ajusta el espaciado entre las etiquetas para pantallas más pequeñas */
    font-size: smaller; /* Cambia el tamaño de la fuente a más pequeño */
    margin: 2px;
    padding: 3px;
  }
}

.proyecto-portfolio {
  display: flex;
  flex-direction: column;
  width: 50%;
  background: #333333;
  background-size: cover;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  padding: 1%;
  margin-top: 6%;
}

.proyecto-portfolio span {
  font-size: 20px;
  font-weight: bold;
  color: #809dac;
  margin: 10px;
}

.proyecto-portfolio p {
  font-size: 15px;
  color: #e4f2fa;
  margin: 10px;
}

.slider-container {
  display: flex;
  overflow-x: hidden;
  border-radius: 10px;
}

.slider-item {
  display: none;
  height: 100%;
}

.slider-item.active {
  display: block;
  max-width: 100%; /* Establece el ancho máximo como el ancho del contenedor */
  max-height: 100%; /* Establece la altura máxima como la altura del contenedor */
  width: auto; /* Mantiene la proporción original de la imagen */
  height: auto; /* Mantiene la proporción original de la imagen */
  border-radius: 10px;
}

.arrows {
  width: 20px;
  height: 20px;
  margin: auto 5px auto 5px;
  cursor: pointer;
}

.inline-list {
  list-style-type: none;
  padding: 0;
  margin-top: 10px;
}

.inline-list li {
  display: inline-block;
  margin-right: 10px; /* Ajusta el espaciado entre las etiquetas si es necesario */
  font-size: smaller; /* Cambia el tamaño de la fuente a más pequeño */
  background-color: #e4f2fa;
  color: #021f62;
  margin: 5px;
  padding: 5px;
  border-radius: 5px;
}

.tituloytecnologias {
  width: 80%;
  padding: 10px;
}

.containeryarrows {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  border-radius: 10px;
  width: 80%;
}

.video {
  width: 100%;
}

.ver-repo {
  margin-left: 10px;
}
