@import url('https://fonts.googleapis.com/css2?family=Allison&family=Bungee&family=Cinzel:wght@400..900&family=Comfortaa:wght@300..700&family=Exo:ital,wght@0,100..900;1,100..900&family=Flamenco:wght@300;400&family=Fredericka+the+Great&family=Italiana&family=Jacques+Francois&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Kaushan+Script&family=Libre+Baskerville:ital,wght@0,400..700;1,400..700&family=Literata:ital,opsz,wght@0,7..72,200..900;1,7..72,200..900&family=Lobster&family=Monoton&family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Orbitron:wght@400..900&family=Pacifico&family=Press+Start+2P&family=Protest+Revolution&family=Quicksand:wght@300..700&family=Redressed&family=Righteous&family=Risque&family=Rubik+Distressed&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Special+Elite&family=Spectral:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&family=Splash&family=Trade+Winds&family=Yellowtail&display=swap');
@import url("https://use.typekit.net/rtm7aiu.css");
@view-transition {
    navigation: none;
}
::view-transition-old(root){
    animation: 1.25s/*.4s*/ ease-in both googie-out;
}
::view-transition-new(root){
    animation: 1.25s/*.5s*/ ease-out both googie-in;
}
@keyframes googie-out{
    to { opacity: 0; transform: scale(.9) rotate(-3deg); }
}
@keyframes googie-in{
    from { opacity: 0; transform: scale(1.1) rotate(3deg); }
}/* this is to help me with the transition on the pages for googie, obviously i had help with claude becasue i had no idea
i used View Transition API to create a custom, animated transition between web pages*/
 
  

/* this is a Pseudo-Class and is a variable syntax */
:root{
    --base-padding: 1em; /* this assigns a value of 1em*/
    --overlay: rgba(82, 56, 27, .6);

}
*, *::before, *::after{
    box-sizing: border-box;   /* padding and borders stay inside an element's width this is to stop padding from adding extra width so the nave bar streches accross mobile screens,help from Claude. */
}

body{ /* when adding new fonts to site delete old "@import" link and replace with new one with all fonts */
    
    /*color:var(--royaleblue); css rule with variable*/
   /* background-color: var(--royalblue);*/
    display: flex;
   margin: 0;
    flex-direction: column;
   background-image: 
    linear-gradient(var(--overlay), var(--overlay)),
    url('images/mtpv2-wallpaper2.1.png');
    font-family: "Montserrat Alternates";
    background-repeat: no-repeat;
     background-position: center;
     background-size: cover;
     background-attachment: fixed;
    font-size: clamp(16px, 2vw, 24px);/*clamp allows to set a minimum, relative, and maximum size as a single value (this is very useful when setting font-size).  */
    position: relative;   /* the wrapper now measures from the body, not the screen */
    min-height: 100vh;
    text-shadow: .125em .125em .3em rgb(0,0,0); 
    z-index: 0;
    
}

    .flex-object{
        width: 25vw;
        height: 10vw;
     }

/*.header found that centering my header and henlped me center my hero image*/
   
   
    /* max-width: 100%;
    width: 95%;
    height: 4.5em; /* i can adjust the height as needed */
   /* background-color: rgb(211, 165, 51) ;
    background-size: cover; /* this will alaow me to stretche and scale my header image to fill area */
   /* background-position: center; /* this will allow me to center my header image */
   /* display: flex;
    justify-content: center;
    align-items: center;
  */


#bottom-row { /*nive used rows a bunch and it helps me modify an entire row of elements*/
    margin-top: auto;
    padding: 1em;
    display: flex;
    pointer-events: none;
    justify-content: space-between;
    align-items: flex-end; 
   
}
#bottom-row a{
    pointer-events: auto;
}
#bottom-row img{
    filter: drop-shadow(.125em .3em .3em rgba(0, 0, 0, .5));
    transition: .3s;
}
#bottom-row img:hover{
    transform: scale(1.15);
}
#macdesigns {
    width: 8%; /* can resize logo by changing em value*/
    height: auto; /* keeps the logo proprtioned*/
}
#macdesigns2 {
    width: 20em; /* can resize logo by changing em value*/
    height: auto; /* keeps the logo proprtioned*/
    max-height: 90%;
    margin: 2em auto;
}
#socials {
    
        display: flex;
        flex-direction: column;   /* helps me stacks the socials  icons */
        align-items: center;      /* centers the icons on each other */
        gap: 1em;                 /* space between the icons */
    
} 

