@import url('https://fonts.cdnfonts.com/css/valorant');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,700');

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: 'Open Sans', serif;
}

a {
    text-decoration: none;
}

.background {
    background-color: red;
}

.main-container {
    /* justify-content: center; */
    align-items: center;
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    background: radial-gradient(circle  , #2d2d2d 0%, #1a1a1a 100%);
    color: #f5f5f5;
    margin-top: 10vh;
}

/* ============= TOOLBAR START ============= */

.toolbar-container {
    background: linear-gradient(90deg, #ff4b4b 100%, #ff5e5e 10%);
    background-color: #c6313d;
    position: fixed;
    display: flex;
    top:0;
    z-index: 1000;
    height: 10vh;
    width: 100vw;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding-left: 1vw;
    align-items: center;
}

.toolbar-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1vh;
}

.toolbar-app-icon {
    max-height: 4.5vh;
    filter: brightness(100);
}

.toolbar-app-title {
    margin-left: 1vw;
    font-family: "valorant";
    color: white;
    font-size: 4vh;
}

.toolbar-container {
  display: flex;
  align-items: center; 
  justify-content: space-between; 
}

.toolbar-article-buttons {
    display: flex;
    justify-content: space-evenly;
    gap: 3vw;
    flex-direction: row;     
}

.toolbar-article-button {
    color: white;
    font-weight: bold;
}

.toolbar-article-button-faq {
    text-decoration: underline white;
}

.toolbar-buttons {
   display: flex;
   justify-content: space-evenly;
   gap: 2vw;
   padding: 1vw;
   align-items: center;
}

.toolbar-discord-icon {
    max-height: 5vh;
    transition: ease-in 100ms;
}

.toolbar-discord-icon:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.toolbar-download-icon {
    max-height: 4vh;
    transition: ease-in 100ms;
}

.toolbar-download-icon:hover {
    transform: scale(1.05);
    cursor: pointer;
}


.toolbar-buttons-login {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1vw;
    font-family: 'Open Sans', serif;
    font-weight: bold;
    align-items: center;
    margin-right: 1vw;
}

.toolbar-buttons-login-login {
    color: #FF4C5A;
    border-radius: 8px;
    background-color: white;
    padding: 0.5rem;
    transition: ease-in 100ms;
}

.toolbar-buttons-login-register:hover {
    cursor: pointer;
}

.toolbar-buttons-login-login:hover {
    cursor: pointer;
    transform: scale(1.05);
}

/* If a user logged in use this */
.toolbar-buttons-logged-in {
    border-radius: 50%; 
    border: 4px solid white; 
    width: 6vh; 
    height: 6vh; 
    background-color: #1a1a1a; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    transition: 0.1s ease-in-out;
}

.toolbar-buttons-logged-in:hover {
    cursor: pointer;
    transform: scale(1.05);
}

/* ============= TOOLBAR END ============= */

.content-container {
    display: grid;
    grid-template-columns: repeat(5, 20%);
    grid-template-rows: repeat(4, 25%);
    width: 100%;
    height: 100%;
    box-shadow: 0 20px 25px rgba(15, 15, 15, 0.9),
            0 0 8px rgba(255, 255, 255, 0.05);
}

.content-description-title {
    grid-column: span 2;
    font-family: 'Open Sans', serif;
    /* min-height: 60vh;
    min-width: 97.09vh;
    background: #2b2b2b;
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 0 0 10px rgba(255, 70, 85, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1; */
    flex-direction: column;
    padding: 3vw;
    margin: 0;
    font-size: 9vh;
    font-weight: 900;
    line-height: 95%
}

.content-description-title > p {
    margin:0;
}

.content-description-text {
    grid-row: 2;       
    grid-column: span 2;
    padding-top: 3vh;
    padding-left: 3vw;
    margin: 0;
    font-size: 3vh;
    font-weight: 500;
}

.content-download-button {
    grid-row: 3;
    grid-column: span 2;
    border-radius: 5px;
    background-color: #c6313d;
    color: white;
    font-family: 'Open Sans', serif;
    font-weight: 700;
    min-width: 20vw;
    font-size: 3vh;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: top;
    max-height: 8vh;
    max-width: 20vw;
    padding: 0;
    margin-left: 3vw;
    border: 0;
    gap: 0.5vw;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 0 0 10px rgba(255, 70, 85, 0.05);
    transition: ease-in 100ms;
}

.content-download-button:hover {
    cursor: pointer;
    transform: scale(1.05);
}

.content-download-button-image {
    max-height: 3vh;
    max-width: 3vw;
}

.content-preview {
    grid-column: span 3;
    grid-row: span 4;
    position: relative; /* for absolute positioning of the background */
    overflow: hidden;   /* ensures background doesn't spill */
}

.content-preview-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://media.valorant-api.com/maps/7eaecc1b-4337-bbf6-6ab9-04b8f06b3319/stylizedbackgroundimage.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: saturate(0); /* blur only the background */
    z-index: 0;        /* behind the content */
    pointer-events: none; /* allows clicks to pass through */
}

