/* Reset */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins';
    line-height: 1.55;
    color: #ffffff;
    background-color: #242423;
    text-align: center;
    overflow-x: hidden;
}

.container {
    width: 85%;
    margin: 0 auto;
}

h1 {
    font-size: 2.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.2rem;
    font-weight: 500;
}

h3 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

h4 {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: capitalize;
    margin-bottom: 6px;
}

p {
    font-weight: 300;
    max-width: 50rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: .5rem;
}

section {
    margin-bottom: 3.5rem;
    padding: 8rem 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
}

.link-menu a {
    margin-right: 5px;
}

.link-menu a .fab {
    text-align: center;
    font-size: 25px;
    line-height: 30px;
    width: 40px;
    border-radius: 50%;
    color: #ffffff;
}

.link-menu a .fab::after {
    content: '';
    width: 0;
    height: 3px;
    background-color: #f7bd2e;
    margin: auto;
    display: block;
}

.link-menu a .fab:hover:after {
    width: 80%;
    transition: width 0.3s linear;
}

.visit-site-btn {
    text-decoration: none;
    color: #f7bd2e;
    padding: 10px 20px;
    border: solid 1px #ffffff;
    transition: all 0.3s;
}

.visit-site-btn:hover {
    color: #ffffff;
    border: solid 1px #f7bd2e;
    background: #f7bd2e;
}

.logo {
    width: 150px;
}

#home {
    height: 100vh;  
}

.homebody {
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    position: absolute;
}

.homebody h2{
    max-width: 50rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.by {
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: overline;
    text-decoration-color: rgb(247, 189, 46);
}

#home h1{
    color: #f7bd2e;
    text-transform: uppercase;
}

.role {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.super-team .left {
    width: 70%;
    max-height: 450px;
    min-height: 250px;
    background: #333533;
    display: flex;
    text-align: left;
    align-items: center;
    padding: 30px;
    border-radius: 25px;
    margin-right: -50px;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.2);
}

.super-team .left p {
    max-width: 28rem;
}

.super-team .right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team {
    height: 400px;
}

.tina .left {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cmj {
    width: 400px;
}

.tina .right {
    width: 50%;
    max-height: 450px;
    min-height: 300px;
    background: #333533;
    display: flex;
    text-align: left;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border-radius: 25px;
    margin-left: -50px;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.2);
}

.parent{
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
}

#about .child{
    width: 49%;
    text-align: left;
}

#about .info{
   padding: 20px 0;
   
}

#about .info p{
    margin-bottom: 1rem;
}

#about .child:nth-child(2){
    width: 49%;
    justify-content: center;
}

.child{
    width: 69%;
}

.child:nth-child(2){
    width: 29%;
    text-align: left;
}

.tutorial {
    padding: 20px 0;
}

.content .images {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    gap: 10px;
    padding: 10px;
}

.images .ui {
    cursor: pointer;
    width: 241px;
}

.images .codex {
    width: 356px;
}

.info {
    padding: 10px;
}

.info h3{
    color: #f7bd2e;
}

.info h4 {
    text-decoration: overline;
    text-decoration-color: #f7bd2e;
}

/*.preview-box {
    position: fixed;
    max-width: 800px;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #242423;
    background: #ffffff;
    padding: 0 5px 5px 5px;
    border-radius: 5px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

.preview-box.show {
    opacity: 1;
    pointer-events: auto;
}

.preview-box .details {
    display: flex;
    align-items: center;
    padding: 12px 15px 12px 10px;
    justify-content: space-between;
}

.preview-box .details .icon {
    cursor: pointer;
    background: #EBEBEB;
    font-size: 20px;
    width: 30px;
    height: 30px;
    line-height: 30px;
}

.preview-box .details .icon:hover {
    color: #f7bd2e;
    background: #242423;
}

.details .title {
    display: flex;
    font-size: 18px;
    font-weight: 300;
}

.details .title p {
    margin: 0 5px;
}

.details .title p.current-img{
    font-weight: 500;
}

.preview-box .img-box {
    display: flex;
    width: 100%;
}

.img-box .slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    cursor: pointer;
    color: #ffffff;
    width: 60px;
    height: 50px;
    line-height: 50px;
    text-align: center;
}

.img-box .slide.prev{
    left: 0;
}

.img-box .slide.next{
    right: 0;
}

.preview-box .img-box img {
    width: 100%;
}*/

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #242423;
}
  
/* Modal Content */
.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 700px;
}

.tutorial img {
    width: 100%;
    object-fit: cover;
}

.column {
    display: inline-flex;
    width: 15%;
}
  
/* The Close Button */
.close {
    color: white;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 30px;
}
  
.close:hover,
.close:focus {
    color: #f7bd2e;
    text-decoration: none;
    cursor: pointer;
}
  
.mySlides {
    display: none;
}
  
.cursor {
    cursor: pointer;
}
  
/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 45%;
    width: auto;
    padding: 12px;
    margin-top: -50px;
    color: white;
    background: #33353386;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    margin-left: 0;
}
  
/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: #333533cc;
  color: #f7bd2e;
}

.demo {
  opacity: 0.5;
}

