@import "~bootstrap";

@font-face {
    src: url("font/Androgyne_TB.otf");
    font-family: Androgyne;
}

@font-face {
    src: url("font/ArchitectsDaughter.ttf");
    font-family: ArchitectDaughter;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Androgyne;
}

h2 {
    font-size: 50px !important;
}

.padding_encre {
    padding-top: 25px;
}

header .collapse {
    transition: transform 0.5s;
}
html {
    scroll-behavior: smooth;
}

.fixed-top {
    background-color: black;
}

/*About*/

a.btn-theme {
    background-color: #00a9e3;
    border-radius: 15px;
    padding: 10px 20px 10px 20px;
    color: white;
    text-decoration: none;
    margin-top: 10px;
}

a.btn-theme:hover {
    background-color: white;
    color: #00a9e3;
    text-decoration: none;
    transition: all 1s ease-out;
}

#about {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url('images/bg_homepage.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#about h1 {
    font-size: 2.5em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

#about p {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    font-size: 1.2em;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/*Compétences*/

#competence {
    padding: 20px;
}

#competence h1 {
    text-align: center;
    margin-bottom: 50px;
}

#competence .skill-card {
    padding: 2%;
    margin-bottom: 20px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    transition: transform 0.3s ease-in-out;
}

#competence .skill-card:hover {
    transform: translateY(-5px);
}

#competence .skill-card p {
    font-size: 25px;
}

#competence .skill-card img {
    width: 50%;
    margin-bottom: 2%;
}

/*Projects*/

#projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
}

#projects h1{
    margin-bottom: 50px;
}

.card {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    width: 100%;
    margin-bottom: 20px;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.card-text {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.btn {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.btn:hover {
    background-color: #0056b3;
}

/*Contact*/

#contact form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#contact form input{
    width: 50%;
}

#contact h1 {
    font-size: 2.5em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

#contact .submit-btn {
    background-color: #00a9e3;
    border-radius: 15px;
    padding: 10px 20px 10px 20px;
    color: white;
    text-decoration: none;
    margin-top: 10px;
    border: none;
}

#contact .submit-btn:hover {
    background-color: white;
    color: #00a9e3;
    text-decoration: none;
    transition: all 1s ease-out;
}

#veille-techno span {
    font-size: 30px;
    font-weight: bold;
}

.back_div {
    background-color: black;
    padding-bottom: 2px;
    padding-top: 2px;
}

.footer {
    color: white;
    margin-left: 18%;
    margin-top: 2%;
}

.by {
    color: white;
    margin-top: 2%;
    text-align: center;
}

.galerie-image {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.galerie-image img {
    width: 30%;
}