@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

body {
    font-family: Inter;
    background-color: #135B9C;
    padding: 0px;
    margin: 0px;
}

p {
    text-align: justify;
    font-weight: 500;
    font-size: 18px;
    color: #f2f0f9;
}

h1 {
    font-size: 32px;
    color: #FFFFFF;
}

h2 {
    font-size: 36px;
    font-weight: 900;
    color: #115087;
}

h3 {
    font-size: 24px;
    color: #FFFFFF;
}

h4 {
    font-size: 20px;
    color: #2466a0;
}

div.page-wrapper nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: solid 5px #A7D6EB;
    margin: 0px;
}

div.nav-logo-title a {
    position: relative;
    left: 10px;
    top: -10px;
    font-size: 26px;
    text-decoration: none;
    color: #A7D6EB;
    font-weight: bold;
    margin-bottom: 10px;
}

.nav-logo-title img {
    margin-left: 20px;
    content: url(https://imgtr.ee/images/2023/05/09/lkOLr.png);
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #135B9C;
    font-weight: bold;
}

nav ul li {
    float: left;
}

nav ul li a {
    font-size: 22px;
    display: block;
    border-bottom: 5px solid transparent;
    color: #A7D6EB;
    margin: 16px;
    text-decoration: none;
    transition: 0.2s ease-in;
}

nav ul li a:hover {
    font-size: 22px;
    display: block;
    border-bottom: 5px solid #FFFFFF;
    color: #8fa8be;
    margin: 16px;
    text-decoration: none;
}



h1 {
    color: #A7D6EB;
    font-size: 40px;
}

h3 {
    color: white;
    font-size: 25px;

}

abbr {
    font-weight: bold;
    color: white;
    text-decoration: underline;

}

#header {
    justify-content: space-between;
    display: flex;
    align-items: center;
}

.header-texts {
    margin-left: 50px;
    width: 500px;
    padding: 20px;
    width: fit-content;
}

.header-texts p {
    color: #A7D6EB;
}