#fb, #ig {
    display: block;
  /*  position: bottom;*/
    width: 1em;                   /* same size for both icons  */
    height: auto;
   /* pointer-events: auto;*/
}

.flex-links {
      display: flex;
    }
 /*.hero-container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    overflow: hidden;
 }  */ 
/*#ab-button{
    width: 60%;
    padding: 1em;
    position: absolute;
    left: calc((100% - (60% + 2em)) / 2);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    color: white;
}*/

.am:hover{

    text-decoration: underline dotted;
    color: aqua;
    transform: scale(1.05);


}
.am{
    display: inline-block;/*creates a hybrid element that sits next to other content on the same line, but can make custom*/
    color: #ffd700;
    background-color: rgb(11, 11, 216);
    padding: 0.75em;
    padding-left: 1.25em;
    padding-right: 1.25em;
    border-radius: 1.5em;
    border: .25em solid rgb(155, 6, 6);
    font-family: hansson-stencil-mn;
    font-size: .5em;
    text-decoration: none;
    transition: transform .3s, color .3s;;

  
}
#button-box{
    width: 60%;
    height: 20%;
    align-items: center;
    padding: 1.5em 2.5em 0;
    text-align: center ; 
    object-position: center;
    margin: 0 auto;
}
a {
    color:#ffd700;

    text-shadow: .125em .125em .3em  rgb(0, 0, 0 );
    
   
}
a:hover{/* the hover effect helps point out links or anytging else you want to hoghlight*/
    color: tomato;
    text-decoration: double;
   
}

#personal{
    text-align: center;
    font-size: .80em;
}
p {
    font-family: space mono;
    text-wrap:stable ;
    color:rgb(255, 255, 255);
    text-shadow: .125em .125em .3em rgb(0, 0, 0);
  }
  