.active,
.demo:hover {
  opacity: 1;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    background: #333533cc;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}



/* The Modal Weapon (background) */
.modal-weapon {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #242423;
}

/* Modal Content */
.modal-content-weapon {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 700px;
}

.weapon img {
    width: 100%;
    object-fit: cover;
}

/* Number text (1/3 etc) */
.weapon .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.demoweapon {
    opacity: 0.5;
}
  
.active,
.demoweapon:hover {
    opacity: 1;
}


/* The Modal Codex (background) */
.modal-codex {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #242423;
  }

/* Modal Content */
.modal-content-codex {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 700px;
  }

.codex img {
    width: 100%;
    object-fit: cover;
}

/* Number text (1/3 etc) */
.codex .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.democodex {
    opacity: 0.5;
}
  
.active,
.democodex:hover {
    opacity: 1;
}

.gallery img{
    transition: 0.3s;
}
  
.gallery img:hover {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 6px 0 rgba(0, 0, 0, 0.19);
}



.header2 {
    text-align: center;
}

.header2 p {
    margin-bottom: 3rem;
}

.header2 h3{
    color: #f7bd2e;
}

.header2 h4{
    text-decoration: overline;
    text-decoration-color: #f7bd2e;
}

.model {
    gap: 30px;
    columns: 5 280px;
    margin:auto;
}

model-viewer {
    width: 100%;
    height: 400px;
    margin-bottom: 30px;
    background: #333533;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.2);
    border-radius: 25px;
}

.thesis-demo-vid {
    margin-top: 4.5rem;
    max-width: 100%;
}

footer {
    color: #ffffff;
    background: #333533;
    padding: 3.5rem;
}

.footer-content {
    display: flex;
    text-align: start;
    margin-bottom: 3.5rem;
}

.footer-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-content a {
    text-decoration: none;
    color: #ffffff;
}

.footer-logo {
    width: 700px;
}

.footer-logo .logo {
    width: 120px;
    margin-bottom: 1rem;
}

.footer-logo p {
    max-width: 400px;
    margin-left: 0;
}

.footer-contact {
    width: 300px;
}

.footer-social {
    width: 200px;
}

.footer-social a {
    margin-right: 10px;
}

.footer-social a .fab {
    text-align: center;
    font-size: 20px;
    line-height: 38px;
    width: 40px;
    border-radius: 50%;
    color: #ffffff;
    text-align: left;
}

.cmj-copyright {
    border-top: solid 1px #ffffff;
}

.cmj-copyright p {
    margin-top: 3.5rem;
}

@media screen and (max-width: 1299px) {
   .images .ui {
        width: 216px;
    }
}

@media screen and (max-width: 1100px) {
    .child{
        width: 59%;
        text-align: left;
    }
    
    .child:nth-child(2){
        width: 39%;
        justify-content: center;
    }

    .super-team .left p {
        max-width: 18rem;
    }

    .team {
        height: 100%;
        width: 450px;
    }

    .tina .right {
        margin-left: -25px;
    }

    .cmj {
        width: 350px;
        height: 100%;
    }

    .images .ui {
        width: 176px;
    }

    .footer-logo {
        width: 400px;
        margin-right: 3rem;
    }
    
    .footer-contact {
        width: 250px;
        margin-right: 3rem;
    }

    .footer-social {
        width: 250px;
    }
}

@media screen and (max-width: 800px) {
    h1 {font-size: 2.2rem;}
    
    h2 {font-size: 1rem;}
    
    h3 {font-size: 1.8rem;}
    
    h4 {font-size: 1rem;}

    #about .child{
        width: 100%;
        text-align: left;
    }
    
    #about .child:nth-child(2){
        width: 100%;
        justify-content: center;
    }

    .content{
        display: flex;
        flex-direction: column-reverse;
    }

    .child{
        width: 100%;
        text-align: left;
    }
    
    .child:nth-child(2){
        width: 100%;
        justify-content: center;
    }

    .role {
        flex-direction: column;
    }

    .super-team {
        flex-direction: column-reverse;
    }

    .super-team .right {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .super-team .left {
        width: 80%;
        margin: 0;
        margin-top: -100px;
        height: 250px;
    }

    .super-team .left p {
        max-width: none;
    }

    .team {
       height: 350px;
       width: 100%;
    }

    .tina .left {
        width: 100%; 
    }

    .tina .right {
        width: 80%;
        margin: 0;
        margin-top: -100px;
        height: 250px;
    }

    .cmj {
        width: 250px;
        height: 100%;
    }

    .footer-content {
        display: inline;
        text-align: center;
    }   

    .footer-logo {
        width: 100%;
        margin-bottom: 3rem;
    }

    .footer-logo p {
        margin-left: auto;
    }

    .footer-contact {
        width: 100%;
        margin-bottom: 3rem;
    }

    .footer-social {
        width: 100%;
        margin-bottom: 3rem;
    }    

    .footer-social a .fab {
        text-align: center;
    }
}

@media screen and (max-width: 600px) {
    h1 {
        font-size: 1.7rem;
        letter-spacing: 1px;
        margin-bottom: .5rem;
    }
    
    h2 {font-size: 1rem; margin-bottom: 1rem;}

    h3 {font-size: 1.3rem; margin-bottom: 1rem;}

    h4 {font-size: 1rem; margin-bottom: 3px;}

    p {font-size: 12px;}

    header {display: inline-flex; gap: 10px;}
    .logo {width: 100px;}
    .link-menu a .fab {display: none;}

    .team {
        height: 250px;
    }

    .images .ui {
        width: 166px;
    }

    .footer-logo .logo {width: 100px;}
    
    .footer-social a .fab {
        text-align: center;
        font-size: 15px;
        line-height: 28px;
        width: 30px;
    }
    
}