/* ITWP1050 O0851 2025WI Dashon Spate Homework 3: 1984 by George Orwell */
/*Adding web font */
@font-face {
    font-family: 'BungieTint';
    src: url(Fonts/BungeeTint-Regular.ttf) format('truetype');
}
/* setting preferred color of text */
*{
    color: #8B0000
}
/* making the text on the page more uniform along with adding a bit of design to the background*/
 body{
    margin: 25px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    text-align: center;
    line-height: 2rem;
    background-image: radial-gradient(
        circle at top left,
        black 10%,
        white
    );;

}
/* Styling the H1 element */
h1{
    font-family:  BungieTint, Arial, Helvetica, sans-serif;
    text-shadow: 2px 4px 0px black;
    letter-spacing: 3px;
    font-variant:small-caps;
    white-space: nowrap;
}
/* placing the footer in the right place */
footer{
    margin-top: 50px;
    margin-bottom: 50px; 
}
/* Adding a border to the image */
.border{
    border: 1px solid black;
    border-radius: 10px;
    max-width: 100%;
    height: auto; 
}
/* styling the link to the external source */
.external::after{
    content: ' (external)';
    color:crimson;
}
/* Creating background for the second image */
#winston{
    background-image: url('biggestbrother.jpg');
    background-repeat: no-repeat;
    background-size: 2000px;
    
}

/* Rotating the h1 */
#rotate {
    transform: perspective(150px) rotateY(30deg);
}

/* skewing the external links for an italicized effect*/
.skew{
    transform: skew(20deg);
}

/* shorthand transform, angling the cover to look cooler*/
#s-transform{
    position: relative;
    margin-bottom: 100px;
    transform: perspective(200px) scalez(1) rotatex(4deg);
}

/* making the footer links cooler transitions and scaling*/
.transition{
    display: inline-block;
    transition-property: color;
    transition-duration: 500ms;
    transition-delay: 0ms;
    transition: transform 1s;
}

.transition:hover{
    color: darkgoldenrod;
    transform: scale(1.2);
}

/* responsive section */

@media screen and (max-width: 800px)  {
    h1, body{
        font-size: 1.5em;
    }
}

@media(max-width: 600px) {
    body, #winston{
        background: none;
        background-color: black; 
    }
}

