* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 40rem;
    font-family: 'Plus Jakarta Sans';/**font-size: 22px;**/
    background-image: url("../../images/quarter_circle_blue2.svg");
}


/******* Elements at the top (logo, navigation bar) ******/
.topContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logo {
    margin-top: 1rem;
    margin-left: 1rem;
}

.navBarLink {
    color: #F6F5F5;
    text-decoration: none;
    font-size: 1.5rem;
    margin-right: 2rem;
}

.navBarLink:hover {
    transform: translateY(-2px);
    text-decoration: underline;
}

/** Elements in the middle of the page: text, input and button **/
.midContainer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    justify-content: center;

    display: flex;
    align-items: center;
    flex-direction: column;

    gap: 20px;
}

.inputAndButton {
    display: flex;
    align-items: stretch;
}

.textEligible {
    color: #494949;
}

#inputAddr {
    font-size: 1rem;
    width: 400px;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1rem;

    border: 1px solid #1F1F1F;
    border-right-width: 0;
    border-bottom-left-radius: 1rem;;
    border-top-left-radius:  1rem;
    
}

#buttonEligible {
    background-color: #0081FF;
    font-size: 1rem;
    color: white;
    width: 175px;
    border: 2px solid black;
    border-bottom-right-radius: 1rem;
    border-top-right-radius: 1rem;
    cursor: pointer;
}

#msgWrongAddr {
    color: red;
    font-size: 1.5rem;
    display: none;
}

#moreInfoProtocol {
    color: #5CADFF;
    font-size: 1rem;
}


/** Mobile design **/
@media screen and (max-width: 700px) {
    body {
        background-size: 20rem;
    }

    #logo img{
        width: 76px;
        height: auto;
    }

    .navBarLink {
        margin-right: 1rem;
        font-size: 0.8rem;
    }

    .textEligible {
        font-size: 1.2rem;
    }

    #inputAddr {
        width: 200px;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        padding-left: 1rem;

        border-bottom-left-radius: 0.5rem;;
        border-top-left-radius: 0.5rem;
    }
}