.skills{
    display:flex;
    flex-direction:column ;
    margin-left: 0em; /*this moves the skills container left*/
    margin-right: auto;
    width: auto;
}
#interests {
   /* background-color: #b4a336;*/
    display: flex;
    font-family: hansson-stencil-mn;
    color: rgb(225, 7, 7);
    justify-content: center;
    font-size: 2.32em;
    /*width: 26.5vw;
    height: auto;*/
    margin: .5em;
    
  
}
#interestslist {
    display: block;
    color: rgb(155, 6, 6);
    background-color: rgba(58, 58, 82, .75);
    background-blend-mode: overlay;
    opacity: 0.95; /* Optional: Softens the entire element */
    padding: 0.5em;
    padding-left: 1.25em;
    padding-right: 1.25em;
    margin: 0;
    width: 30vw;
    height: auto;
    font-family: Special Elite;
    font-size: 1em;
    text-decoration: none;
    
}
.list{
    
    color: white;
    font-family: Space Mono;
}
#intro {
    /* background-color: #b4a336;*/
     display: flex;
     font-family: hansson-stencil-mn;
     color: rgb(225, 7, 7);
     justify-content: center;
     font-size: 2.5em;
    /*width: 17vw;
     height: auto;*/
     margin: 0 auto;
    
 }
 #intro-row{
    display:flex;
    align-items: center;
    justify-content: center;
    gap: 3em;
    margin: 1em 2em;
 }
 #image-group{
    display: grid;
    grid-template-columns: auto auto; /* this gives me teo side by side colums.i had help from claude*/
    column-gap: 5vw; /* give me a big enough space inbetween top two images,had help from claude*/
    row-gap: 4em; /*gives me some space between photos, had help from claude*/
    justify-content: center;
   /* box-shadow: .125em .3em .75em rgba(0, 0, 0, 0.25);*/
    align-items: center;
    margin: 1em;
    transform: translateX(3em);
}
.xmas-display{
    grid-column: 1 / 3; /* streches across both of the columnsand under ther other two images, had help from claude*/
    justify-self: center; /* keeps my xmas img centered under the gap, had some help from claude*/
    margin: 0;
  
}
.personal-image,
.mike-ant{
    margin: 0;

}
.wrapper-am{
    width: 30vw;
    margin: 0;
    padding: 2em .5em .5em;
}
#me {
    
    display:flex;
    color: rgb(155, 6, 6);
    background-color: rgba(58, 58, 82, .5);
    padding: 0.5em;
    padding-left: 1.25em;/* these set the space inside the element on the left and right sides*/
    padding-right: 1.25em;
    background-blend-mode: overlay;
    opacity: 0.95; /* Optional: Softens the entire element */
    margin: 1.5em;
    width: auto;
    height: auto;
    font-family: Special Elite;
    font-size: 1em;
    text-decoration: none;
    text-align: left;
    text-align-last: left;
    

}
 
  .content {
    flex: 1;                           /* fills all the space below the heading */

}
#portfolio-site{
    color:rgb(225, 7, 7);
    width: 90%;
    
    height: auto; /* i can adjust the height as needed */
    padding: 1em 1em 0;
    text-align: center ; 
    object-position: center;
    font-family:"hansson-stencil-mn";
    font-size: 3.5em;
    margin: 0 auto;


}
  #design-site{
    color:rgb(225, 7, 7);
    width: 90%;
    
    height: auto; /* i can adjust the height as needed */
    padding: 1em 1em 0;
    text-align: center ; 
    object-position: center;
    font-family:"hansson-stencil-mn";
    font-size: 3.5em;
    margin: 0 auto;
}
#mike{
    color: aqua;
    height: auto;
    width:auto;

    margin: 0 ;
    text-align: center;
    font-family: Kaushan Script;
    font-size: 3.5em; 

}
.wrapper-am .name-wrap{
    max-width: 100%;      /* let the name use the full column width */
}
.wrapper-am #mike{
    font-size: 2.5em;     /* smaller so it fits in the 30vw column */
    white-space: nowrap;  /* keeps "Mike Corvese" on one line */
}
.wrapper-am #im{
    font-size: 1.5em;     /* scales the "I'm" down to match */
}
#im{
    color: aqua;
    height: auto;
    width: fit-content;
    transform: translate(-.6em, -.25em) rotate(-15deg);/* the tilt — negative tilts up to the left found this on line*/
    transform-origin: left bottom;
    margin:  0 auto -.3em 0; 
    text-align: left;
    font-family: "Kaushan Script", cursive;
    font-size: 2em; 
}
.name-wrap{
    width: fit-content;
    max-width: 75%;
    margin: 0 auto;

}
section{
    height: 100vh;
    scroll-margin-top: 2em;
    padding: var(--base-padding)
}
#drop-down{
    /*width: 110vw;*/
    position:absolute;
    left: 0;
    right:0;
    padding: 1vw;
    background-color: rgba(11, 11, 216, .85);
    color:rgb(225, 7, 7);
    display: none;
    justify-content: space-evenly;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}
#dButton{
    font-family: hansson-stencil-mn;   /* buttons don't inherit fonts, so set it */
    font-size: 1em;                  /* bigger text = bigger button */
    padding: .5em 1.5em;               /* space inside: top/bottom, left/right */
    color: #ffd700;
    background-color: rgb(11, 11, 216);
    border: .15em solid #ffd700;
    border-radius: 1em;
    cursor: pointer;                   /* hand cursor on hover */
}
#dButton:hover{
    color: aqua;
    border-color: aqua;
}
/*nav{
    display: flex;
    flex-direction: column;
    height:  0px;
    overflow: hidden;
    transition-duration: 1s;
    /*background-color: rgb(211, 165, 51);
    text-shadow: 2vw 2vw 5vw, rgb(255, 255, 255);
    padding: 1vw;* /
}*/
.nav-link{
    color: #ffd700;
    text-decoration: none;
    font-family:"hansson-stencil-mn";
    font-size: 2em;
    flex-grow: 0;
}
.nav-link:hover{
    text-decoration: underline dotted;
    color: aqua;
}
#fullNav .nav-link{
    white-space: nowrap; /*had some help from claude*/
}

