*{
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body{
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

div, ul, nav, li, header, footer, label, a, body, h1, h2, h3{
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ----------------------------------------- */

main{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;
    container-name: main;
    container-type: inline-size;
    padding: 10px 0 40px 0;
    width: 100%;
}

h1{
    padding: 20px 5px 0 5px;
    font-size: 1.9rem;
    color: #312783;
    text-align: center;
}

h2{
    text-align: center;
    text-wrap: pretty;
    padding: 0 5px;
    font-size: 1.5rem;
    color: #312783;
}

h3{
    text-align: center;
    text-wrap: pretty;
    padding: 0 5px;
    font-size: 1.3rem;
    color: #808080;
}

a{
    transition: transform .3s ease, color .6s ease;
    color: #606060;
    font-size: 1.5rem;
}

a:hover{
    cursor: pointer;
    color: #53C3BD;
    transform: scale(1.05);
}

img{
    width: 100%;
    max-width: 500px;
}



@container main (min-width:56.25rem){

    main{
        gap: 15px;
    }

    div{
        flex-direction: row;
        gap: 10px;
    }

    img{
        flex: 1;
    }
}