@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
    --c-text: rgb(0, 0, 0);
    --c-background: rgb(255, 255, 255);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--c-background);
}

h1 {
    font-size: 2.5rem;
    color: var(--text);
    margin: 2rem 1.5rem 1rem 1.5rem;
}

h2 {
    font-size: 2rem;
    color: var(--text);
}

p {
    font-size: 1.2rem;
    color: var(--text);
}

a {
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--text);
}

pre {
    margin: 2rem 1.5rem 1rem 1.5rem;
    font-size: 1.2rem;
    color: var(--text);

    max-width: 90%; 
    height: 80px; 
    padding: 5px; 
    white-space: pre-wrap;
    background: var(--c-background);
}

section {
    background-color: var(--c-background);
    position: absolute;
    top: 10rem;
    height: 100%;
    width: 100%;
    border-radius: 1.5rem 1.5rem 0 0;
}

img {
    width: 100%;
    height: 14rem;
    object-fit: cover;
    display: flex;
    justify-content: center;
    background-color: rgb(173, 173, 173);
}

@media (min-width: 1200px) {
    .info-section {
        display: flex;
        justify-content: center;
    }

    section {
        top: 5rem;
        width: 60%;
        border-radius: 10px 10px 0 0;
    }

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: flex;
        justify-content: center;
    }

    pre {
        margin: 0;
        font-size: 1.2rem;
        color: var(--text);
    
        max-width: 100%; 
        height: auto; 
        padding: 2rem 1.5rem 1rem 1.5rem;
        white-space: pre-wrap;
        background: var(--c-background);
        border-radius: 0 0 10px 10px;

    }
}