@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Oswald:wght@200..700&display=swap');

*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

body
{
    background-color: #3C40C6;
    background-size: cover;
}

.main-container
{
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.container
{
    height: 100%;
    width: 1100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.top
{
    width: 90%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.top-text
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 55px;
}

.left h1
{
    text-transform: uppercase;
    font-family: "Barlow", sans-serif;
    color: #FFFFFF;
    font-weight: 800;
    font-style: normal;
    font-size:1.4em;
    letter-spacing: 2.5px;
}

.right
{
    display: flex;
    font-family: "Barlow", sans-serif;
    gap: 50px;
    font-size: 17px ;
    text-transform: capitalize;
}

.right span
{
    text-transform: uppercase;
    padding: 2px 5px;
    font-size: 14px;
    background-color: #FF0000;
    margin-left: 8px;
    border-radius: 5px;
    text-decoration: none;
}


.right > a
{
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 2.0;
    padding-bottom: 2px;
}

.right > a:hover
{
    border-bottom: 2px solid #FFFFFF;
}

.box
{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.card-box
{
    height: 450px;
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-evenly;
    text-decoration: none;
}


.card
{
    max-width: 100%;
    height: 200px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    align-items: center;
    background-color: #FFFFFF;
    cursor: pointer;
    text-decoration: none;
}

.card img
{
    height: 150px;
    width: 95%;
    border-radius: 5px;
}

.card-text
{
    display: flex;
    flex-direction: row;
    position: relative;
    width: 90%;
}

.card-text h3
{
    font-family: "Barlow", sans-serif;
    text-transform: capitalize;
    color: black;
    font-weight: 500;
}

#right
{
    position: absolute;
    right: 10px;
    font-weight: bolder;
    text-transform: uppercase;
    display: block;
}


@media  screen and (max-width: 824px) {

    .container
    {
        display: flex;
        justify-content: space-around;
        align-items: center;
        height: 100%;
        overflow-y: scroll;
    }

    .top-text
    {
        justify-content: center;
        flex-direction: column;
    }
    
    .right
    {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
    }

    .card-box
    {
        gap: 10px;
    }


}


@media screen and (max-width:968px){
    .box
    {
        flex-direction: column;
        height: 100%;
        gap: 10px;
    }

        .top
    {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .top-text
    {
        justify-content: space-evenly;
        width: 80% ;
    }
    
    .card-box
    {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        width: 90%;
    }
    
}

@media screen and (max-width:449px){
    .card-box
    {
        flex-direction: column;
        width: 100%;
    }

    #none
    {
        display: none;
    }
}

@media screen and (max-width:342px){
    .top
    {
        width: 80vh;
        padding-bottom: 10px;
        padding-top: 10px;
    }
}