.header-filler {
    width: 300px;
    height: 300px;
    padding-right: 100px;
    margin-right: 100px;
    background-image: url(https://imgtr.ee/images/2023/05/09/lkybD.png);
    background-size: 250px;
    background-repeat: no-repeat;
    background-position: center;
}

.content {
    margin-left: 2%;
}

.content-aside {
    background-color: #58aec8;
    padding-top: 30px;
    padding-right: 40px;
    padding-left: 50px;
    padding-bottom: 100px;
    border-radius: 50px 50px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.content-first {
    margin-bottom: 50px;
}

.content {
    width: 70%;
    padding-right: 30px;
}

aside {
    margin-right: 50px;
    width: 250px;
    border-left: solid 5px #135B9C;
    padding-left: 40px;
    padding-right: 50px;
}

aside ul:nth-child(2) {
    list-style-image: url(https://imgtr.ee/images/2023/05/09/lk0hM.png);
}

aside ul:nth-child(4) {
    list-style-image: url(https://imgtr.ee/images/2023/05/09/lk8H4.png);
}

aside h2 {
    color: #135B9C;
}

aside ul li {
    margin: 10px 0 10px 0;
}

aside ul a {
    border-radius: 2px;
    padding: 5px;
    background-color: transparent;
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    font-family: Inter;
    text-decoration: none;
    transition: 0.2s ease-in;
}

aside ul a:hover {
    font-size: 20px;
    border-radius: 5px;
    padding: 5px;
    background-color: #2466a0;
    font-weight: bold;
    color: #adbfcf;
    font-family: Inter;
    text-decoration: none;
}

.articles {

    position: relative;
    top: -50px;
    border-radius: 50px 50px 0 0;
    background-color: #7DC0D7;
    padding: 20px 20px 100px 20px;
}

.row-first {
    text-align: center;
    padding: 40px;
}

tr td {
    padding: 20px;
}

tr td h3 {
    font-size: 20px;
    color: #135B9C;
}

tr td a {
    padding: 5px;
    padding-left: 30px;
    padding-right: 30px;
    border: solid #135B9C;
    background-color: #135B9C;
    color: #A7D6EB;
    text-decoration: none;
    font-weight: bold;
    border-radius: 40px;
    transition: 0.2s ease-in;
}

tr td a:hover {
    padding: 5px;
    padding-left: 30px;
    padding-right: 30px;
    border: solid #bed6eb;
    background-color: #bfd8ee;
    color: #2892c4;
    text-decoration: none;
    font-weight: bold;
    border-radius: 40px;
}

.articles table .row-first .article:nth-child(1) img {
    content: url(https://imgtr.ee/images/2023/05/09/lkal1.png);
}

.articles table .row-first .article:nth-child(2) img {
    content: url(https://imgtr.ee/images/2023/05/09/lklLX.png);
    margin-bottom: 40px;
}

.articles table .row-first .article:nth-child(3) img {
    content: url(https://imgtr.ee/images/2023/05/09/lkvfV.png);
}

.articles table .row-second td img {
    padding-left: 100px;
    content: url(https://imgtr.ee/images/2023/05/09/lkwnl.png);
}

.articles table .row-second td {
    padding-top: 100px;
}

.article table .row-first td {
    border-radius: 20px;
    background-color: #457b94;
}

.creativity {
    position: relative;
    top: -100px;
    border-radius: 50px 50px 50px 50px;
    background-color: #b3e8f9;
    padding-bottom: 150px;
}

.mini-content {
    border-radius: 30px;
    padding: 25px;
    width: 60%;
    height: 30%;
    background-color: #92badb;
}

.mini-content h2 {
    color: #3194b5;
}

.mini-content p {
    color: #FFFFFF;
}

.mini-one img {
    position: relative;
    top: 210px;
    right: 300px;
    content: url(https://imgtr.ee/images/2023/05/09/lkrnI.png);
    border-radius: 20px;
    animation: animate 40s infinite linear;
    animation-fill-mode: backwards;

}

.mini-one {
    margin-left: 30%;
    animation: animate 50s infinite reverse linear;
    animation-fill-mode: backwards;
}

.mini-two img {
    position: relative;
    top: 220px;
    left: 900px;
    animation: animate 50s infinite;
    content: url(https://imgtr.ee/images/2023/05/09/lkrnI.png);
    border-radius: 20px;
    animation: animate 40s infinite reverse linear;
    animation-fill-mode: backwards;

}

.mini-two {
    animation: animate 30s infinite linear;
    width: 70%;
    margin-top: -150px;
    margin-left: 20%;
}

.mini-three img {
    animation: animate 40s infinite alternate linear;
    animation-fill-mode: backwards;
    position: relative;
    top: 210px;
    right: 300px;
    content: url(https://imgtr.ee/images/2023/05/09/lkrnI.png);
    border-radius: 20px;

}

.mini-three {
    animation: animate 50s infinite linear;
    animation-fill-mode: backwards;
    margin-top: -150px;
    margin-left: 30%;
}

.mini-four img {
    animation: animate 40s infinite alternate-reverse linear;
    animation-fill-mode: backwards;
    position: relative;
    top: 220px;
    left: 900px;
    content: url(https://imgtr.ee/images/2023/05/09/lkrnI.png);
    border-radius: 20px;

}

.mini-four {
    animation: animate 50s infinite reverse linear;
    animation-fill-mode: backwards;
    width: 70%;
    margin-top: -150px;
    margin-left: 20%;
}


footer {
    padding-top: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    flex-direction: row;
    background-color: #135B9C;
    color: #A7D6EB;
    padding: 20px;
    padding-bottom: 200px;
}

.footer-logo {
    margin-top: 100px;
}

.footer-logo h3 {
    font-size: 2rem;
    margin: 0;
}

.footer-form form {
    width: 110%;
    display: block;
    flex-direction: column;
}

.footer-form input[type="radio"] {
    margin: 0 5px 5px 5px;
}

.footer-form input[type="text"] {
    margin-top: 10px;
    padding: 10px;
    border-radius: 3px;
    border: none;
    width: 95%;
    margin-bottom: 10px;
}

.footer-form select {
    margin-top: 5px;
    padding: 10px;
    border-radius: 3px;
    border: none;
    width: 100%;
}

.footer-form button {
    margin-top: 20px;
    font-weight: 900;
    padding: 10px;
    background-color: #A7D6EB;
    color: #135B9C;
    border: none;
    border-radius: 2px;
    transition: 0.2s ease-in;
}

.footer-form button:hover {
    font-weight: 900;
    padding: 10px;
    background-color: rgb(9, 67, 95);
    color: #adbfcf;
    border: none;
    border-radius: 2px;
}

.footer-credit {
    margin-top: 100px;
    width: 30%;
}

.footer-credit h3 {
    margin: 0;
    margin-top: 20px;
    font-size: 1rem;
}


@keyframes animate {

    0% {
        transform: translate(0, 10px);
    }

    10% {
        transform: translate(5px, -10px);
    }

    20% {
        transform: translate(-10px, 5px);
    }

    40% {
        transform: translate(5px, -5px);
    }

    50% {
        transform: translate(0px 0px);
    }

    60% {

        transform: translate(0, 10px);
    }

    70% {

        transform: translate(5px, -10px);

    }

    80% {

        ransform: translate(-10px, 5px);
    }

    90% {
        transform: translate(5px, -5px);
    }

    100% {
        transform: translate(0px, 0px);
    }

}

@media screen and (max-width: 795px){

    body {
        max-width: 500px;
        width: 100%;
        font-family: Inter;
        background-color: #135B9C;
        padding: 0px;
        margin: 0px;
    }

    div.page-wrapper nav {
        max-width: 500px;
        width: 105%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px;
        border-bottom: solid 5px #A7D6EB;
        margin: 0px;
    } 

    nav ul li a {
        font-size: 22px;
        display: block;
        border-bottom: 5px solid transparent;
        color: #A7D6EB;
        margin: 16px;
        text-decoration: none;
        transition: 0.2s ease-in;
    }
    
    nav ul li a:hover {
        font-size: 22px;
        display: block;
        border-bottom: 5px solid #FFFFFF;
        color: #8fa8be;
        margin: 16px;
        text-decoration: none;
    }

    .header-texts {
        margin-left: 20px;
        width: 100%;
        padding: 20px;
    }

    .header-filler {
        width: 300px;
        height: 300px;
        padding-right: 20px;
        margin-right: 0px;
        margin-left: 20px;
        background-image: url(https://imgtr.ee/images/2023/05/09/lkLB7.png);
        background-size: 180px;
        background-repeat: no-repeat;
        background-position: center;
    }

    .content-aside {
        display: block;
        max-width: 500px;
        width: 100%;
        background-color: #58aec8;
        padding-top: 30px;
        padding-right: 20px;
        padding-left: 20px;
        padding-bottom: 100px;
        border-radius: 50px 50px 0 0;
        align-items: center;
        justify-content: space-between;
    }

    aside, .content-first, .content-second{
        display: block;
    }
    .content {
        display: block;
        width: 90%;
        padding-right: 0;
        margin-right: 0;
    }

    .article .row-first, .article .row-second, tr td{
        display: block;
    }

    .articles {
        max-width: 500px;
        width: 100%;
    }

    .article, .article-long{
        max-width: 500px;
        width: 85%;
    }

    .articles table .row-second td img {
        padding-left: 0;
        content: url(https://imgtr.ee/images/2023/05/09/lk6Zb.png);
    }

    .creativity {
        max-width: 500px;
        width: 100%;
        position: relative;
        top: -100px;
        padding-right: 20px;
        padding-left: 20px;
        border-radius: 50px 50px 50px 50px;
        background-color: #b3e8f9;
        padding-bottom: 150px;
    }
    
    .mini-content {
        width: 90%;
        border-radius: 30px;
        padding: 25px;
        width: 80%;
        height: 30%;
        background-color: #92badb;
    }

    .mini-one img {
        position: relative;
        top: 20px;
        right: -60px;
        content: url(https://imgtr.ee/images/2023/05/09/lkrnI.png);
        border-radius: 20px;
        animation: none;
        animation-fill-mode: backwards;
    
    }     

    .mini-one {
        width: 90%;
        margin-left: 5%;
        animation: none;
        animation-fill-mode: backwards;
    }

    .mini-two img {
        position: relative;
        top: 20px;
        left: 60px;
        content: url(https://imgtr.ee/images/2023/05/09/lkrnI.png);
        border-radius: 20px;
        animation: none;
        animation-fill-mode: backwards;
    
    }     

    .mini-two {
        width: 90%;
        margin-top: 0;
        margin-left: 5%;
        animation: none;
        animation-fill-mode: backwards;
    }

    .mini-three img {
        position: relative;
        top: 20px;
        right: -60px;
        content: url(https://imgtr.ee/images/2023/05/09/lkrnI.png);
        border-radius: 20px;
        animation: none;
        animation-fill-mode: backwards;
    
    }     

    .mini-three {
        width: 90%;
        margin-top: 0;
        margin-left: 5%;
        animation: none;
        animation-fill-mode: backwards;
    }

    .mini-four img {
        position: relative;
        top: 20px;
        left: 60px;
        content: url(https://imgtr.ee/images/2023/05/09/lkrnI.png);
        border-radius: 20px;
        animation: none;
        animation-fill-mode: backwards;
    
    }     

    .mini-four {
        width: 90%;
        margin-top: 0;
        margin-left: 5%;
        animation: none;
        animation-fill-mode: backwards;
    }
    .footer-form {
        width: 85%;
    }
    .footer-credit {
        margin-top: 100px;
        width: 100%;
    }
}


