button,
hr,
input {
    overflow: visible
}

html {
    line-height: 1.15;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

article,
aside,
figcaption,
figure,
footer,
header,
main,
nav,
section {
    display: block
}

figure {
    margin: 1em 40px
}

hr {
    box-sizing: content-box;
    height: 0
}

pre {
    font-family: monospace, monospace;
    font-size: 1em
}

a {
    background-color: transparent;
    -webkit-text-decoration-skip: objects
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted
}

b,
strong {
    font-weight: bolder
}

small {
    font-size: 80%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sub {
    bottom: -.25em
}

sup {
    top: -.5em
}

audio,
canvas,
video {
    display: inline-block
}

audio:not([controls]) {
    display: none;
    height: 0
}

img {
    border-style: none
}

svg:not(:root) {
    overflow: hidden
}

button,
input,
optgroup,
select,
textarea {
    font-family: sans-serif;
    font-size: 100%;
    line-height: 1.15;
    margin: 0
}

button,
select {
    text-transform: none
}

[type=reset],
[type=submit],
button,
html [type=button] {
    -webkit-appearance: button
}

[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner,
button::-moz-focus-inner {
    border-style: none;
    padding: 0
}

[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring,
button:-moz-focusring {
    outline: ButtonText dotted 1px
}

fieldset {
    padding: .35em .75em .625em
}

textarea {
    overflow: auto
}

[type=checkbox],
[type=radio] {
    box-sizing: border-box;
    padding: 0
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
    height: auto
}

[hidden] {
    display: none
}

body {
    position: relative;
    background-image: url("../assets/bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    font-family: "Rubik";
    min-height: 100vh;
    height: 100%;
    width: 100%
}

section {
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    height: 100vh
}

section header {
    width: 100%;
    padding: 0 2rem
}

h1 {
    font-weight: 800;
    line-height: 1;
    font-size: 3rem;
    text-align: center;
    margin: 0 0 2rem;
    text-transform: uppercase;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.5);
    color: #2d61bb
}

h2 {
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 2rem
}

p {
    margin: 0 0 2rem;
    color: #333;
    line-height: 1.35
}

.creditos {
    background-color: #2d61bb;
    font-size: 0.9rem;
    color: #eee;
    border-radius: 15px 15px 0 0;
    bottom: 0;
    right: 25px;
    position: absolute;
    padding: 0px 12px;
    border: none;
    z-index: 3;
    height: 35px;
    display: flex;
    align-items: center;
    transition: box-shadow 0.5s;
    text-decoration: none
}

.creditos:hover {
    box-shadow: 0 -3px 6px rgba(0, 0, 0, 0.4), 0 3px 6px rgba(0, 0, 0, 0.6)
}

.oed {
    width: 80%;
    height: 80vh;
    border-radius: 30px;
    background-color: white;
    box-shadow: 0 2px 2px 0px #999;
    overflow: auto
}

@media screen and (max-width: 420px) {
    .oed {
        width: 95%;
        height: 90vh
    }
}

body {
    display: flex;
    align-items: center;
    justify-content: center
}

@media screen and (max-width: 420px) {
    body {
        font-size: 14px
    }
}

.docs {
    width: auto;
    text-align: center;
    min-width: 35%
}

.btn-docs {
    background: #5961ac;
    border-bottom: 2px solid #484e6e;
    border-top: none;
    height: 45px;
    line-height: 47px;
    padding: 0px 5%;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    margin: 3%;
    display: inline-block;
    text-transform: uppercase
}

.btn-docs:hover {
    background: #333c73;
    border-bottom: 2px solid white
}

.modal-window {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.9);
    font-size: 0.75rem;
    overflow: hidden;
    border-radius: 10px;
    overflow-x: hidden;
    overflow-y: auto
}

.modal-window:target {
    visibility: visible;
    opacity: 1;
    pointer-events: auto
}

.modal-window .modal-content {
    border-radius: 10px;
    border: 1px solid #dddddd;
    max-width: 600px;
    width: 80%;
    padding: 15px;
    background: #ffffff;
    position: relative
}

.modal-window .modal-content>* {
    margin: 0 0 0.7rem
}

.modal-window .modal-close {
    color: #777;
    font-size: 1.25rem;
    right: 10px;
    top: 10px;
    width: auto;
    line-height: 1;
    text-decoration: none
}

.modal-window .modal-close:hover {
    color: #333
}

.modal-window hr {
    height: 1px;
    border: none;
    background-color: #666;
    margin: 15px 0
}

.modal-window .dir {
    font-size: 0.6rem;
    text-align: center;
    margin: 0 0 2px
}

.modal-close {
    color: #aaa;
    line-height: 50px;
    font-size: 80%;
    position: absolute;
    right: 0;
    text-align: center;
    top: 0;
    width: 70px;
    text-decoration: none
}

.modal-close:hover {
    color: black
}