* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Italiana', sans-serif;
    font-weight: 400;
    font-size: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
    background: rgb(50, 48, 68);
}

nav {
    animation: loading 500ms ease-in;
}

button {
    box-shadow: 4px 5px 0 0 rgb(50, 48, 68);
    padding: 0.1em;
}

button:active, input[type='submit']:active {
    position: relative;
    top: 5px;
}

section {
    margin: 1.5em 3em;
    background: #E0B4A4;
    box-shadow: 24px 24px 25px 6px rgba(0,0,0,0.7);
}

footer {
    height: 80px;
    clear: right;
}

textarea {
    resize: none;
}

input[type='submit'] {
    border-radius: 10px;
    padding: 0.3em;
    width: 100%;
    cursor: pointer;
    border: none;
    outline: none;
    margin-bottom: 0.5em;
    box-shadow: 4px 5px 0 0 rgb(50, 48, 68);
}

input[type='submit']:hover {
    background: rgb(248, 0, 77);
}

a, a:hover, a:focus, a:active {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    max-height: auto;
    padding: 2em;
}

.unordered > li:hover {
    background-color: #E4DCCF;
}

article iframe {
    height: 100%;
}

iframe {
    pointer-events: none;
}

article h3 {
    display: grid;
    place-items: center;
    text-align: center;
    padding: 1em;
    margin: 3em;
    border: 2px solid black;
    border-radius: 20px;
}

article > div {
    margin: 2em;
}

small, p {
    pointer-events: none;
}

.flex {
    display: flex;
}

#about, #skills, #project, #contact {
    height: 10vh;
    text-align: center;
    font-size: 2em;
    padding: 2em 0;
    color: white;
}

#project-section, #about-section, #contact-section {
    border: 4px solid rgb(91, 82, 222);
}

.project iframe {
    width: 200px;
    border-radius: 50%;
    background: black;
}

.unordered > li {
    padding: 0.5em;
    border-radius: 20%;
    border: 2px solid #E4DCCF;
}

.unordered > li {
    display: inline;
    margin: 1em;
    list-style-type: none;
    cursor: pointer;
}

.banner {
    justify-content: center;
    line-height: 5.5em;
    width: 100%;
}

.navbar, .logo {
    justify-content: space-between;
    align-items: center;
}

.navbar {
    background: rgb(96, 94, 94);
    position: fixed;
    width: 100%;
    height: 3em;
    border-bottom: 4px solid rgb(91, 82, 222);
    color: white;
}

.logo {
    border: 2px solid rgb(91, 82, 222);
    border-radius: 50%;
    margin-left: 2em;
    padding-right: 1em;
}

.logo img {
    height: 45px;
    padding: 0 1em;
}

.content, .world, .travel {
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 20em;
    padding-top: 1em;
    margin: 0 1em;
    line-height: 2em;
}

.travel {
    background: url('./img/aircraft.svg') no-repeat;
    background-size: contain;
    background-size: 100% 100%;
}

.world {
    background: url('./img/world.svg') no-repeat;
    background-size: contain;
    background-size: 100% 100%;
}

#skills-section, #contact-section {
    height: 100vh;
}

.container div {
    text-align: center;
    border: 2px solid rgb(91, 82, 222);
    height: 33.3333vh;
}

.double div {
    width: 100%;
}

.skills-content {
    padding-top: 4em;
    pointer-events: none;
}

.skills-content ul {
    padding-top: 1em;
    list-style-type: none;
}

.content-li {
    justify-content: space-evenly;
}

#html {
    background: url('./img/websites.svg') no-repeat;
    background-size: contain;
    background-size: 100% 100%;
}

#front {
    background: url('./img/pair.svg')  no-repeat;
    background-size: contain;
    background-size: 100% 100%;
}

#back {
    background: url('./img/server.svg') no-repeat;
    background-size: contain;
    background-size: 100% 100%;
}

.projects {
    justify-content: space-evenly;
    align-items: center;
}

.project {
    padding-bottom: 1em;
}

.project h3 {
    text-align: center;
    padding: 1em 0;
}

.project:hover > .overlay {
    background-color: #000;
    opacity: 0.3;
    transition: all 1s;
    border-radius: 50%;
    cursor: pointer;
}

.form-container {
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    overflow: auto;
    padding-top: 4em;
}

.form-box {
    padding: 4em;
    justify-content: center;
    align-items: center;
    background: #E4DCCF;
}

.hidden {
    display: none;
}

.form {
    margin-bottom: 1.5em;
}

.form input, .form textarea {
    width: 100%;
    padding: 0.6em;
}

.footer {
    align-items: center;
    justify-content: space-evenly;
    height: 100%;
    padding: 1em;
    background: rgb(96, 94, 94);
    color: white;
}

.footer-unordered > li{
    display: inline;
    margin-left: 2em;
}

.flex-container {
    border: 2px solid rgb(91, 82, 222);
    padding-bottom: 4em;
}

#project-stat, #video, #other-projects {
    width: 50%;
    background: #E4DCCF;
}

#project-stat article {
    height: auto;
    display: grid;
    place-items: center;
}

#project-stat {
    margin-top: 7em;
    height: 100vh;
    height: 100%;
}

#tech {
    display: flex;
    margin: 1em auto;
    list-style: none;
}

#tech li {
    pointer-events: none;
    padding: 0 0.2em;
}

.project-dets {
    display: grid;
    place-items: center;
    overflow: hidden;
    text-align: center;
}

.project-dets p {
    padding: 2em;
}

.btns {
    display: inline-block;
}

.other-project {
    border: 2px solid black;
    max-width: 100%;
}

.other-project img {
    width: 20em;
    height: 10em;
}

.live {
    width: 100%;
    padding: 1em 0 0 2em;
}

.live p {
    padding-bottom: 2em;
}

@media only screen and (max-width:1280px){
    #about-section > div {
        flex-direction: column;
    }
    .content {
        margin: auto;
    }

    #other-projects {
        display: none;
    }

    #project-stat {
        width: 100%;
    }

    .content button {
        margin-top: 2em;
    }
}

@media only screen and (max-width:800px){
    .contact {
        display: none;
    }

    .flex-container {
        margin: 0;
    }

    #contact-section {
        background: #E4DCCF;
    }

    .form-box {
        height: 100%;
    }

    .content-li {
        flex-direction: column;
    }

}

@media only screen and (max-width:500px) {
    .flex-container {
        background: #E4DCCF;
    }

    section {
        box-shadow: 0 0 0 0;
    }
}

@media only screen and (max-width:900px){
    .unordered {
        display: none;
    }

    .navbar {
        justify-content: center;
    }

    .projects {
        flex-direction: column;
    }
}

@media only screen and (max-height:800px){
    .skills-content {
       overflow: hidden;
       padding-top: 3em;
    }

    .skills-content p, .skills-content ul > li {
        font-size: 20px;
    }

}

@media only screen and (max-height:600px){
    .skills-content {
        overflow: hidden;
        padding: 2em 0;
    }
}

@media only screen and (max-height:400px){
    .skills-content {
       overflow: hidden;
       padding: 1em 0;

    }

    .skills-content p, .skills-content ul > li {
        font-size: 8px;
    }
}

@keyframes loading {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0);
    }
}
