/* ========================= */
/*         GENERAL           */
/* ========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:Arial, Helvetica, sans-serif;

    background:url("fond.png") no-repeat center center fixed;

    background-size:cover;

    color:white;

}


/* ========================= */
/*        NAVIGATION         */
/* ========================= */

header{

    position:fixed;

    top:0;

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 80px;

    background:rgba(0,0,0,.55);

    backdrop-filter:blur(5px);

    z-index:999;

}


.logo a{

    color:white;

    font-size:32px;

    text-decoration:none;

    font-weight:bold;

}


nav ul{

    display:flex;

    list-style:none;

}


nav ul li{

    margin-left:35px;

}


nav ul li a{

    color:white;

    text-decoration:none;

    font-size:20px;

    transition:.3s;

}


nav ul li a:hover{

    color:#00BFFF;

}


/* ========================= */
/*          HERO             */
/* ========================= */

.hero{

    height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

}


.overlay{

    background:rgba(0,0,0,.45);

    padding:40px;

    border-radius:15px;

}


/* ========================= */
/*         PHOTO             */
/* ========================= */

.photo{

    width:220px;

    height:220px;

    border-radius:50%;

    border:6px solid white;

    object-fit:cover;

    box-shadow:0 0 35px #00BFFF;

}


/* ========================= */
/*          TEXT             */
/* ========================= */

h1{

    margin-top:25px;

    font-size:55px;

}


h3{

    margin-top:15px;

    color:#00BFFF;

    font-size:28px;

}


p{

    width:70%;

    margin:30px auto;

    font-size:22px;

    line-height:35px;

}


/* ========================= */
/*        BUTTONS            */
/* ========================= */

.buttons{

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;

}


.btn{

    display:inline-block;

    text-decoration:none;

    color:white;

    background:#007BFF;

    padding:12px 20px;

    margin:5px;

    border-radius:8px;

    font-size:18px;
    white-space: nowrap;

    transition:.4s;

}


.btn:hover{

    background:#0056b3;

    transform:scale(1.08);

}


/* ========================= */
/*         FOOTER            */
/* ========================= */

footer{

    position:absolute;

    bottom:20px;

    width:100%;

    text-align:center;

    font-size:18px;

}


/* ========================= */
/*      RESPONSIVE           */
/* ========================= */

@media(max-width:900px){

header{

    flex-direction:column;

}

nav ul{

    margin-top:20px;

}

nav ul li{

    margin:0 10px;

}

.photo{

    width:170px;

    height:170px;

}

h1{

    font-size:38px;

}

h3{

    font-size:22px;

}

p{

    width:90%;

    font-size:18px;

}

.btn{

    display:block;

    width:250px;

    margin:15px auto;

}
}
/*========================*/
/*      PAGE PROJETS      */
/*========================*/

.projects{

padding-top:130px;

text-align:center;

}

.project-container{

display:flex;

justify-content:center;

flex-wrap:wrap;

gap:40px;

padding:40px;

}

.project-card{

background:white;

color:black;

width:330px;

border-radius:15px;

overflow:hidden;

box-shadow:0 0 20px rgba(0,0,0,.4);

transition:.4s;

}

.project-card:hover{

transform:translateY(-10px);

}

.project-card img{

width:100%;

height:220px;

object-fit:cover;

}

.project-card h2{

margin:20px;

color:#007BFF;

}

.project-card p{

width:90%;

margin:auto;

color:#444;

font-size:18px;

line-height:28px;

padding-bottom:20px;

}

.project-card .btn{

margin-bottom:25px;

display:inline-block;

}

/*========================*/
/*       PAGE VIDEOS      */
/*========================*/

.videos{

    padding-top:130px;

    text-align:center;

}

.video-container{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:40px;

    padding:40px;

}

.video-card{

    width:420px;

    background:white;

    color:black;

    border-radius:15px;

    overflow:hidden;

    box-shadow:0 0 20px rgba(0,0,0,.4);

    padding:20px;

    transition:.3s;

}

.video-card:hover{

    transform:translateY(-8px);

}

.video-card video{

    width:100%;

    border-radius:10px;

    margin:15px 0;

}

.video-card h2{

    color:#007BFF;

}

.video-card p{

    width:100%;

    color:#444;

    font-size:17px;

    line-height:28px;

}