@font-face {
    src: url(../../../fonts/Montserrat/Montserrat-VariableFont_wght.ttf);
    font-family: Montserrat;
  }

* {
margin: 0px;
padding: 0px;
box-sizing: border-box;
}


/*---   ANIMATION   ---*/
@keyframes fadeIn {
    0% {
      opacity: 0;
    }
  
    100% {
      opacity: 1;
    }
}


html,
body {
  animation-duration: 0.8s;
  transition-timing-function: ease-in;
  animation-fill-mode: both;
  animation-name: fadeIn;
}

#main-div {
  height: 100vh;
  display: flex;
  justify-content: center;
}

h2 {
    width: 100%;
    font-family: 'Montserrat', sans-serif ;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.5px;
    padding-bottom: 40px;
}

h3 {
    font-family: 'Montserrat', sans-serif ;
    font-size: 22px;
    font-weight: 200;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

p {
    font-family: 'Montserrat', sans-serif ;
    font-size: 16px;
    font-weight: 200;
    letter-spacing: 0.2px;
    padding-top: 10px;
}

a {
    color: #000000;
    text-decoration: none;
}


/*---   left column   ---*/

#left-column {
  width: 5%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0px;
}

    .fas {
        font-size: 26px;
        font-weight: light;
    }

    .fas:hover {
        font-size: 32px;
        transition-duration: 0.4s;
    }

    .fas:not(:hover) {
        transition-duration: 0.3s;
    }



/*---   right column   ---*/

#right-column {
    width: 95%;
    padding: 2% 0% 0% 2%;
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    align-items: center;
    overflow: auto;
}

.one-stack {
    width: 100%;
    margin-top: 20px;
}

.one-website {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 40px;
}

        .preview-website {
            height: 100%;
            width: 20%;
            display: flex;
            justify-content: center;
            align-items: center;
            background-size: cover;
        }

            .preview-website:hover {
                transition-duration: 0.4s;
                border-color: #f8f8f8;
                height: 100%;
                width: 23%;
            }


            .preview-website:not(:hover) {
                transition-duration: 0.4s;
            }

            img {
                width: 100%;
                height: 100%;
                object-fit: contain;
            }

.website-summary {
    width: 100%;
    height: 100%;
    padding-left: 100px;
    gap: 100px;
}



/* ======================= */
/***  MEDIA QUERIES ***/

@media screen and (max-width: 786px){

    #main-div {
        width: 100%;
        flex-direction: column;
    }

    h2 {
        width: 100%;
        font-family: 'Montserrat', sans-serif ;
        font-size: 28px;
        font-weight: 400;
        padding: 10%;
        letter-spacing: 0.5px;
        text-align: center;
    }
    
    h3 {
        font-family: 'Montserrat', sans-serif ;
        font-size: 26px;
        font-weight: 300;
        padding-bottom: 8px;
        letter-spacing: 0.5px;
    }
    
    #left-column {
        width: 100%;
        padding: 20px 30px;
        align-items: flex-start;
        justify-content: center;
    }  

    #right-column {
        width: 100%;
        padding-left: 0%;
    }
    
    .one-stack {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
        .one-website {
            height: 100%;
            padding: 10px;
            flex-direction: column-reverse;
        }
    
        .preview-website {
            width: 100%;
        }
    
            .preview-website:hover {
                height: fit-content;
                width: fit-content;
                background-color: #000000;
            }
    
    .website-summary {
        width: 100%;
        padding: 20px;
    }

        p {
            font-size: 22px;
            font-weight: 200;
            letter-spacing: 0.2px;
            padding-top: 10px;
        }
}