@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;700&display=swap");

body {
    font-family: 'Poppins', sans-serif;
    background-color: black;
    color: #EEEEEE;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

section {
    text-align: center;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

nav .logo h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #EEEEEE;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;

}

nav .logo h4:hover {
    color: #FFF;
}

nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    font-size: 1rem;
    font-weight: 400;
    color: #EEEEEE;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

nav ul li a:hover {
    display: block;
    transform: scale(1.2);
    color: #00ADB5;
}

nav ul li a:focus {
    outline: none;
    background-color: #00ADB5;
    color: #222831;
}

nav ul li a.active {
    background-color: #00ADB5;
    color: #222831;
}

section,
header,
footer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 400px;
    padding-top: 70px;
}

footer {
    height: 600px;

}

#first-three>:nth-child(2) {
    min-height: 0;
    height: 375px;
    padding-top: 20px;
}

#first-three>:nth-child(1) {
    min-height: 0;
    height: 400px;
    padding-top: 50px;
}

#first-three>:nth-child(3) {
    min-height: 0;
    height: 375px;
    padding-top: 20px;
}

.dark {
    background-color: #393E46;
}

.black {
    background-color: #222831;
}

.dblue {
    background-color: #00ADB5;
}

.curvegr {
    position: absolute;
    height: 250px;
    width: 100%;
    bottom: 0;
    text-align: center;
}

.curvegr::before {
    content: '';
    display: block;
    position: absolute;
    border-radius: 100% 50%;
    width: 55%;
    height: 100%;
    transform: translate(85%, 60%);
    background-color: #393E46;
}

.curvegr::after {
    content: '';
    display: block;
    position: absolute;
    border-radius: 100% 50%;
    width: 55%;
    height: 100%;
    background-color: #222831;
    transform: translate(-4%, 40%);
    z-index: -1;
}

.hidden {
    opacity: 0;
    filter: blur(5px);
    transform: translateX(-100%);
    transition: all 1s;
}

@media(prefers-reduced-motion) {
    .hidden {
        transition: none;
    }
}

.show {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

.bubble::after {
    content: '';
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
    position: absolute;
    bottom: 0;
    height: 85%;
    width: 100%;
    background-color: #222831;
    z-index: -1;
}

header #text {
    position: relative;
    color: #00ADB5;
}

#cursor {
    border-right: 2px solid #EEE;
}

.blink {
    animation: blink 0.7s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.typewriter {
    font-size: 24px;
    white-space: nowrap;
    overflow: hidden;
}

.content {
    padding-top: 100px;
    padding-bottom: 100px;
}

.wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.wave .shape-fill {
    fill: #222831;
}

.wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
}

.wave-bottom .shape-fill {
    fill: #00ADB5;
}

#projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    padding: 50px 0;
    height: fit-content;
}

#projects-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: 100%;
}

.project {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    padding: 50px 0;
    text-decoration: none;
    color: #EEEEEE;
    margin: 5px;
}

.project:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.3);
}

.project .project-img {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    margin-bottom: 20px;
}

.project .project-img img {
    width: 50%;
    /* height: 520px; */

    object-fit: cover;
    border-radius: 10px;
}

.project .project-text {
    width: 40%;
}

.project .project-text .extras {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.project .project-text div a img {
    width: 100%;
    object-fit: cover;
}

.project .project-text div a {
    display: inline-block;
    width: 15%;
    padding-right: 10px;
}

.project .project-text div .tag {
    display: inline-block;
    padding: 5px 10px;
    margin: 5px;
    border-radius: 5px;
    border: 2px solid #00ADB5;
    color: #EEEEEE;
    font-size: 0.8rem;
    text-decoration: none;

}

#posts {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    padding: 50px 0;
    height: fit-content;
}

#posts .column {
    display: flex;
    flex-direction: row;
    width: 80%;
    padding: 0 4px;
}

#posts .column .card {
    display: inline-block;
    width: 32%;
    margin: 1%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

#posts .column .card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.3);
}

#posts .column .card img {
    border-radius: 5px 5px 0 0;
    width: 100%;
}

#posts .column .card h1 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 10px;
}

#posts .column .card p {
    font-size: 1rem;
    font-weight: 400;
    margin: 10px;
}

#posts .column .card a {
    font-size: 1rem;
    font-weight: 400;
    margin: 10px;
    text-decoration: none;
    color: #00ADB5;
}

#poststitle {
    height: fit-content;
}

.buttons-main {
    display: flex;
    flex-direction: row;
    align-items: left;
    justify-content: space-evenly;
    width: 60%;
    padding: 20px 0;
}

.buttons-main .hire-me {
    background-color: #00ADB5;
    color: #222831;
    border: 2px solid #00ADB5;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.buttons-main .hire-me:hover {
    background-color: #222831;
    color: #00ADB5;
}

.buttons-main .contact-me {
    background-color: #222831;
    border: 2px solid #00ADB5;
    color: #00ADB5;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.buttons-main .contact-me:hover {
    background-color: #00ADB5;
    color: #222831;
}

.contact {
    width: 80%;
    border-radius: 5px;
    height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #222831;
    margin: 5px;
}

.contact .contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact .contact-form input,
.contact .contact-form textarea {
    width: 80%;
    padding: 10px;
    margin: 10px;
    border-radius: 5px;
    border: 2px solid #00ADB5;
    background-color: #222831;
    color: #EEEEEE;
    font-size: 1rem;
    font-weight: 400;
}

.contact .contact-form input:focus,
.contact .contact-form textarea:focus {
    outline: none;
    border: 2px solid #00ADB5;
}

.contact .contact-form input::placeholder,
.contact .contact-form textarea::placeholder {
    color: #EEEEEE;
    font-size: 1rem;
    font-weight: 400;
}

.contact .contact-form button[type="submit"] {
    width: 40%;
    padding: 10px;
    margin: 10px;
    border-radius: 5px;
    border: 2px solid #00ADB5;
    background-color: #00ADB5;
    color: #222831;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.contact .contact-form button[type="submit"]:hover {
    background-color: #222831;
    color: #00ADB5;
}

.contact .contact-form button[type="submit"]:focus {
    outline: none;
    border: 2px solid #00ADB5;
}

.contact .contact-form textarea {
    height: 200px;
}

.icons {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

}

.icona {
    width: 50px;
    height: 50px;
    margin: 10px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.blob-motion {
    position: absolute;
    top: -155px;
    align-items: center;
    transform: scale(0.7);
    z-index: -1;
}

.icona:hover {
    transform: scale(1.2);
}

.custom-shape-divider-bottom-1699387380 {
    position: absolute;
    top: -120px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1699387380 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.custom-shape-divider-bottom-1699387380 .shape-fill {
    fill: #222831;
}

@media (max-width: 768px) {
    .project .project-img {
        display: none;
    }
}