
/* Fonts */

@font-face {
    font-family: 'margin-demo';
    src: url('https://static.igem.wiki/teams/5452/fonts/margin/margin-demo.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'dreaming-outloud';
    src: url('https://static.igem.wiki/teams/5452/fonts/dreaming-out-loud/dreaming-out-loud-sans-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'open-sans-regular';
    src: url('https://static.igem.wiki/teams/5452/fonts/open-sans/opensans-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Font Definition */
/* Body */
p {
    font-family:  "open-sans-regular", sans-serif;
    font-size: 20px;
    text-indent: 60px;
    text-justify: auto;
    text-align:justify;
}
li {
    font-family:  'dreaming-outloud', sans-serif;
    font-size: 22px;
}
/* Titles */
h1 {
    font-family: 'dreaming-outloud', sans-serif;
    font-size: 34px;
    text-align: center;
}
h2 {
    font-family: 'dreaming-outloud', sans-serif;
    font-size: 29px;
    text-align: center;
}
h3 {
    font-family: 'dreaming-outloud', sans-serif;
    font-size: 20px;
    text-align: center;
}
h4 {
    font-family: 'dreaming-outloud', sans-serif;
    font-size: 18px;
    text-align: center;
}
h5 {
    font-family: 'dreaming-outloud', sans-serif;
    font-size: 16px;
    text-align: center;
}
sub {
    font-family: 'dreaming-outloud', sans-serif;
    font-size: 19px;
    text-align: center;
}

head{
    max-width: 100%;    
}

header {
    height: 100vh; 
    background-size: contain; 
    background-repeat: no-repeat;
}

body {
    padding-top: 56px; 
    background-color: #fdf6e3;
}
.left-aligned { margin-left: auto; }
.bg-navbar { background-color: #c6ad81; color: white; }
.bg-footer { background-color: #fdf6e3; color: black; }


/* CALLOUT */
.bd-callout { padding:1.25rem; margin-top:1.25rem; margin-bottom:1.25rem; border:1px solid #e9ecef; border-left-width:.25rem; border-radius:.25rem }
.bd-callout h4 { margin-bottom:.25rem }
.bd-callout p:last-child { margin-bottom:0 }
.bd-callout code { border-radius:.25rem }
.bd-callout+.bd-callout { margin-top:-.25rem }
.bd-callout-info { border-left-color:#5bc0de }
.bd-callout-warning { border-left-color:#f0ad4e }
.bd-callout-danger { border-left-color:#d9534f }

/* footer */
footer { 
    box-shadow: 0px 10px 10px #c6ad81 inset; 
    background-image: url(https://static.igem.wiki/teams/5452/icons/imagem-footer.png);
    background-size: contain; 
    background-repeat: no-repeat;
}
footer a { color: black; font-weight: bold; text-decoration: none; }
footer a:hover { color: black; text-decoration: underline; }

/* navbar dropdown */
@media (min-width: 979px) {
    li.dropdown:hover > ul.dropdown-menu {
        display: block;
    }
  }

a.nav-link:hover {
    color: #59b326 !important;
}

a.nav-link {
    color: white !important;
}

li.dropdown > ul.dropdown-menu {
    background-color: #c6ad81;
}

/* Header Images Alignment*/

.header-image {
    width: 10%;
    height: auto;
    background-size: cover; /* Cover the entire header area */
    background-position: center; /* Center the image */
    display: block;
    align-items: flex-start; /* Align the menu at the top */
}

/* Home thingy */
.side {
    height: 1920px;
    width: 1080px;

    display: grid;
    place-items: center; 

    overflow: hidden;
    position: absolute;
}
.side .fancy {
    font-family: "margin-demo", sans-serif;
    font-size: 60px;
    line-height: 0.8em;
}
.side .fancy2 {
    font-family: "dreaming-outloud", sans-serif;
    font-size: 40px;
    line-height: 0.8em;
}
.side .title {
    color: white;
    font-family: "open-sans-regular";
    font-size: 30px;
    margin: 0px 15vw;
    width: 70vw;
}
#left-side{
    background-image: url(https://static.igem.wiki/teams/5452/home/test/home-cover-test-left.png);
    z-index: 2;
}
#right-side {
    background-image: url(https://static.igem.wiki/teams/5452/home/test/home-cover-test-right.png);
    width: 100% 
}
#left-side .title {
    color: black;                                                                                         
}
#left-side .fancy {
    color: black;
}
#left-side .fancy2 {
    color: black;
}
#right-side .title {
    color: white;
}
#right-side .fancy {
    color: white;
}
#right-side .fancy2 {
    color: white;
}

/* Side Menu */
.sidenavbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cta-button {
    background-color: #b3ff00;
    color: rgb(181, 0, 0);
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
}

.mail_icon {
    width: 60px; /* Largura do círculo */
    height: 60px; /* Altura do círculo */
    border-radius: 50%; /* Faz com que fique redondo */
    background-color: #f2b707; /* Cor de fundo */
    background-image: url(https://static.igem.wiki/teams/5452/icons/envelope-fill.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.instagram_icon {
    width: 60px; /* Largura do círculo */
    height: 60px; /* Altura do círculo */
    border-radius: 50%; /* Faz com que fique redondo */
    background-color: #f2b707; /* Cor de fundo */
    background-image: url(https://static.igem.wiki/teams/5452/icons/instagram.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.linkedin_icon {
    width: 60px; /* Largura do círculo */
    height: 60px; /* Altura do círculo */
    border-radius: 50%; /* Faz com que fique redondo */
    background-color: #f2b707; /* Cor de fundo */
    background-image: url(https://static.igem.wiki/teams/5452/icons/linkedin.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.cbdynamics {
    font-size: 8em;
    font-family: 'margin-demo';
    color: #59b362;
}

.team_usp_brasil {
    font-size: 2em;
    font-family: 'dreaming-outloud';
    color: #59b362;
}

.footer_icon {
    width: 13vw;
}

.nav_icon {
    width: 8vw;
}

.ol_club {
    padding: 0;
    display: flex;
    flex-direction: column; /* Stack list items vertically */
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
  }

.team-card {
    background-color: transparent;
    width: 20vw;
    height: 50vh;
    border: 1px solid #f6f3ea;
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

/* Do an horizontal team when you move the mouse over the team box container */
.team-card:hover .team-card-inner {
    transform: rotateY(180deg);
}

/* Position the front and back side */
.team-card-front, .team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden; /* Safari */
    backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.team-card-front {
    background-color: transparent;
}

/* Style the back side */
.team-card-back {
    transform: rotateY(180deg);
}

/* Ensure images are responsive and fit within the card */
.team-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}