.content-preview-x-title {
    font-size: 4vh;
    font-weight: 600;
    margin: 0;
    padding: 5%;
    color: #f5f0eb;
}

.content-preview-x-description {
    margin: 0;
    padding-left: 5%;
    padding-bottom: 5%;
    color: #f5f0eb;
    font-style: oblique;
}

.content-preview-x {
    display: flex;
    z-index: 2;
    position: absolute;
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 0 0 10px rgba(255, 70, 85, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    align-items: flex-start;
    flex-direction: column;
    padding: 1%;
    transition: ease-in 200ms;
}

.content-preview-x:hover {
    transform: scale(1.05);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

/* ========================= CONTENT PREVIEW 1 START ========================= */

.content-preview-1 {
    top: 3vh;
    left: 3vw;
}

.content-preview-1-image {
    justify-self: center;
    align-self: center;
    max-height: 7vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ========================= CONTENT PREVIEW 1 END ========================= */

/* ========================= CONTENT PREVIEW 2 START ========================= */

.content-preview-2 {
    top: 14vh;
    left: 28vw;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: fit-content;
}

.content-preview-2-text {
    display: flex;
    flex-direction: column;
    max-width: 13vw;
    border-radius: 50%;  
    padding-top: 2vh;
    padding-bottom: 2vh;
    /* position: absolute; */
}

.content-preview-2-title {
    font-size: 4vh;
    max-width: 100%;
    box-sizing: border-box; 
}

.content-preview-2-description {
    font-size: 2vh;
    padding: 5%;
}

.content-preview-2-image {
    max-width: 15vw;
    border-radius: 5px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 0 0 10px rgba(255, 70, 85, 0.05);
} 

/* ========================= CONTENT PREVIEW 2 END ========================= */

/* ========================= CONTENT PREVIEW 3 START ========================= */

.content-preview-3 {
    left: 1vw;
    top: 20vw;
}

.content-preview-3-text {
    max-width: 22vw;
}

.content-preview-3-image {
    justify-self: center;
    align-self: center;
    max-height: 7vh;
    height: auto;
    object-fit: contain;
}


/* ========================= CONTENT PREVIEW 3 END ========================= */

/* ========================= CONTENT PREVIEW 4 START ========================= */

.content-preview-4 {
    top: 70vh;
    right: 4vw;
}

.content-preview-4-text {
    max-width: 22vw;
}

/* ========================= CONTENT PREVIEW 4 END ========================= */

/* ========================= FAQ CONTAINER START ========================= */

.faq {
    height: fit-content;
    background: radial-gradient(circle at right top, #2c2c2c 0%, #1a1a1a 100%);
    padding-bottom: 33vh;
}
/* ========================= FAQ CONTAINER START ========================= */

.faq-title-container {
    margin:0;
    padding-top: 5vh;
    margin-left: 10vw;
    text-decoration: underline white;
}


.faq-title {
    color: white;
    font-weight: 700;
    font-size: 10vh;
}

.faq-jett-thinking {
    max-height: 35vh;
    position: absolute;
    right: 30vw;
    top: 120vh;
}

.faq-questions-container {
    font-size: 3vh;
    color: white;
    padding-left: 10vw;;
}

.faq-question {
    margin: 0;
    display: inline;
    padding-left: 1vw;
}

.faq-question-container {
    display: flex;
    flex-direction: row;  
    align-items: center; 
}

.faq-question-container:hover {
    cursor: pointer;
}

.faq-questions-button {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: #f5f0eb;
    font-size: 24px;
    line-height: 1;
    display: inline-block;
    transition: transform 0.1s ease-in-out;
    transform: rotate(0deg);
    transform-origin: center; 
}


/* Rotates the button when the container is open */
.faq-question-container[data-state="open"] .faq-questions-button {
    transform: rotate(90deg);
}

.faq-answer-container {
    padding-left: 5vw;
    padding-right: 5vw;
    display: none;
}

/* ========================= FAQ CONTAINER END ========================= */

/* ========================= FEATURES CONTAINER START ========================= */

.footer {
    background-color: #1a1a1a;
    height: 20vh;
    box-shadow: 0 -8px 10px rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: repeat(5, 20%);
}

.footer-coming-soon {
    grid-column: 3;
    color: white;
    font-size: 3.5vh;
    font-weight: 600;
}