#fullNav{
        
        width: auto;
        height: auto;
        position: relative;
        
        z-index: 10;
        padding: 1em;
        overflow: visible;/* this tells the browser not to clip content when it exceds the container*/
        background-color: rgb(11, 11, 216);
        border-radius: 2em;
        text-shadow: .125em .125em .3em rgb(255, 255, 255, .25); /* this add shaddow effects to the text and block elements to help create depth*/
        box-shadow: .125em .3em .75em  rgba(250, 250, 250, 0.25);
        display: flex;
        justify-content:space-evenly;
        flex-direction:row;
        gap: 1em;/*got from claude*/
        flex-wrap: wrap;/*got from claude*/
    }
#dNav{
    display: flex;
    flex-direction: column;
    height:  0px;
    overflow: hidden;
    transition-duration: 1s; /* this adds animation to my nav*/
}

.bump{
     margin: 2.5vw;
     color:white;
}


/* when stylizing a class need to add"." infront of it*/ /* when commenting in "css" use open tag "/*" and closing tag "* /" */

 



  .site-footer {
    display:grid;
    grid-template-columns: 1fr auto 1fr; /* this allows me to centerthe contactme iside the footer evenly. had help from claude.*/
    background-color: #b4a336;
    color: #00004d;
    align-items: center;        /* text-alignused to centerthe text */
    padding: .25em 1em;          /* Padding for top and bottom */
    font-family:Special elite;
    border-radius: 1.5em;
    border: .25em solid rgb(11, 11, 216);
    letter-spacing:.1em;
    margin: 2em;

}
.site-footer a{
    color: #00004d;
    text-shadow: .05em .05em .1em rgba(255, 255, 255, .4);
}
.site-footer a:hover{
    color: #6b0000;
}
.site-footer p{
    line-height:1;
    font-size: .875em;
}
#photo-row{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;

    gap:1em;
    margin-bottom: .5em;
    

}
.mailto {
    justify-self: center;
}
#photo-row img{
    display: block;
    width: 2em;
    height: auto;
   
}
#photo-row a{ 
    display: block;
    line-height: 0;
    text-decoration: none;
}
#photo-row2{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap:1em;
    margin-bottom: .5em;
    
    

}
#photo-row2 a{ 
    display: block;
    line-height: 0;
    text-decoration: none;
}
#photo-row2 img{
    display: block;
    width: 2em;
    height: auto;
   
}

#photo-row img,
#photo-row2 img{
    filter: drop-shadow(.125em .3em .3em rgba(0, 0, 0, 0.5));
    transition: transform .3s;
}

#photo-row img:hover,
#photo-row2 img:hover{
    transform: scale(1.15);
}


.personal-image img{
    width: 26vw; /* ican adjust size of images here*/
    height: auto;
}
.mike-ant img{
    width: 26vw; /* ican adjust size of images here*/
    height: auto;
}

