

*{
    margin: 0;
    padding:0;
    font-family: 'poppins', sans-serif;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    background: #080808;
    color: #fff;
    width: 100%;
    height: 100vh;
    background-image: url(bg/Background.png);
    background-size: cover;
    background-position: center;
}





.container{
    padding: 10px 10%;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}


.logo{
    width: 140px;
    margin-left: 5rem;
    cursor: pointer;
}

nav h1{
    font-family: 'arial', sans-serif;
    font-size: 40px;
    color: white;
    align-items: center;
    letter-spacing: 1px;
    margin-top: 4rem;
}

nav i{
    font-size: 50px;
    margin-right: 5rem;
    cursor: pointer;
    color: #b4d0e5;
    text-shadow: 0 0 15px #080808;
}

nav i:hover{
    color: #1f61a4;
    transform: translateY(-5px);
}






.switch-container {
    display: flex;
    margin-left: 950px;
}

.label {
    font-size: 20px;
    margin: 0 10px;
}


.drive {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
}

.drive img {
    max-width: 200px;
    margin: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.drive img:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}




.vid .videos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
}

.vid .videos video{
    max-width: 200px;
    margin: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.vid .videos video:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.vid .video-popup {
    position: fixed;
    top: 0; left: 0;
    z-index: 100;
    background: rgba(0,0,0,.8);
    width: 100%;
    height: 100%;
    display: none;
}

.vid .video-popup video {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    max-width: 1000px;
    border-radius: 5px;
    border: 5px solid #fff;
    object-fit: cover;
}

.vid .video-popup span {
    position: absolute;
    top: 160px; right: 250px;
    font-size: 50px;
    color: #fff;
    font-weight: bolder;
    z-index: 100;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.vid .video-popup span:hover {
    transform: rotate(90deg);
}


#contentYouTube .videos iframe {
    margin: 10px;
    border: 5px solid #fff;
    
}

.vid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;               /* space between videos */
    justify-content: center;  /* center the row */
}

/* Wrapper for each Instagram video */
.instagram-wrapper {
    width: 328px;           /* fixed width for 3 per row */
    height: 428px;          /* approximate Reels height */
    border: 5px solid #fff;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: inline-block;   /* key fix: allows multiple per row */
    margin-top: 20px;     /* space above each video */
    margin-left: 80px;    /* space in front/left of each video */
}

/* Scale Instagram embed to fit exactly inside wrapper */
.instagram-wrapper blockquote.instagram-media {
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(0.9);       /* adjust until it fits perfectly */
    transform-origin: top left;
    width: 360px !important;      /* default blockquote width */
    height: 500px !important;     /* default blockquote height */
}
