@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

header {
    background-color: whitesmoke;
    width: 100%;
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 200px;
}

.logo {
    text-decoration: none;
    color: black;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.8em;
}

.navig a {
    text-decoration: none;
    color: darkgray;
    font-size: 1.1em;
    font-weight: 500;
    padding-left: 30px;
}

.navig a:hover {
    color: black;
    /* font-size: 1.125em;
    transition: all 0.1s; */
}

section {
    padding: 100px 200px;
}

.main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: radial-gradient(rgb(0, 195, 255), #cfecf8);
    /* background-image: radial-gradient(#00FFFF, #4B0082); */
}

.main h2 {
    color: black;
    font-size: 1.4em;
    font-weight: 500;
}

.main h2 span {
    color: #fff;
    font-size: 3em;
    font-weight: 600;
}

.main h3 {
    color: black;
    font-size: 2em;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.main-btn {
    color: black;
    text-decoration: none;
    background: whitesmoke;
    padding: 0.9375em 2.1875em;
    border-radius: 15px;
    letter-spacing: 1px;
    font-size: 1.1em;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 40px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    transition: 0.4s ease;
}

.main-btn:hover {
    background-color: rgb(230, 230, 230);
    transform: scale(1.1);
}

.social a {
    font-size: 1.7em;
    padding-right: 60px;
    color: #fff;
}

.social a:hover {
    color: rgb(230, 230, 230);
}

.title {
    color: black;
    text-align: center;
    font-size: 2.2em;
    margin-bottom: 30px;
}

.content {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.card {
    background: #fff;
    width: 21.25em;
    margin: 15px;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
    transition: 0.4s ease;
}

.card:hover {
    transform: scale(1.1);
}

.icon {
    color: black;
    text-align: center;
    font-size: 8em;
}

.info {
    text-align: center;
}

.info h3 {
    color: black;
    font-size: 1.2em;
    font-weight: 700;
    margin: 10px;
}

.Projects {
    background-image: radial-gradient(whitesmoke, darkgray);

}

.Projects .content {
    margin-top: 30px;
}

.projCard {
    border: 2px solid white;
    background-color: #fff;
    min-height: 14em;
    width: 23em;
    overflow: hidden;
    border-radius: 10px;
    margin: 20px;
    transition: 0.4s ease;
}

.projCard:hover {
    transform: scale(1.1);
}

.projCard:hover .projVideo {
    opacity: 0.9;
}

.projVideo iframe {
    width: 100%;
    height: 13em;
}

.projinfo {
    padding: 1em;
}

.projectcat {
    font-size: 0.8em;
}

.vidtitle {
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    margin-top: 10px;
    font-weight: 800;
}

.more {
    text-decoration: none;
    color: darkgray;
}

.more:hover {
    color: black;
}

.cards-contact .icon {
    font-size: 4.5em;
}

footer {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: whitesmoke;
}

footer span {
    font-size: 1.2em;
    font-weight: 800;
    color: rgb(0, 195, 255);
    text-transform: uppercase;
}

.footer-social a {
    color: darkgray;
    padding-left: 20px;
}

.footer-social a:hover {
    color: black;
}

.CV {
    text-decoration: none;
    color: black;
    padding-left: 10px;
    transition: 0.4s ease;
}

.CV:hover {
    color: white;
}

@media (max-width:1023px) {
    header {
        padding: 12px 20px;
    }

    .navig a {
        padding-left: 10px;
    }
    
    .title {
        font-size: 1.8em;
    }

    section {
        padding: 80px 40px;
    }

    .content {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width:641px){
    body{
        font-size: 12px;
    }
}

@media (max-width:300px){
    body{
        font-size: 10px;
     
    }
}