body {
    background-color: aliceblue;
    display: flex;
    margin: auto;

}

.outer {
    display: flex;
    width: 90%;
    min-width: 310px;
    max-width: 350px;
    height: 70%;
    min-height: 600px;
    max-height: 920px;
    background-color: rgb(0, 1, 2);
    border-radius: 45px;
    box-shadow: 2px 2px 6px 2px red;
    margin: auto;
    margin-top: 30px;


}

.inner {
    padding: 2.2%;
    border-radius: 45px;

}


.head {
    text-align: center;
    position: relative;
    bottom: 25px;
    font-family: "Revalia", sans-serif;
    color: white;
    font-style: italic;
}

.sl {
    color: rgba(255, 0, 0, 0.854);
}

.desc {
    margin-left: 16px;
    position: relative;
    bottom: 25px;
    color: rgb(194, 220, 242);
    font-family: "Nanum Myeongjo", serif;
    font-size: 15px;
    font-style: italic;
    font-weight: bold;
}

.li {
    margin-top: 5px;
    position: relative;
    color: rgb(194, 220, 242);
    bottom: 20px;
    line-height: 20px;
    font-style: italic;
    font-family: "Nanum Myeongjo", serif;
    font-size: 15px;
    font-weight: bold;
}

.button {
    position: relative;
    bottom: 5px;
    margin: auto;
    background-color: azure;
    width: 120px;
    height: 40px;
    border-radius: 25px;
    justify-content: center;
    align-items: center;
    display: flex;
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: italic;
}

a {
    text-decoration: none;
}

.button:hover {
    background-color: rgba(255, 0, 0, 0.785);
}

a:visited {
    color: black;
}

a:link {
    color: black;
}

/* portrait phones */
@media only screen and (orientation: portrait) and (max-width:900px) {
    body {
        display: flex;
        flex-direction: column;

    }

    .outer {
        margin: auto;
        margin-top: 20px;
        margin-bottom: 10px;


    }
}

@media only screen and (orientation: landscape) and (max-width:765px) {
    .outer {
        margin: 10px;
        margin-bottom: 10px;
        min-width: 100px;
        max-width: 250px;
        max-height: 1130px;

    }

    body {
        margin: auto;
        gap: 10px;
    }

}

@media only screen and (orientation: landscape) and (min-width:768px) and (max-width:1000px) {
    .outer {
        margin: 10px;
        margin-bottom: 10px;
        min-width: 100px;
        max-width: 300px;
        max-height: 1130px;

    }

    body {
        margin: auto;
        gap: 10px;
    }

}

/* small laptops */
@media only screen and (min-width:1024px) and (max-width:1200px) {
    .outer {
        margin: auto;
        margin-top: 20px;
        margin-bottom: 20px;
        max-width: 250px;
        margin-left: 7.5px;
    }

    body {
        gap: 20px;
    }

}

/* large laptops and 4k screens */
@media only screen and (min-width:1400px) and (max-width:2500px) {
    .outer {
        margin-bottom: 30px;
        min-width: 100px;
        max-width: 350px;
        max-height: 690px;
        margin-top: 30px;
    }
    body{
        gap: 1px;
    }


}

@media only screen and (min-width:2500px) {
    .outer {
        margin-bottom: 30px;
        min-width: 100px;
        max-width: 350px;
        max-height: 690px;
        margin-top: 30px;
    }
    body{
        gap: 1px;
    }


}