* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #4891ff;
    --light-color: #f4f4f6;
    --dark-color: #111;

    /* Primary */
    --very-dark-blue: hsl(233, 47%, 7%);
    --dark-desatureated-blue: hsl(244, 38%, 16%);
    --soft-violet: hsl(277, 64%, 61%);

    /* Neutral */
    --white: hsl(0, 0%, 100%);
    --slightly-transparent-white-main-paragraph: hsla(0, 0%, 100%, 0.75);
    --slightly-transparent-white-stat-headings: hsla(0, 0%, 100%, 0.6);
}

body {
    font-family: 'Poppings', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background-color: #fff;

    background-color: var(--very-dark-blue);
    color: var(--slightly-transparent-white-main-paragraph);
    min-height: 100vh;
    font-size: 15px;
}

a {
    text-decoration: none;
    color: var(--white);
}

.reference-link:hover sup {
    text-decoration: underline;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Navbar */
.navbar {
    background: var(--dark-desatureated-blue);
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .container .logo a span {
    font-size: 1.8rem;
    line-height: 1.4;
    font-weight: 600;
    margin: 30px 0 20px;
    text-decoration: none;
}

.navbar .container .logo a span:after {
    width: 0px;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    transition: .2s linear;
}

.navbar .container .logo a span:nth-child(1):after {
    content: 'rtificial';
}

.navbar .container .logo a span:nth-child(2):after {
    content: 'ntelligence';
}

.navbar .container .logo:hover a span:nth-child(1):after {
    width: 100px;
}

.navbar .container .logo:hover a span:nth-child(2):after {
    width: 150px;
}

.navbar .main-menu ul {
    display: flex;
}

.navbar ul li a {
    padding: 10px 20px;
    display: block;
    font-weight: 600;
    transition: 0.5s;
}

.navbar ul li a:hover {
    color: var(--primary-color);
}

.navbar ul li a i {
    margin-right: 10px;
}

.navbar ul li:last-child a {
    margin-left: 10px;
}

.navbar ul li a.selected {
    color: var(--soft-violet);
}

/* Main */
.main {
    margin-top: 50px;
    display: grid;
    place-content: center;
    max-width: 1600px;
    justify-self: center;
}

.main-lm {
    margin-top: 50px;
    display: grid;
    place-content: center;
}

.intro-title {
    padding: 20px;
}

 .title {
    width: 100%;
    height: 1000px;
    text-align: center;
    background-image: url("../images/matrix.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 0 80px 80px var(--very-dark-blue) inset;
}

.title h1 {
    position: absolute;
    top: 450px;
}

/* Hero */
.hero {
    margin-bottom: 50px;
}

.hero .container {
    background: url('../images/hero-bg.png') no-repeat;
    background-size: contain;
    background-position: center bottom;
    height: 400px;
}

.hero .hero-content {
    width: 70%;
}

.hero .hero-text {
    width: 70%;
    margin-bottom: 20px;
}

.benefits {
    justify-self: center;
    padding: 40px 40px;
    max-width: 1000px;
}

.benefits ul {
    list-style-type: square;
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
}

.benefits ul li {
    padding: 15px;
}

.chat .intro {
    text-align: center;
}

.chatGPT {
    background: #212121;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    color: #FAFAFA;
    padding: 25px;
    border-radius: 20px;
}

.chatGPT .user {
    background: #303030;
    max-width: 50%;
    flex-basis: 250px;
    padding: 10px 20px;
    text-decoration: none;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.5s;
    display: flex;
    float: right;
}

.chatGPT .response {
    margin-top: 70px;
    padding-bottom: 10px;
}

.chatGPT .java {
    background: #2F2F2F;
    border: none;
    border-radius: 10px;
    max-width: 50%;
}

.chatGPT .java .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatGPT .java .container p {
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatGPT .java .container ul {
    display: flex;
    font-weight: 600;
    transition: 0.5s;
}

.chatGPT .java .container ul li {
    padding: 10px 20px;
    display: block;
    font-weight: 600;
    transition: 0.5s;
}

.chatGPT .java .container ul li i {
    padding: 0px 8px;
}

.chatGPT .java .code {
    padding: 15px 5px;
    white-space: nowrap;
    overflow-x: scroll;
    background: #171717;
    position: relative;
    margin: 2px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    font-family: monospace;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    border-radius: 25px;
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #424242;
    border-radius: 25px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #929292; 
  }

  /* About */
  .about {
    padding: 100px 0px;
  }


/* Utility Classes */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 13px 20px;
    background: var(--light-color);
    color: #333;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.5s;
}

.btn:hover {
    opacity: 0.8;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-dark {
    background: var(--dark-color);
    color: #fff;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-border {
    cursor: pointer;
    border-width: 5px;
    border-style: solid;
    border-image: linear-gradient(to right, #0066ff, #ff32d6) 1 1 1 1;
    transition: border-image 1s;
}

.btn-border:hover,
.btn-border:focus {
    border-image: linear-gradient(to left, #0066ff, #ff32d6) 1 1 1 1;
}

/* Text Classes */
.text-xxl {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 600;
    margin: 40px 0 20px;
}

.text-xl {
    font-size: 2.2rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 40px 0 20px;
}

.text-lg {
    font-size: 1.8rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 30px 0 20px;
}

.text-md {
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 20px 0 10px;
}

.text-sm {
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: normal;
    margin: 10px 0 5px;
}

.text-center {
    text-align: center;
}

.text-blue {
    color: #2E95D3;
}

.text-red {
    color: #F22C3D;
}

.text-green {
    color: #00A67D;
}

.text-pink {
    color: #DF3079;
}

.purple-text {
    color: var(--soft-violet);
}

.capital-text {
    font-weight: 600;
    font-family: 'Courier New', Courier, monospace;
    font-size: 3.4rem;
}

/* Card */

.card {
    background-color: var(--dark-desatureated-blue);
    margin: 1rem;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    border-radius: .35rem;
    overflow: hidden;
    max-height: 500px;
}

.card .left {
    padding: 3.5rem;
}

.card .left .topic {
    max-width: 150px;
}

.card .left h1 {
    color: var(--white);
    font-size: 2.35rem;
    font-family: 'Inter';
    margin-bottom: 1.5rem;
}

.card .left h1 span {
    color: var(--soft-violet);
}

.card .left .paragraph {
    margin-bottom: 3rem;
    font-family: 'Lexend Deca';
    line-height: 1.6;
}

.card .left .stats {
    font-family: 'Inter';
    display: flex;
    gap: 3rem
}

.card .left .stats .num {
    color: var(--white);
    margin-bottom: .25rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.card .left .stats .topic {
    color: var(--slightly-transparent-white-main-paragraph);
    font-size: .9rem;
}

.card .right {
    position: relative;
}

.card .right::after {
    content: '';
    height: 100%;
    width: 100%;
    background-color: rgb(79, 3, 131, 0.6);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.card .right img {
    width: 100%;
    height: 100%;
}

.card .right picture ul {
    height: 100%;
    width: 100%;
    position: absolute;
    list-style-type: square;
    z-index: 15;
    padding: 30px;
    justify-content: center;
    align-items: center;
}

.card .right picture ul li {
    padding: 25px;
    font-size: 18px;
}

.card .right picture ul li:hover {
    text-decoration: underline;
    font-size: 18px;
}

.card .right picture iframe {
    position: absolute;
    z-index: 50;
    background-size: 100% 100%;
    top: 0px;
    left: 0px;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
}

@media (max-width: 768px) {
    .card {
        text-align: center;
        grid-template-columns: 1fr;
    }

    .card .left {
        grid-row: 2;
        padding: 2.5rem;
    }

    .card .left .stats {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Footer */
footer {
    background: var(--dark-desatureated-blue);
    display: flex;
    justify-content: space-between;
    bottom: 0;
    position: relative;
    width: 100%;
    padding: 20px 20px;
    font-size: 20px;
}

footer .contact {
    text-align: center;
}

footer .contact p {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

footer .contact a {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

footer .references {
    max-width: 30%;
}

footer .references ol li {
    padding-left: 22px;
    text-indent: -22px;
    font-size: 12px;
}

#fixedbutton {
    position: fixed;
    bottom: 0px;
    padding-bottom: 10px;
    left: 0px;
    padding-left: 10px;
    z-index: 5;
    
    display: inline-block;
    padding: 13px 20px;
    background: var(--light-color);
    color: #333;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.5s;

    opacity: 0.8;
}

#fixedbutton:hover {
    opacity: 1.0;
}
