/* header */
/* ////////////////// */
.home-container {
    width: 100%;
    height: fit-content;

    /* display: none; */
    padding-bottom: 4rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 4rem;
}

.header  {
    width: 100%;
    height: fit-content;
    display: grid;
    grid-template-columns: 1fr 52rem;
    grid-template-rows: 1fr;
}

.header-content {
    width: 100%;
    height: 100%;
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.header-img {
    width: 36rem;
    align-self: flex-end;
}

.header-tilte-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.header-title {
    color: #6F2DA8;
    font-family: "roboto", sans-serif;
    font-size: 6rem;
    text-transform: capitalize;
    font-family: "Sen", sans-serif;
    font-weight: 800;
}

.header-little-title {
    font-size: 2rem;
    font-family: "Sen", sans-serif;
    text-transform: capitalize;
    font-weight: 600;
    color: #fff;
}

.header-text-container {
    width: 100%;
    height: fit-content;
    position: relative;
    padding: 6rem;
}

.triangle-d {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    width: 3rem;
}

.triangle-t {
    position: absolute;
    top: 3rem;
    right: 3rem;
    width: 3rem;
}

.header-text {
    font-size: 1.6rem;
    line-height: 1.4;
    font-family: 'roboto', sans-serif;
    margin-bottom: 4rem;
    color: #d0d0d0;
}

.header-icons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: fit-content;
}

.header-icons img {
    width: 7rem;
}

/* primary section */
/* ////////////////// */

.primary-section {
    background-color: #201a52;
    border-radius: 5px;
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    padding: 5rem;
}

.primary-section .head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    color: rgb(102, 153, 204);
}

.primary-section .characterSearchInput {
    outline: none;
    width: 30rem;
    height: 4rem;
    border: none;
    padding-left: 3.4rem;
    font-family: "Sen", sans-serif;
    font-size: 1.6rem;
    background: url(../img/icons8-search-100.png) no-repeat left;
    background-size: 3rem;
}

.input-container {
    border-radius: 3px;
    background-color: #E5E4E2;
}

.primary-section h2 {
    font-family: "Sen", sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #dbddee;
    text-transform: capitalize;
}

.primary-section .characters {
    width: 100%;
    height: fit-content;
    background-color: #261f64;
    padding: 2rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5rem;
}

.character-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    height: fit-content;
    width: 7rem;
}

.img-container {
    background-color: #6F2DA8;
    border-radius: 3px;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.character-card p {
    font-size: 1.4rem;
    font-family: 'Sen', sans-serif;
    color: #dbddee;
    text-align: center;
}

.element_icon {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #201a52;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    border-radius: 50%;
    padding: 2px;
    width: 2rem;
    height: 2rem;
}

.element_icon img {
    width: 100%;
    height: 100%;
}
/* character container */
/* /////////////////////// */
.character-container {
    width: 100%;
    height: fit-content;
    background-color: #261f64;
    position: absolute;
    top: 0;
    left: 0;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    display: none;
    padding: 4rem 2rem;
}

.character-container .ch-container {
    background-color: #3b1c82;
    width: 90rem;
    height: fit-content;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 4rem;
}

.character-container .head {
    display: grid;
    grid-template-columns: 0.15fr 1fr 0.1fr;
    grid-template-rows: 0.5fr 1fr;
}

.character-container .head .img-character {
    width: 9rem;
    grid-row-start: 1;
    grid-row-end: -1;
    background: #C51E3A;
    background: linear-gradient(180deg, rgba(197, 30, 58, 1) 2%, rgba(128, 20, 38, 1) 46%, rgba(0, 0, 0, 1) 100%);
    border-radius: 4px;
}

.character-container .head .icons {
    grid-row-start: 1;
    grid-row-end: -1;
    grid-column-start: 3;
    grid-column-end: -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.character-container .head .element {
    width: 5rem;
}

.character-container .head .close-btn {
    width: 3rem;
    cursor: pointer;
}

.character-container .head .title {
    font-family: sans-serif;
    font-size: 2.5rem;
    color: #dbddee;
    text-transform: capitalize;
}

.character-container .head .gun {
    align-self: center;
    font-size: 1.5rem;
    letter-spacing: 1px;
    font-family: sans-serif;
    color: #d0d0d0;
    font-weight: 500;
    background-color: #4a24a3cc;
    width: fit-content;
    padding: 0.7rem 2rem;
    border-radius: 4px;
    text-transform: capitalize;
}

.character-container .body {
    display: flex;
    flex-direction: column;
    gap: 5rem;
    width: 100%;
    height: fit-content;
}

.character-container .body .description {
    font-size: 1.6rem;
    color: #fff;
    font-family: "sen", sans-serif;
    width: 50rem;
    line-height: 1.4;
}

.character-container .body .skills {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: fit-content;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.character-container .body .skills .skill_container {
    width: 90%;
    background-color: #261f64;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    padding: 3rem;
    border-radius: 4px;
}

.character-container .body .img_skill {
    width: 13rem;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.character-container .body .img_skill img {
    background-color: #160f50f3;
    width: 70%;
    border-radius: 50%;
    padding: 1rem;
}

.character-container .body .img_skill .name {
    font-size: 1.6rem;
    color: #dbddee;
    font-family: sans-serif;
    font-weight: 600;
}

.character-container .skill_container .content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 54rem;
}
.character-container .skill_container .content .title {
    font-size: 1.8rem;
    color: #dbddee;
    font-family: sans-serif;
    font-weight: 600;
}

.character-container .skill_container .content .text {
    font-size: 1.5rem;
    color: #bec1dd;
    font-family: sans-serif;
}

/* footer */
/* /////////////////////// */
.footer {
    background-color: #201a52;
    width: 100%;
    height: fit-content;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 0.7fr;
    grid-template-rows: 1fr 0.3fr;
    font-family: "Sen", sans-serif;
}

.footer-title {
    font-size: 4rem;
    color: #fff;
    width: 45rem;
    font-weight: 800;
    margin-bottom: 2rem;
}


.footer-container p {
    font-size: 1.6rem;
    color: #fff;
    width: 40rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-links a,
.footer-links a:visited {
    color: #6F2DA8;
    font-size: 1.4rem;
}

.footer-links a:hover,
.footer-links a:active {
    color: #3b1c82;
}

.footer-border {
    width: 2px;
    height: 15px;
    background-color: #fff;
}

.footer-btn {
    display: inline-flex;
    background-color: #3b1c82;
    width: 27rem;
    height: 6rem;
    border-bottom: 3px solid #fff;
    font-size: 2.3rem;
    align-items: center;
    justify-content: center;
    color: #fff;
    justify-self: start;
    align-self: center;
    transition: 0.2s;
    text-decoration: none;
}

.footer-btn:hover {
    background-color: #261f64;
}

.ending {
    grid-column-start: 1;
    grid-column-end: -1;
    width: 50rem;

    display: flex;
    align-items: center;
    justify-content: space-between;
    justify-self: end;
}

.site-icon {
    width: 4rem;
}

.footer-icons {
    display: flex;
    gap: 1rem;
}

.footer a img {
    width: 100%;
}

.footer-icons a {
    width: 3rem;
}

.footer-email {
    color: #fff;
    font-size: 1.7rem;
}