/* ! FIRST SECTION */

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    background-attachment: #202020;
    background-color: #202020;
}

section {
    height: 200px;
}

section#main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../IMG/main_illustration.svg");
}

section#main {
    position: relative;
    background: url("../IMG/main.jpg");
    height: 100vh;
}

section#main .header {
    position: relative;
    padding-left: 20rem;
    padding-top: 20rem;
}

section#main .header h1 {
    margin: 0;
    font-size: 3rem;
}
section#main .header h2 {
    margin: 0;
    font-size: 1.4rem;
}

.return:hover {
    text-decoration: underline;
}

.return_img {
    border: none;
    cursor: pointer;
    float: left;
    width: 100px;
    height: auto;
    margin-top: auto;
}

.text_content {
    height: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.text_content p {
    font-size: 3rem;
    padding: 0.5rem;
    font-weight: bold;
    letter-spacing: 0.1rem;
    text-align: center;
    overflow: hidden;
}
.text_content p span.typed-text {
    font-weight: normal;
    color: #eb4d4b;
}
.text_content p span.cursor {
    display: inline-block;
    background-color: #ccc;
    margin-left: 0.1rem;
    width: 3px;
    animation: blink 1s infinite;
}
.text_content p span.cursor.typing {
    animation: none;
}
@keyframes blink {
    0%  { background-color: #ccc; }
    49% { background-color: #ccc; }
    50% { background-color: transparent; }
    99% { background-color: transparent; }
    100%  { background-color: #ccc; }
}

.flex-container {
    display: flex;
    
    /* Then we define the flow direction 
       and if we allow the items to wrap 
     * Remember this is the same as:
     * flex-direction: row;
     * flex-wrap: wrap;
     */
    flex-flow: row wrap;
    
    justify-content: space-around;
    
    padding: 0;
    margin: 0;
    list-style: none;
  }
  
  .flex-item {
    background: #eb4d4b;
    padding: 5px;
    width: 350px;
    height: 150px;
    margin-top: 5px;
    line-height: 150px;
    color: white;
    font-weight: bold;
    font-size: 1.2em;
    text-align: center;
    cursor: pointer;
  }
  .flex-item:hover {
    transform: scale(1.2);
    transition: 0.2s linear transform;
  }

/* ! FIRST VIDEO GAME SECTION : first.html */

/* #main_content{
    background-color: #848484;
} */

.mc_content {
    position: absolute;
    left: 50%;
    top: 80%;
    transform: translate(-50%, -50%);
    font-size: 22px;
    font-weight: 400;
    line-height: 25px;
}

.mc_img{
    max-width: 50%;
    height: auto;
    position: absolute;
    left: 50%;
    top: 35%;
    transform: translate(-50%, -50%);
}

/* ! ENGINES Section : engines.html */

.single_content{
    width: 350px;
    float: left;
    text-align: center;
    margin-top: 150px;
    margin-right: 80px;
    padding-left: 120px;
}

.single_content h2{
    margin-top: 25px;
    margin-bottom: 20px;
}

.single_content p{
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
}

.single_content img{
    max-width: 80%;
}

#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}
  
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1200px;
}
  
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}
  
.modal-content,
#caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}
  
@keyframes zoom {
    from {
      transform: scale(0)
    }
    to {
      transform: scale(1)
    }
}
  
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
  
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
  
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

/* ! VR Section : vr.html */

.video-background {
    background: #000;
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: -99;
}

.video-background iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.vr_content {
    background: rgba(49, 49, 49, 0.5);
    border-radius: 2rem;
    height: 280px;
    width: 600px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.vr_content p{
    color: #ffffff;
    font-size: 22px;
    font-weight: 400;
    line-height: 25px;
    padding-left: 5px;
}

/* ! RTX Section : rtx.html */

#rtx_section {

}

.rtx_content {
    /* width: 540px; */
    float: left;
    margin-top: 5px;
    height: 50vh;
    width: 90vw;
}

.rtx_content h2{
    color: #ffffff;
    text-align: center;
    font-size: 26px;
    font-weight: 400;
    line-height: 25px;
    margin-top: 20px;
}

.rtx_content p{
    color: #ffffff;
    font-size: 22px;
    font-weight: 400;
    line-height: 25px;
}

.cocoen {
    border: 5px solid #fff;
}

/* ! DLSS Section : dlss.html */

.dlss_section {

}

.dlss_content img{
    max-width: 50%;
    height: auto;
    position: absolute;
    left: 50%;
    top: 70%;
    transform: translate(-50%, -50%);
}

.dlss_content p {
    position: absolute;
    left: 50%;
    top: 25%;
    transform: translate(-50%, -50%);
    font-size: 22px;
    font-weight: 400;
    line-height: 25px;
}

/* ! Sources Section : sources.html */

.sources_content h1{
    text-align: center;
    position: absolute;
    left: 50%;
    top: 20%;
    transform: translate(-50%, -50%);
}

.sources_contened {
    background: #313131;
    border-radius: 2rem;
    height: 15rem;
    width: 46rem;
    line-height: 12px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.sources_contened p{
    margin-left: 50px;
}

.sources_contened a{
    color: #1f6eaa;
    text-decoration: none;
}

.sources_contened a:hover{
    color: #508bb8;
    text-decoration: underline;
}
