@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@font-face{
    font-family: 'test';
    font-weight: 500;
    src: url('../font/test.otf') format('opentype');
}

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    overflow: hidden;
}

.yes {
    font-family: 'test', sans-serif;
    font-size: 300%;
    letter-spacing: -0.2em;
    text-align: center;
    color: #5a5a5acb;
    text-decoration: none;
}
/*#5f0317*/

.yes:hover {
    color: rgb(1, 181, 236);
}

.container {
    display: grid;
    grid-template-rows: 60px 25px 95% 70% 300px;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: 
        "header header header"
        "menubar menubar menubar"
        "content content content"
        "lorem lorem lorem"
        "footer footer footer";
    height: 100vh;
    overflow-y: auto;
}

header {
    grid-area: header;
    background-color: #3F4E4F;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menubar {
    grid-area: menubar;
    background-color: #a27b5c;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.menubar a:hover {
    background-color: #694f3a;
}

.menubar a {
    color: #DCD7C9;
    text-decoration: none;
    flex: 1;
    text-align: center;
    transition: background-color 0.2s ease-in-out !important;
}

.content {
    grid-area: content;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.aside {
    grid-column: 3 / 4;
    grid-row: 4 / 5;
    display: flex;
    background-color: rgb(61, 61, 61);
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.whythepain {
    width: auto;
    height: 100%;
}

.lorem {
    grid-column: 1 / 3;
    grid-row: 4 / 5;
    /*grid-area: lorem;*/
    background-color: #e8cc9c;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-y: hidden;
    padding: 100px;
}

.pain {
    text-decoration: none;
    color: #000;
}

footer {
    grid-area: footer;
    background-color: #b0ac94;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title {
    font-family: 'test', sans-serif;
    padding: 3%;
    color: #054286;
}

.content img {
    max-width: 100%;
    height: auto;
    width: 100%;
    height: 100%;
}

.fan {
    position: relative;
    width: 250px;
    height: 400px; 
    transition: 0.3s ease;
}

.fan:hover {
    transform: scale(1.15) !important;
}

@media (max-width: 1100px) {
    body {
        margin: 0;
        font-family: "Montserrat", sans-serif;
        overflow: auto;
        background-color: #3F4E4F;
    }
    
    .container {
        display: grid;
        grid-template-rows: 60px 25px 95% 950px 50% 150px;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-areas: 
            "header header header"
            "menubar menubar menubar"
            "content content content"
            "lorem lorem lorem"
            "so so so"
            "footer footer footer";
        height: 100vh;
        overflow-y: auto;
    }
    
    header {
        grid-area: header;
        background-color: #3F4E4F;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .menubar {
        grid-area: menubar;
        background-color: #A27B5C;
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    
    .menubar a:hover {
        background-color: #694f3a;
    }
    
    .menubar a {
        color: #DCD7C9;
        text-decoration: none;
        flex: 1em;
        text-align: center;
        transition: background-color 0.2s ease-in-out !important;
    }
    
    .content {
        grid-area: content;
        background-color: #086434;
        display: flex;
        /*justify-content: center;*/
        align-items: center;
        overflow-y: auto;
    }
    
    .aside {
        grid-area: so;
        display: flex;
        background-color: rgb(61, 61, 61);
        justify-content: center;
        align-items: center;
        z-index: 1;
        margin-left: 70px;
        margin-right: 70px;
    }
    
    .lorem {
        grid-column: 1 / 4;
        grid-row: 4 / 5;
        /*grid-area: lorem;*/
        background-color: #e8cc9c;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        padding: 80px;
    }
    
    footer {
        grid-column: 1 / 4;
        grid-row: 6 / 7;
        background-color: lightgrey;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .content img {
        max-width: 100%;
        height: auto;
        width: 100%;
        height: 100%;
    }
    
    .fan {
        position: relative;
        width: 250px;
        height: 400px; 
        transition: 0.3s ease;
    }
    
    .fan:hover {
        transform: scale(1.15) !important;
    }
    
}
