@font-face {
    font-family: "CustomFont";
    src: url("../fonts/Bookmania\ W02\ Smbd.ttf");
    } 

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

body {
    font-family: "CustomFont"; 
    background-color: white;
    color: black;
} 

h1 {
    color: black;
    font-family: CustomFont, Arial, Helvetica, sans-serif;
    letter-spacing: 2rem;
    text-transform: uppercase;
    background-color: #fff;
    list-style-type: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}


.navbar {
    height: 30px;
    margin-bottom: 30px;
    background-color: white;
}

ul {
    list-style-type: none;
}

.navbar a {
    color: black;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    font-family: CustomFont, Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

.navbar a:hover {
    color: rgb(195, 58, 50);
}

.navbar .container {
    display: flex;
    justify-content: right;
    height: 100%;
    align-items: center;
}

.navbar ul {
    display: flex;  
}

.navbar ul li {
    margin-left: 20px;

}

img {
    max-width: 100%;
    height: auto;
}

p {    
    letter-spacing: .6rem;
    font-family: CustomFont, Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    color: rgb(195, 58, 50);
    font-size: x-large;

}

.logo {
    box-sizing: border-box;
    padding: 20px; 
    display: block;
    width:100%;
    top: 0;
    left: 10px;
    list-style-type: none;
}
.logo a {
    color: black;
    text-decoration: none;
    font-size: 7vh;
}

.logo a:hover {
    color: rgb(195, 58, 50);

}


.header {
    background-color: white;
    min-height: 400px;
}

.header h1 {
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    padding-top: 30px;
}

.header p {
    text-align: center;
    margin: 30px;
}

.header a {
    display: flex;
    justify-content: center;
    align-items: center;

}
.header img {
    max-width: 100%;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 100px;
}

.header .container .links {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    text-align: center;
}

.links a {
    text-decoration: none;
    color: black;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    font-family: CustomFont, Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    margin: 10px;
}
.links a:hover {
    color: rgb(195, 58, 50);
}


.vid {
    display: flex;
    align-items: center;
}

.vid .container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vid h1 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
    padding-top: 30px;
}

.vid p {
    text-align: center;
    margin: 20px;
    text-decoration: none;
}

.vid a {
    text-decoration: none;
}

.vid p:hover {
    color: rgb(239, 80, 36);
}

.videos .container {
    padding-top: 100px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.footer {
    height: 100px;
    margin-bottom: 30px;
    background-color: white;
}

.social { 
    display: flex;
    margin-top: 100px;
    height: 60px;
    margin-bottom: 10px;
    justify-content: center;
    align-items: center;
}

.social a {
    text-decoration: none;
    color: black;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    font-family: CustomFont, Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    margin: 10px;
}
.social a:hover {
    color: rgb(195, 58, 50);
}

.entangled {
    display: flex;
    margin-top: 100px;
    text-align: center;
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
        padding-bottom: 20px;
        justify-content: center;
        align-content: center;
        margin-left: auto;
        margin-right: auto;
        width: 80%;
    }
    .logo a {
        font-size: 6vh;
    }
    .container .video_scale iframe {
        width: 300px;
        height: auto;
    }

    .videos .container{ 

        flex-direction: column;
        text-align: center;
        padding-bottom: 20px;

    }
    .vid {
        flex-direction: column;
        text-align: center;
        justify-content: centre;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width:500px) {
    .header .container {
        flex-direction: column;
        width: 80%;
        text-align: center;
        justify-content: center;
        align-content: center;
        margin-left: auto;
        margin-right: auto;
    }
    .logo a {
        font-size: 6vh;
    }
    .links .container{
        width: 80%;
        flex-direction: column;
    }
    .vid .container {
        width: 100%;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        align-content: center;
        margin-left: auto;
        margin-right: auto;  
    }
    .vid {
        flex-direction: column;
        text-align: center;
        justify-content: centre;
        margin-left: auto;
        margin-right: auto;
    }
}