
html {
  color: #101010;
  font-size: 1em;
  line-height: 1.4;
}


::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}


/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}



*{
  box-sizing: border-box;
}

html{
  font-family: "Brutal Type","Paytone One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

body {
  background-color: #020024;
  width: 100%;
  height: 100%;
  overflow: hidden visible;
  margin:0;
}


.presentation {
  width:  100%;
  height: 100%;

}

.video-container {
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  height: calc(80vh);
  z-index: -1;
}

.background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-section{
  padding-top: 50px;
}

.flex-overlay {
  width: 100%;
  height: calc(80vh + 50px);
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  text-align: center;
  color: aliceblue;
  z-index: 1;
  gap: 20px;
}
.flex-overlay button{
  position: relative;
  top: 0;
  margin: 0 30vw;
  border-radius: 10px;
  padding: 0 10px;
  width: 20%;
  height: 7vh;
  min-width: 100px;
  max-width: 150px;
  min-height: 2em;
  max-height: 12vh;
  align-self: center;
  background-color: #ff923bcc;
}

.flex-overlay button:hover{
  background-color: #ff923b;
  width: calc(20% + 15px);
  max-width: 160px;
}

h1{
  font-family: "Paytone One", sans-serif;
  font-size: 3.5em;
  font-weight: 800;
  padding: 0 20px;
  margin-top: 20px;
  margin-bottom: 25px;
  text-align: center;
}

.name {
  margin-top: -20px;
}

h2 {
  margin: -7px 50px;
  text-transform: uppercase;
  word-spacing: 5px;
  font-weight: 700;
}

.main-role{
  font-size: 1.2em;
  padding-top: 10px;
}
.sec-role {
  font-size: 1em;
}

p{
  font-weight: 400;
}



.button {
  border: none;
  color: aliceblue;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  background-color: #ff923bcc;
  font-weight: bold;
  text-transform: uppercase;
  transition-duration: 0.2s;
}

.lang-button {
  color: #767b80;
  background-color: #020024;
  margin: 0;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 10px;
}
.lang-button.selected {

  background-color: #007BFF;
  color: aliceblue;
}

.lang-button.selected:hover {

  background-color: #005bbd;
  color: aliceblue;
}

.lang-button:hover{
  color: aliceblue;
}

.more-info:hover{
  width: calc(20% + 10px);
  max-width: 160px;
}

.UE-logo{
  margin: auto;
  vertical-align: middle;
  padding-top: 0px;
  width: min(200px, 60vw);
}

.spacer{
  flex-shrink: 1;
  height: 10vh;
}

.big-spacer{
  flex-shrink: 1;
  height: 20vh;
  min-height: 15vh;
}



.sectionTitle
{
  padding-top: 30px;
  padding-bottom: 30px;
}

.projects {
  color: #050808;
  background-color: #ff923b;
  border-radius: 10px;
  width: 400px;
  border: 3px solid #050808;
  margin: auto;
  padding-bottom: 5px;
  justify-content: center;
}



nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  background-color: #020024;


  border-bottom: 1px solid #1e3336;

  width: 100vw;
  height: 50px;
  padding-right: 30px;
  z-index: 2;
}

.home-nav{
  filter: invert(100%);
  margin-left: 5%;
  border-radius: 5px;
  width: 36px;
  height: 36px;
  margin-top: 6px;
}
.home-nav:hover{
  background-color: #ffa442;
  color: #1e3336;
  cursor: pointer;
}

nav > ul {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  align-items: center;
  padding-inline-start: 0;
  margin-block: 0;
  height: 100%;
}

nav > ul > li {
  color: aliceblue;
  margin: 0 0.2rem;
  padding: 0.4rem 0.8rem;
  font-weight: bold;
  display: block;
  border-radius: 10px;
}

nav > ul > li:hover {
  background-color: #005bbd ;
  color: white;
  cursor: pointer;
}

li > a {
  color: inherit;
  text-decoration: none;
}

