/** IMPORTS CSS */
@import url(https://cdn.jsdelivr.net/npm/@fancyapps/ui@5.0/dist/fancybox/fancybox.css);
@import url(https://cdn.jsdelivr.net/npm/@fancyapps/ui@5.0/dist/panzoom/panzoom.css);
@import url(https://cdn.jsdelivr.net/npm/@fancyapps/ui@5.0/dist/carousel/carousel.css);
@import url(https://cdn.jsdelivr.net/npm/@fancyapps/ui@5.0/dist/carousel/carousel.autoplay.css);

/** RESET CSS */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
 margin: 0;
 padding: 0;
 border: 0;
 outline: 0;
 font-size: 100%;
 vertical-align: baseline;
 background: transparent;
}
body {
 line-height: 1.3;
}
ol, ul {
 list-style: none;
}
blockquote, q {
 quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
 content: ‘’;
 content: none;
}
/**
 * remember to define focus styles!
 */
:focus {
 outline: 0;
}
/**
 * remember to highlight inserts somehow!
 */
ins {
 text-decoration: none;
}
del {
 text-decoration: line-through;
}
/**
 * tables still need ‘cellspacing=”0"’ in the markup
 */
table {
 border-collapse: collapse;
 border-spacing: 0;
}

/** GLOBAL */
*,
*:after,
*:before {
  margin: 0;
  padding: 0;
}
* { outline:none }

html {
    font-family: Arial, sans-serif;
    font-size: small;

    color :DarkBlue;
    letter-spacing: 0.05em;
}

a {
    color: currentColor;
}

body {
    background-color: #f8f8f6;
}

h1 {
    font-size: small;
    line-height: 20px;
    text-transform: uppercase;
    font-weight: bold;
}

h2 {
    font-size: small;
    line-height: 50px;
}
h3 {
    font-size: small;
    line-height: 50px;
    font-style: italic;
    
}

strong {
    font-weight: bold;
}

ul.text {
    display: block;
    list-style-type: square;
}

/* FONT STUFF */

.contact a {
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
}

.logo a{
    font-weight: bold;
    text-decoration: none;
}


/** MAIN LAYOUT GRID */
.wrapper {
    display: flex;
    flex-direction: column;
    #background-color: lightslategrey;    
    min-height: 100vh;

}

.top {
    display: flex;
    flex-direction: column;

    #background-color: lightgrey;
    margin-top: 2rem;
}

.header {
    display: flex;
    margin: 2rem;


    text-align: right;
    justify-content: right;

    #background-color: lightpink; 
}

.blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;

    margin-bottom: 2rem;
    margin-left: 2rem;
    margin-right: 2rem;
    margin-top: 0rem;

    #background-color: lightcoral;
}

.item {
    display: flex;
    flex-direction: column;
    width: 100%;
    
    #background-color: lightcyan;
}

.footer{
    display: flex;
    flex-direction: row-reverse;
    margin-top: auto;
    margin-bottom: 2rem;
    margin-left: 2rem;
    margin-right: 2rem;
    gap: 2rem;
    justify-content: right;
    text-align: right;
    padding-top: 2rem;
    
    #background-color: lightseagreen;
}

/** SUB-COMPONENTS OF MAIN LAYOUT */
.logo {
    font-weight: bold;
    text-decoration: none;
}

/* PORTFOLIO */
.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
    gap:2rem;
    line-height: 0;
}
.projects img {
    width: 100%;
}

/* VIDEO */
.videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 0;
    height: 0;
}
.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    allow: autoplay;
    allow:fullscreen;
}

/* SLIDESHOW - STILL REEL */
.f-carousel__slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.f-carousel__slide img {
  aspect-ratio: 16 / 9;  
  width: 100%;

  object-fit: cover;
}

.f-carousel__nav {
    display: none;
}

.f-progress {
    display: none;
}

.f-carousel__dots {
    display: none;
}

/* COLLAPSABLE MENU STYLING */
.collapsible {
  background-color: #f8f8f6;
  color: darkblue;
  font-weight: bold;
  cursor: pointer;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 2rem;
  padding-right: 2rem;
  width: 100%;
  #border: 0px;
  text-align: left;
  outline: none;
  #font-size: 15px;
  text-transform: uppercase ;
  margin-bottom: 0rem;
  text-align: right;
  border-top-style: dotted;
  border-bottom-style: none;
  border-left-style: none;
  border-right-style: none;
  border-width: 2px;
  border-color: darkblue;
}

.collapsible_just_dots {
  background-color: #f8f8f6;
  width: 100%;
  outline: none;
  border-top-style: dotted;
  border-width: 2px;
  border-color: darkblue;

}


.content {
  display: none;
  overflow: hidden;
}

/** MEDIA QUERIES
*/
@media (max-width: 800px) {
    .footer {
        flex-direction: column-reverse;    
    }