html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body{
    font-family: 'Inter', sans-serif;
    background: #F3F5FC; /* Light blue/light-blue-100 */
}

header {
    max-width: 67.5rem;
    padding: 4.5rem 6rem;
}

img {
    display: block;
    max-width: 100%;
}

.container {
    display: flex;
    max-width: 67.5em;
    margin-inline: auto;
    padding-inline: 2.5rem;
    gap: 2rem;
    justify-content: center;
}

/* PART 1 - FORM INPUT */

.form-input {
    width: 100%;
    max-width: 42.5rem;
}

.txt-input {
    width: 100%;

    font-size: 2rem;
    color: #0A3871; /* Dark blue/dark-blue-300 */

    border-radius: 15px;
    background: none;
    resize: none;
    border: none;
    outline: none;
}

.infoWarning-box {
    margin-block: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: .75rem;
    color: #495057; /* Gray/gray-400 */
    opacity: 0.8;
}

.buttons-box {
    display: flex;
    gap: 1.5rem;
}

.btn-encrypt {
    color: #FFFFFF; /* White */
    background: #0A3871; /* Dark blue/dark-blue-300 */
    transition: 1s all;    
}

.btn-encrypt:hover {
    background: #0d4a95;
    transform: scale(1.09);
    color: #FFFFFF;
}

.btn-decrypt, .btn-copy {
    background: #D8DFE8; /* Light gray */
    color: #0A3871; /* Dark blue/dark-blue-300 */
    transition: 1s all;
}

.btn-decrypt:hover {
    background: #cbd9ea;
    transform: scale(1.09);
}

.btn-encrypt, .btn-decrypt {
    width: 100%;
    padding: 1.5rem;
    border: thin solid currentColor;
    border-radius: 1rem;
    cursor: pointer;
}

/* PART 2 - RECTANGLE OUTPUT */

.rectangle-output {
    width: 100%;
    padding: 2rem;
    display: grid;
    justify-items: center;
    text-align: center;
    border-radius: 1rem;
    max-width: 25rem;

    background: #FFFFFF; /* White */
    box-shadow: 0px 24px 32px -8px rgba(0, 0, 0, 0.08); /* shadow */
}

.info-title {
    font-weight: bold;
    font-size: 1.7rem;
}

.info-p {
    margin-top: 10px;
    font-size: 1.3rem;
}

/* Textarea - aoutput */
.txt-output {
    width: 100%;
    color: #495057; /* Gray/gray-400 */
    margin-bottom: 10px;
    max-height: 21rem;
    font-size: 2rem;

    border-radius: 15px;
    background: none;
    resize: none;
    border: none;
    outline: none;
}

/* Button copy */
.btn-copy {

    /* width: 336px; */
    width: 100%;
    height: 67px;
    padding: 0 32px;

    border: 1px solid #0A3871; /* Dark blue/dark-blue-300 */
    border-radius: 24px;

    /* text-align: center; */
    color: #0A3871; /* Dark blue/dark-blue-300 */
    cursor: pointer;
    transition: 1s all;
}

.btn-copy:hover {
    background: #eaedf2;
    transform: scale(1.09);
}

footer {
    margin-top: 5rem;
    margin-bottom: 2rem;
}

/* Copyright */
footer {
    width: 100%;
    font-size: .75rem;
    text-align: center;
}

.contact {
    margin-top: 15px;
}

.contact li {
    display: inline-block;
    margin-left: 10px;
}


.invisible {
    display: none;
}

/* RESPONSIVE DESIGN */

/* PC */
@media screen and (max-width: 1024px) {

    header {
        padding-left: 2rem;
    }
    
    .container {
        gap: 1rem;
    }

    .rectangle-output {
        max-width: 20rem;
        padding-top: 5rem;
    }

    .info-p {
        padding-top: 1rem;
    }

}
/* TABLE */
@media screen and (max-width: 770px) {
    .container {
        padding-inline: 2.5rem;
        flex-wrap: wrap;
    }

    .rectangle-output {
        margin-top: 4rem;
        max-width: 100%;
    }
}

/* PHONE */
@media screen and (max-width: 450px) {
    .info-title {
        font-weight: bold;
        font-size: 1rem;
    }
    
    .info-p {
        font-size: 0.7rem;
    }
}