.about-section{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 90vh;
  background: linear-gradient(#020024, #3a0b45);
  padding-bottom: 47px;
}

.about-header{
  color:aliceblue;
  margin-top: 0;
  margin-bottom: 0;
}

.personal-photo{
  max-height: 450px;
  margin-bottom: 0;
  padding-bottom: -20px;
  border-radius: 50px;
}

.about-main{
  width: 100%;
  background: #3BA7FF33;
  display: flex;
  align-items: center;
  align-content: end;
     /* centra verticalmente */
  justify-content: center;  /* centra horizontalmente */
}


.about-image{
  flex-shrink: 1;
  max-width: 50vw;
}

.about-text{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 5px 20px;
  margin-right: -40px;
  min-height: 400px;
  max-height: 600px;
  border-radius: 50px;
  color: aliceblue;
}

.description{
  max-width: 50ch;
  text-align: left;
}


.invitation{
  color: aliceblue;
  text-align: center;
}

.bold{
  font-weight: 700;
}

.orange{
  color: #ff923b;
}

.uppercase{
  text-transform: uppercase;
}

.contact-buttons{
  display: flex;
}

.inline{
  display: inline;

}

.icon
{
  height: 32px;
  width: 32px;
  align-self: center;
}

.insta-icon:hover{
  border: 2px solid aliceblue;
  border-radius: 16px;
}
.linkedin-icon:hover{
  border: 2px solid aliceblue;
  border-radius: 10px;
}

.contact{
  margin: 2px 10px;
  padding: 8px 16px;
  font-size: 12px;
  border-radius: 20px;
  border: 2px solid #25281D;
}

.contact:hover{
  background-color: #ff923b;
  font-size: 14px;
}


html, body {
  max-width: 100%;
  overflow-x: hidden;
}



/*
my work
*/

.industry-h{
  background-color: #ffffff;
  border: 3px solid #050808;
  padding-bottom: 5px;

  border-radius: 10px;
  width: 400px;
  margin: auto;
}


.industry-separator{

  width: 100%;
  height: 10px;
  background-color: #020024;
}

.industry-experience{
  background: linear-gradient(#102357, #0e0b44);
}

.flex-multiline{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px 16px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 10px;
  text-align: center;
}

.festigame-logo{
  max-width: 500px;
  min-height: 230px;
}
.massif-logo{
  max-width: 500px;
  min-height: 230px;
  border-radius: 10px;
}



.end-page{
  margin-bottom: 0;
}

.festigame-img{
  width: 100%;
  max-width: 600px;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
}

.massif-img{
  width: 100%;
  max-width: 600px;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
  align-self: flex-start;
}

.festigame-text{
  text-align: center;
  color:white;
}

.massif-text{
  text-align: center;
  color:white;
}
.industry-conclusion{
  font-size: 16px;
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  background-color: #020024;
  margin: 0 auto 0;
  color: white;
}



footer{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(#1e3336, #000000);
  padding-bottom: 32px;
  color: aliceblue;
  text-align: center;
  gap: 20px;
}

footer div{
  display: flex;
  gap: 32px;
}
footer img{
  width: 64px;
  height: 64px;
}

footer button{
  margin-top: 25px;
}

footer h2{
  margin-bottom: 0;
  margin-top: 50px;
  font-size: 26px;
}

.small-text{
  font-size: 10px;
}

.game-logo{
  float: left;
  margin: -60px auto;
  width: 480px;
}
.game-desc{
  display: inline-block;
  max-width: 370px;
  min-width: 370px;
  align-self: center;
  text-align: center;
  margin: auto;
  color:white;
}

.game-content{
  max-width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  gap: 40px;
}

.manoverboard-sec1{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 900px;
}
.manoverboard-sec2{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-evenly;
}


.borrowed-wings-sec1{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 900px;
}
.borrowed-wings-sec2{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.roles-text{
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 15px;
  padding: 10px;
  background: linear-gradient(#bf6e2d, #bf6e2d);
  border-radius: 15px;
  border: 3px solid #101010;
  color: aliceblue;
}

.game-tag-left{
  background-color: #C1FF3bdd;
  border-radius: 15px;
  padding: 5px 8px;
  position: absolute;
  z-index: 1;
  left: calc(25% - 80px);
  text-transform: uppercase;
  font-size: 12px;
  transform: rotate(-5deg);
}
.game-tag-right{

  background-color: #CC3BFFdd;
  border-radius: 15px;
  padding: 5px 8px;
  position: absolute;
  z-index: 1;
  right: calc(25% - 80px);
  text-transform: uppercase;
  font-size: 12px;
  transform: rotate(5deg);
}


.game-img{
  max-width: 600px;
  margin: -20px auto;
}
.role-title{
  border-bottom: 5px solid aliceblue;
  margin-bottom: 20px;
  text-align: center;
}

h3{
  margin: 2px auto;
}

iframe{
  align-self: center;
}

.video-frame{
  display: flex;
  justify-content: center;
  width: 100%;
  background-color: #25281D;
}

.project-section{
  background: linear-gradient(#731818, #020024, #363d83);
}

.manoverboard-article {
  margin-top: 40px;
}

.borrowed-wings-article{
  margin-top: 40px;
}


.borrowed-wings.game-logo{
  margin: 13px auto 0 auto;
  padding: 15px;
}

.other-games{
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: aliceblue;
  align-items: center;
  text-align: center;
  margin: 30px auto 0 auto;
}

.other-games img{
  margin-bottom: 15px;
}


.other-games img:hover{
  border: 3px solid aliceblue;
  border-radius: 64px;
}

@media only screen and (max-height: 430px) {

}




@media only screen and (max-width: 600px) {



  html {
    font-size: 0.9em;
  }
  p {
    font-size: 0.8em;
  }

  .game-logo{
    margin: -40px auto;
    width: 380px;
  }


  .game-img{
    width: 400px;
  }

  .festigame-logo{
    max-width: 370px;
    min-height: 170px;
  }
  .massif-logo{
    max-width: 370px;
    min-height: 170px;
  }

}

@media only screen and (max-width: 535px) {
  .hide-medium{
    display: none;
  }
}


@media only screen and (max-width: 455px) {
  nav ul{
    display: none;
  }
}

@media only screen and (max-width: 410px){

  .hide-small{
    display: none;
  }

  .game-logo{
    width: 350px;
    max-width: 100%;
  }


  .game-desc{
    max-width: 330px;
    min-width: 330px;
  }

  .game-logo-ts2{
    max-width: 330px;
  }

  .festigame-logo{
    width: 340px;
    min-height: 156px;
  }
  .massif-logo{
    width: 340px;
    min-height: 156px;
  }
}


/* Contenedor principal: imagen + texto al lado */
.tormentedsouls2-sec1 {
  display: flex;
  flex-wrap: wrap; /* en pantallas chicas se apilan */
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding-bottom: 30px;
}

/* Imagen (columna izquierda) */
.game-logo-ts2 {
  max-width: 100%;
  height: auto;
  width: 350px;
  border-radius: 8px;
}

/* Texto y roles (columna derecha) */
.ts2-next-to-Image {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Descripción */
.game-desc {
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Roles */
.roles-text {
  margin-top: 10px;
}


/* For landscape, we want the toolbar stick on the left */

@media screen and (orientation: landscape) {
  .presentation{

  }
  .flex-overlay
  {
    gap: 40px;
  }
}
