@import url('https://fonts.googleapis.com/css2?family=Marhey:wght@600&family=Rubik+Moonrocks&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Marhey:wght@600&family=Nunito:wght@300&family=Rubik+Moonrocks&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mr+Dafoe&display=swap');

body{
    font-family: 'Nunito', sans-serif;
    margin: 0px;
}

header{
    background-color: rgb(90, 162, 207);
    padding: 40px 10%;
}

header h1{
    font-family: 'Rubik Moonrocks', sans-serif;
    font-weight: 400;
    font-size: 72px;
    color: white;
    margin: 20px;
}

nav{
    display: flex;
    flex-direction: column;
}

nav a{
    background-color: rgb(30, 113, 165);
    color: white;
    text-decoration: none;
    padding: 10px 30px;
    border-radius: 5px;
    justify-content: center;
    box-shadow: 0px 0px 5px 0px white;
    margin: 5px;
    transition: 2s;
}

img{
    width: 100%;
    max-width: max-content;
    box-shadow: 0px 0px 5px 0px white;
    border-radius: 5px;
}

header img {
    margin-top: 30px;
}

@media (min-width: 850px) {
    nav {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    header h1 {
        text-align: center;
    }

    nav a:hover {
       background-color: white;
       color: black; 
    }
}

.TyKokso {
    display: flex;
    flex-direction: column;
    padding: 20px 10%;
}

.TyDebile {
    display: flex;
    flex-direction: column;
    padding: 20px 0%;
    background-color: rgb(90, 162, 207);
    color: white;
    margin: 30px 10%;
}

article {
    padding: 10px 50px;
}

article h1{
    font-family: 'Mr Dafoe', cursive;
    text-align: center;
    font-size: 2em;
    font-weight: normal;
}
article h2{
    text-align: center;
    font-size: 1.2em;
    font-style: italic;
}

article p {
    text-align: justify;
}


    @media (min-width: 1000px) {
    .TyDebile{
        flex-direction: row;
    }

    .TyKokso{
        flex-direction: row;
    }

    article{
        padding: 10px 20px;
        flex: 1;
    }

    header {
        padding: 20px 20%;
    }
}