@import url('https://fonts.cdnfonts.com/css/lexend');
@import url('https://fonts.googleapis.com/css2?family=Love+Ya+Like+A+Sister&display=swap');

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    color: #fff;
}

body {
    background-image: url('./assets/RaM-fundo.png');
    background-size: cover;
    background-position: 50% 50%;
}

header {
    height: 80px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 30px;
    font-family: "Love Ya Like A Sister", serif;
    color: #39cae4;
    margin-left: 5px;
}

.logo{
    height: 70px;
    width: 200px;
}

.social-media {
    width: 150px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.media-icon {
    color: rgb(60, 230, 27);
    font-size: 25px;
    cursor: pointer;
    transition: 0.1s;
}

.media-icon:hover {
    color: rgb(0, 197, 197);
}

.introduction-container {
    height: 500px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.introduction {
    padding-left: 25px;
    font-size: 28px;
    font-family: "Love Ya Like A Sister", serif;
    width: 50%;
                                         
}

p {
    color:rgb(209, 255, 211);  
    letter-spacing: 1px;
}

.introduction-image-container {
    height: 100%;
    width: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: center;

}

.introduction-image {
    width: 90%;
    height: 80%;
    background-image: url('https://m.media-amazon.com/images/S/pv-target-images/3f8ae4a13de932bc679af5272ce983693d773818ff67a774dfcf0592bcd3beb7._SX1080_FMjpg_.jpg');
    background-size: cover;
    background-position: 50% 50%;
    margin-right: 15px;
}

.main-container {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-top: 60px;
}

h1 {
    font-family: "Love Ya Like A Sister", serif;
    font-size: 30px;
    color: #42d2e6;
    text-align: center;
}

h2 {
    font-family: "Love Ya Like A Sister", serif;
    font-size: 25px;
    color: #88ec88;
    text-align: center;
}

.main-content {
    width: 80%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 50px;
    row-gap: 20px;
    column-gap: 15px;
    justify-content: flex-start;
}

.card {
    width: 100%;
    height: 300px;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.35s;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

.card:hover {
    transform: scale(1.025);
}

.card-bg {
    width: 90%;
    background-color: rgb(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
    border-radius: 30px;
    padding: 2px 10px;
}

.card-name {
    font-size: 21px;
    font-family: "Love Ya Like A Sister", serif;
    text-align: center;
}

.buttons {
    width: 80%;
    display: flex;
    justify-content: space-between;
    margin: 45px 5px;
}

.button {
    background: rgb(119, 235, 95);
    height: 58px;
    width: 110px;
    font-size: 22px;
    color: black;
    font-family: 'Lexend', sans-serif; 
    border: 1px solid black;
    cursor: pointer;
    outline: none;        
    border-radius: 2.5px;      
    transition: 0.15s; 
    font-weight: 500;

}

.button:hover {
    background-color: rgb(0, 0, 0);
    color: rgb(119, 235, 95);
}

.modal {
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0px;
    left: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
}

.modal-container {
    width: 500px;
    height: 600px;
    background: rgb(15, 15, 15);
    border: 2px solid rgb(10, 10, 10);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-character-image-container {
    width: 98%;
    height: 41%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-character-image {
    height: 215px;
    width: 215px;
    border-radius: 50%;
    border: 2px solid rgb(50, 50, 50);
    background-position: 50% 0%;
    background-size: cover;
}

.modal-character-information {
    width: 95%;
    height: 57%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 15px 10px 15px 20px;
    row-gap: 15px;
}

.info-div {
    display: flex;
    font-size: 28px;
    font-family: "Love Ya Like A Sister", serif;
    column-gap: 10px;
}

#status-div {
    align-items: center;
}

.info-topic {
    color: rgb(170, 255, 255);
}

.character-info-value {
    color: rgb(169, 255, 169);
}

.status-ball {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 3px;
}

footer {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
    background-color: rgba(0, 10, 0, 0.5);
}

.span-footer {
    font-size: 25px;
    font-weight: 500px;
    font-family: sans-serif;
}

.sm-footer {
    display: none;
}

@media (min-width: 1600px) {
    .main-content {
        width: 60%;
    }

    .introduction {
        font-size: 30px;
    }

    .modal-container {
        width: 680px;
        height: 700px;
    }

    .modal-character-image {
        height: 280px;
        width: 280px;
    }

}

@media (max-width: 1080px) {

    header {
        margin-bottom: 5px;
    }

    .introduction-container {
        flex-direction: column;
        height: 600px;
    }

    .introduction{
        width: 95%;
        height: 50%;
        font-size: 25px;
        display: flex;
        align-items: center;
        padding-left: 10px;
    }

    .introduction-image-container {
        height: 50%;
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }

    .introduction-image {
        height: 100%;
        width: 95%;
        margin: 0px;
    }

    h2 {
        width: 85%;
    }

    h1 {
        width: 85%;
    }

    .main-container {
        margin-top: 40px;
    }

    .main-content {
        grid-template-columns: repeat(4, 1fr);
        width: 90%;
        padding: 0px 15px;
    }

    .card {
        height: 200px;
    }
    
    .card-name {
        font-size: 16px;
    }

    .modal-container {
        height: auto;
        padding: 15px 0px;
    }

    .modal-character-image {
        height: 190px;
        width: 190px;
    }

    .modal-character-information {
        margin-top: 20px;
    }
}

@media (max-width: 640px) {
    
    body {
        background-position: 0% 50%;
    }
    
    header {
        margin-bottom: 10px;
    }  

    .logo {
        width: 150px;
        height: 50px;
    }

    .logo-text{
        font-size: 20px;
    }

    .social-media {
        width: 110px;
    }

    .media-icon {
        font-size: 21px;
    }

    .introduction-container {
        flex-direction: column;
        height: 500px;
    }

    .introduction {
        font-size: 20px;
        height: 50%;
        width: 98%;
        display: flex;
        align-items: center;
        padding: 0px 8px;
    }

    .introduction-image-container {
        width: 100%;
        height: 50%;
    }

    .introduction-image {
        width: 100%;
        height: 100%;
        margin: 0px;
    }

    h2 {
        width: 90%;
        font-size: 17.5px;
        margin-bottom: 10px;
    }

    h1 {
        width: 90%;
        font-size: 20px;
    }

    .main-container {
        margin-top: 40px;
    }

    .main-content {
        grid-template-columns: repeat(2, 1fr);
        width: 80%;
        column-gap: 15px;
        padding: 0px;
    }

    .card {
        height: 200px;
    }

    .card-bg {
        width: 90%;
    }

    .modal-container {
        width: 440px;
        padding: 10px 0px;
    }

    .modal-character-image {
        width: 190px;
        height: 190px;
    }

    .info-div {
        font-size: 23px;
    }
    
    footer {
        height: 220px;
    }

    .span-footer {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .sm-desktop {
        display: none;
    }
    
    .introduction {
        font-size: 16px;
    }
    
    .main-content {
        column-gap: 10px;
    }
    
    .modal-container {
        width: 95%;
    }
    
    .modal-character-information {
        padding: 15px 10px;
    }
    
    .info-div {
        font-size: 20px;
    }
    
    .sm-footer {
        display: flex;
    }
}