@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    color: #011828;
}

.header-container {
    height: 100vh;
    width: 100vw;
    background-color: #467492;
    background-image: url('./img/back.png');
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
    padding: 0 112px;
    position: relative;
}

h1 {
    font-size: 50px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

h2 {
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.social-media {
    margin-top: 1rem;
    display: flex;
}

.social-media a {
    font-size: 20px;
    text-decoration: none;
    color: #011828;
    padding: 1rem 4rem;
    border: 1px solid #011828;
    min-width: 4rem;
    display: felx;
    align-items: center;
    justify-content: center;
    transition: .5s ease-in-out;
}
a:hover {
    background-color: #fff;
 }

/* MENU HAMBURGUER */

.checkbox-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkbox {
    height: 100px;
    width: 100px;
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    transition: 400ms ease-in-out 0s; 
}

.checkbox .trace {
    width: 50px;
    height: 2px;
    background-color: #011828;
    position: absolute;
    border-radius: 4px;
    transition: 0.5s ease-in-out;
}

.checkbox .trace:nth-child(1) {
    top: 26px;
    transform: rotate(0);
}

.checkbox .trace:nth-child(2) {
    top: 46px;
    transform: rotate(0);
}

.checkbox .trace:nth-child(3) {
    top: 66px;
    transform: rotate(0);
}

#toggle {
    display: none;
}

/* MENU */

.menu {
    position: absolute;
    top: 28px;
    right: 30px;
    background-color: transparent;
    height: 4px;
    width: 10px;
    border-radius: 50%;
    box-shadow: 0px 0px 0px 0px #FFFFFF;
    z-index: -1;
    transition: 400ms ease-in-out 0s;
}

.menu-items {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition: 400ms ease-in-out 0s;
}

strong {
    font-size: 1.2em;
    font-weight: bold;
}

.menu-items ul {
    list-style-type: none;
    text-align: center;
    justify-content: center;
}

.menu-items ul li a {
    margin: 10px 0;
    color: #011828;
    text-decoration: none;
    font-style: italic;
    /* text-transform: uppercase; */
    letter-spacing: 4px;
    font-size: 20px;
}

/* ANIMAÇÃO DO MENU */

#toggle:checked + .checkbox .trace:nth-child(1) {
    transform: rotate(45deg);
    top: 47px;
}

#toggle:checked + .checkbox .trace:nth-child(2) {
    transform: translate(-100px);
    width: 30px;
    visibility: hidden;
    opacity: 0;
}

#toggle:checked + .checkbox .trace:nth-child(3) {
    transform: rotate(-45deg);
    top: 48px;
}

#toggle:checked + .checkbox {
    background-color: #fff;
}

#toggle:checked ~ .menu {
    box-shadow: 0px 0px 0px 100vmax #fff;
    z-index: 1;
 }

#toggle:checked ~ .menu-items {
    visibility: visible;
    opacity: 1;
}

/* CARDS */

.container {
    height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    margin: 3rem 0;
}

.card-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 90%;
}

.mofcandy {
    background-image: url('./img/mofcandy.png');
}

.snake {
    background-image: url('./img/snake.png');
}

.csstraning {
    background-image: url('./img/csstraning.png');
}

.chatapp {
    background-image: url('./img/p1.png');
}

.dashspring {
    background-image: url('./img/dash.png');
}

.card {
    width: 300px;
    height: 300px;
    border-radius: 100%;
    margin: 3rem 0 0 0;
    display: flex;
    align-items: center;
    justify-content:center;
    background-color: #467492;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: grayscale(0.5);
    color: #011828;
    cursor: pointer;
    transition: 0.5s ease-in-out;
}



.card-text {
    width: 40%;
    letter-spacing: 1px;
    color: rgb(109, 109, 109)
}

.card-wrapper {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.card-wrapper::before {
    content: '';
    position: absolute;
    height: 100px;
    width: 100px;
    border-radius: 50%;
    display: block;
    border: 1px solid #fff;
    opacity: 0;
    transition: 0.5s ease-in-out;
}

.card-wrapper a {
    text-decoration: none;
    font-size: 40px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0;
    transition: 0.5s ease-in-out;
}

.card-wrapper p {
    font-size: 0;
    visibility: visible;
    opacity: 0;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.5s ease-in-out;
}

.card:hover {
    filter: unset;
}

.card:hover > .card-wrapper::before {
    height: 250px;
    width: 250px;
    opacity: 1;
}

.card:hover > .card-wrapper p {
    opacity: 1;
    visibility: visible;
    font-size: 14px;
}

/* FOOTER */

.footer {
    width: 100%;
    height: 100px;
    background-color:#467492;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #011828;
}

a {
    text-decoration: none;
}

.btn1:hover {
    box-shadow: 0 0.5em 0.5em -0.4em #5edaf0;
    transform: translateY(-0.25em);
    cursor: pointer;
    
}

.btn2:hover {
    box-shadow: 0 0.5em 0.5em -0.4em #5edaf0;
    transform: translateY(-0.25em);
    cursor: pointer;
    
}

.text-about {    
    padding: 0 5% 5% 5%;
    border-bottom: 1px solid #d4e3f0;
    text-align: justify;
}

.title-about {
    border-top: 1px solid #d4e3f0;
    text-align: center;
    padding-top: 2%;
}