.xmas-display img {
    width: 52vw; /* ican adjust size of images here*/
    height: auto;
   
}
#custom-work{

    /*display: flex;
    flex-direction: row;
    align-items: center;
    gap:.25em;*/
    display: grid;
    grid-template-columns: 13vw 13vw 28vw; /* this gives me teo side by side colums.it creates three columns with some overlap. adds up to 54vw same as the column width so it will work on mobile.i had help from claude */
    /* column-gap: 3vw; give me a big enough space inbetween top two images,had help from claude*/
    /* row-gap: 1em; gives me some space between photos, had help from claude*/
    justify-content: center;
   /* box-shadow: .125em .3em .75em rgba(0, 0, 0, 0.25);*/
    align-items: start;
    margin: 3em;

}
/* #eagles{
    grid-column: 1 / 3; / * streches across both of the columnsand under ther other two images, had help from claude* /
    justify-self: center; / * keeps my xmas img centered under the gap, had some help from claude* /
    margin: 0;

} */
#custom-work img {
    width: 28vw;
    height:auto;
   /* padding-left: .4em;
    padding-right: .5em; */
    margin-top: 0;
    box-shadow: .125em .3em .75em rgba(0, 0, 0, 0.5);
    transition: transform .3s;
    /*  justify-content: left;*/

    
}

/* the diagonal: each image goes in its own column and steps down, i had help from claude. */
#custom-work > :nth-child(1){
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    margin-top: -8em;/* this helps start the images above the image box*/
}   
#custom-work > :nth-child(2){
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    margin-top: 3em;
}
#custom-work > :nth-child(3){
    grid-column: 3;
    grid-row: 1;
    justify-self: start;
    margin-top: 14em;
}

/* hovering an image brings it to the front */
#custom-work > :hover{
    z-index: 2;
}
#custom-work img:hover{
    transform: scale(1.05);
}
#skills-row{
    display: flex;
    flex-direction: row;
    align-items: center;
   /* box-shadow: .125em .3em .75em rgba(0, 0, 0, 0.25);*/
    gap: 2em;
    margin: 10em 2em 1em;
}   
@media screen and (max-width: 480px){
    /* stops anything from making the page wider than the phone */
    html, body{
        overflow-x: hidden;
    }
    img{
        max-width: 100%;
    }

    /* stack the rows on phones so nothing pokes past the screen */
    #intro-row,
    #skills-row{
    flex-direction: column;
    margin: 1em;
    gap: 1em;
    }
    #intro-row{
    margin-top: 4em;         /* room for the Menu bar */
    }
    .wrapper-am,
    #interestslist{
    width: auto;             /* fill the screen instead of 30vw */
    }
    .wrapper-am{
        order: -1;               /* name + intro above the photos (phones only) */
        padding: 1em .5em .5em;
    }

    /* name */
    .wrapper-am .name-wrap{
        margin: 0 auto .5em;
    }
    .wrapper-am #mike{
        font-size: 2em;
        white-space: normal;
    }
    .wrapper-am #im{
        font-size: 1.25em;
        margin-bottom: 0;
        transform: translate(-.2em, -.2em) rotate(-15deg);
    }

    /* headings smaller so they fit */
    #intro{
    font-size: 1.75em;
    margin: .25em auto .5em;
    }
    #interests{
    font-size: 1.6em;
    margin: .5em 0;
    }

    /* text box below the heading, not under it */
    #me{
    margin: .75em 0 0;
    }

    .skills{
        margin-left: 0;
        margin-right: 0;
    }

    /* photos */
    #image-group{
    transform: none;         /* stop sliding off the right edge */
    column-gap: 1em;
    margin: 1em 0;
    }
    .personal-image img,
    .mike-ant img{
        width: 40vw;
        margin-top: 0;
    }
    .xmas-display img{
        width: 80vw;
    }

    /* custom work stacks in one column */
    #custom-work{
    grid-template-columns: 1fr;
    margin: 1em 0;
    }
    #custom-work > *{
    grid-column: 1 !important;
    grid-row: auto !important;
    justify-self: center !important;
    margin-top: 1em !important;
    }
    #custom-work img{
    width: 80vw;
    }

    /* nav */
    #fullNav{
    display: none;
    }
    #drop-down{
    display: flex;
    left: 0;
    }

    /* logo + footer */
    #macdesigns{
    width: 12em;
    }
    #macdesigns2{
    width: 12em;
    margin: 2em auto;
    }
    .site-footer{
        margin: 1em;
    }

    .am{
        font-size: 1.5em;
        padding: 0.5em 1em;
    }
    #button-box{
    width: auto;
    }
}

